[lxc-users] Lxc containers on a Raspberry Pi 2

Ranjib Dey dey.ranjib at gmail.com
Fri Apr 8 20:29:47 UTC 2016


oops, vivid is end of life (15.04), try wily (15.10), also if its failing,
share the log file (-l debug -o out)
`lxc-create -n foo -t download -- -a armhf -d ubuntu -r wily`

if you are not familiar with lxc tools, use this:
https://linuxcontainers.org/lxc/getting-started/


On Fri, Apr 8, 2016 at 1:23 PM, Muneeb Ahmad <muneeb.gandapur at gmail.com>
wrote:

> After running that command:
>
>
> Setting up the GPG keyring
>
> Downloading the image index
>
> ERROR: Couldn't find a matching image.
>
> lxc-create: lxccontainer.c: create_run_template: 1290 container creation
> template for foo failed
>
> lxc-create: lxc_create.c: main: 316 Error creating container foo
>
> On Sat, Apr 9, 2016 at 1:11 AM, Ranjib Dey <dey.ranjib at gmail.com> wrote:
>
>> I have not ran LXD yet.
>> Can you run `lxc-create -n foo -t download -- -a armhf -d ubuntu -r
>> vivid` and check if that works?
>> regards
>> ranjib
>>
>> On Fri, Apr 8, 2016 at 1:06 PM, Muneeb Ahmad <muneeb.gandapur at gmail.com>
>> wrote:
>>
>>> Thank you for a quick response.
>>> LXD and LXC versions I'm using are 2.0.0.rc9.
>>> I tried running a container on it but it fails with an error;
>>>
>>> error: Error calling 'lxd forkstart test /var/lib/lxd/containers
>>> /var/log/lxd/test/lxc.conf': err='exit status 1'
>>>
>>> Try `lxc info --show-log test` for more info
>>>
>>>
>>> Any ideas what am I doing wrong?
>>>
>>>
>>>
>>>
>>>
>>> On Sat, Apr 9, 2016 at 12:43 AM, Ranjib Dey <dey.ranjib at gmail.com>
>>> wrote:
>>>
>>>> Yes, it works. i run lxc on a raspberry pi cluster (running ubuntu
>>>> 15.10) , via nomad (scheduler) and chef (configuration management system),
>>>> Let us know if you are looking for anyspecific help,
>>>> regards
>>>> ranjib
>>>>
>>>> On Fri, Apr 8, 2016 at 12:26 PM, Muneeb Ahmad <
>>>> muneeb.gandapur at gmail.com> wrote:
>>>>
>>>>> hello guys,
>>>>>
>>>>> I'm running Ubuntu Mate 15.10 on a Raspberry Pi 2. I was wondering if
>>>>> I can run LXC containers in it? Does this flavor support lxc?
>>>>> If not, is there a work around to run lxc or can you guys suggest any
>>>>> other ubuntu flavor that supports lxc?
>>>>>
>>>>> Regards
>>>>>
>>>>> _______________________________________________
>>>>> lxc-users mailing list
>>>>> lxc-users at lists.linuxcontainers.org
>>>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> lxc-users mailing list
>>>> lxc-users at lists.linuxcontainers.org
>>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> lxc-users mailing list
>>> lxc-users at lists.linuxcontainers.org
>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>
>>
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160408/a5cdfe01/attachment.html>


More information about the lxc-users mailing list