Hi, this is my first approach to LXC and I followed this beginners how-to:
https://linuxcontainers.org/lxc/getting-started/
My system:
Code:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
I stuck in the guide where I try execute following command (my understanding is that it will give me a choice of container and it will create it):
Code:
$ lxc-create -t download -n -l DEBUG -o /tmp/lxc-create -n u1
I redirected BUG tracing to /tmp/lxc-create and here is the output:
Code:
$ tail -100f /tmp/lxc-create
lxc-create 20161007090257.627 INFO lxc_confile - confile.c:config_idmap:1500 - read uid map: type u nsid 0 hostid 100000 range 65536
lxc-create 20161007090257.627 INFO lxc_confile - confile.c:config_idmap:1500 - read uid map: type g nsid 0 hostid 100000 range 65536
lxc-create 20161007090257.726 INFO lxc_confile - confile.c:config_idmap:1500 - read uid map: type u nsid 0 hostid 100000 range 65536
lxc-create 20161007090257.726 INFO lxc_confile - confile.c:config_idmap:1500 - read uid map: type g nsid 0 hostid 100000 range 65536
lxc-create 20161007090857.770 ERROR lxc_container - lxccontainer.c:create_run_template:1290 - container creation template for u1 failed
lxc-create 20161007090857.774 INFO lxc_container - lxccontainer.c:container_destroy:2387 - Destroyed rootfs for u1
lxc-create 20161007090857.778 INFO lxc_container - lxccontainer.c:container_destroy:2403 - Destroyed directory for u1
lxc-create 20161007090857.778 ERROR lxc_create_ui - tools/lxc_create.c:main:318 - Error creating container u1
Im not sure what these ERRORs mean. Could be I should create some rootpoint/dir/file system for my new container but dont know where. Anyway it would be described in this how-to.
Does anyone have a clue whats wrong here?