[lxc-users] Create Container

Ashish Bunkar ashish.bunkar at oracle.com
Thu Dec 11 06:47:37 UTC 2014


Also just check if you have the required templates there in the path ?
Here is the path where you can check :/usr/share/lxc/templates , this 
location must have all the templates you are looking for with a prefix 
lxc, eg: lxc-ubuntu...

Thanks & Regards
Ashish Bunkar
Contact No.- +91-7259183696

On 12/10/2014 10:32 PM, Tamas Papp wrote:
>
> On 12/10/2014 05:56 PM, Tycho Andersen wrote:
>> 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
>>
>
> Or install lxc-template package:)
>
>
> t
> _______________________________________________
> 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