Source Build LXC Ubuntu 16.04
oracle@u1604:~$ sudo lxc-create -t ubuntu -n stlns01 -- -r xenial -a amd64
[sudo] password for oracle:
'debootstrap' command is missing
lxc-create: lxccontainer.c: create_run_template: 1290 container creation template for stlns01 failed
lxc-create: lxc_create.c: main: 318 Error creating container stlns01
oracle@u1604:~$ sudo apt-get install debootstrap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libqt4-designer libqt4-help libqt4-opengl libqt4-scripttools libqt4-svg libqt4-test libqtassistantclient4 libqtwebkit4 linux-image-extra-4.4.0-21-generic linux-image-extra-4.4.0-38-generic
linux-signed-image-4.4.0-38-generic python-attr python-cffi-backend python-crypto python-cryptography python-enum34 python-idna python-ipaddress python-pam python-pyasn1 python-pyasn1-modules
python-serial python-sip python-six python-twisted-bin
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
debootstrap
0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
Need to get 35.7 kB of archives.
After this operation, 256 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 debootstrap all 1.0.78+nmu1ubuntu1.1 [35.7 kB]
Fetched 35.7 kB in 0s (153 kB/s)
Selecting previously unselected package debootstrap.
(Reading database ... 267102 files and directories currently installed.)
Preparing to unpack .../debootstrap_1.0.78+nmu1ubuntu1.1_all.deb ...
Unpacking debootstrap (1.0.78+nmu1ubuntu1.1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up debootstrap (1.0.78+nmu1ubuntu1.1) ...
oracle@u1604:~$