[lxc-users] Create Container

Tycho Andersen tycho.andersen at canonical.com
Wed Dec 10 16:56:24 UTC 2014


On Wed, Dec 10, 2014 at 05:35:29PM +0100, Thouraya TH wrote:
> Hello,
> 
> Please, i try to create a container but i have these error messages:
> 
> root at sol-46:~# *sudo lxc-create -t ubuntu -n u1 *
> /usr/bin/lxc-create: line 263: type: /usr/share/lxc/templates/lxc-ubuntu:
> not found
> unknown template 'ubuntu'
> aborted
> root at sol-46:~# *sudo lxc-create -t debian -n u1 *
> Note: Usually the template option is called with a configuration
> file option too, mostly to configure the network.
> For more information look at lxc.conf (5)
> 
> debootstrap is /usr/sbin/debootstrap
> 
> 
> Have you an idea please ?

Try,

sudo lxc-create -t download -n ubuntu -- -d ubuntu -r trusty -a amd64

Tycho

> root at sol-46:~# uname -m
> x86_64
> 
> Debian 3.2.54-2 x86_64 GNU/Linux
> 
> Thanks a lot.
> Best regads.
> Thouraya.

> _______________________________________________
> 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