[lxc-users] Cannot create container using ubuntu template with 1.0.0.alpha1 (Ubuntu 13.04)

Serge Hallyn serge.hallyn at ubuntu.com
Sat Mar 29 15:19:32 UTC 2014


Quoting Santhosh Kokala (Santhosh.Kokala at riverbed.com):
> Hi,
> I am unable to create a Ubuntu container using lxc 1.0.0.apha1 version on Ubuntu 13.04 raring. Is there anything obvious that I am missing here
> 
> root at ubuntu:~# lxc-ls --fancy
> NAME  STATE  IPV4  IPV6  AUTOSTART
> ----------------------------------
> 
> root at ubuntu:~# lxc-version
> lxc version: 1.0.0.alpha1
> 
> root at ubuntu:~# lxc-create -t ubuntu -n u_1
> getopt: unrecognized option '--rootfs=/usr/lib/x86_64-linux-gnu/lxc'
> lxc-create: container creation template for u_1 failed
> 
> lxc-create: Error creating container u_1
> root at ubuntu:~#
> 
> Thanks,
> Santhosh
> 
> 
> Installed lxc 1.0.0.aplha1 on Ubuntu 13.04 using the following command
> 
> root at ubuntu:~# apt-get install -y liblxc0/raring-backports python3-lxc/raring-backports lxc/raring-backports

Could be just because you didn't install lxc-templates/raring-backports?

I'd recommend getting off of raring as it's EOL.


More information about the lxc-users mailing list