[lxc-users] Use rootfs images to avoid lxc-create

Robin Monjo robin.monjo at applidget.com
Fri Feb 14 10:58:36 UTC 2014


Yes it worked !

Thank you !

On 12 Feb 2014, at 18:44, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:

> Quoting Robin Monjo (robin.monjo at applidget.com):
>> Hello,
>> 
>> Thank you for the answers. My problem is when I untar my rootfs. Got lots of errors such as:
>> 
>> tar: ./rootfs/dev/mixer: Cannot mknod: Operation not permitted
>> tar: ./rootfs/dev/ram5: Cannot mknod: Operation not permitted
>> tar: ./rootfs/dev/midi01: Cannot mknod: Operation not permitted
>> tar: ./rootfs/dev/mixer3: Cannot mknod: Operation not permitted
>> tar: ./rootfs/dev/midi00: Cannot mknod: Operation not permitted
>> 
>> 
>> I “tared" my file with tar cpjf and untar it with tar xf
>> 
>> Any idea what’s going wrong ?
> 
> Look at the ubuntu-cloud and download templates.  You need to
> exclude /dev, then as lxc to bind-mount the devices in at
> startup.
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list