[lxc-users] Creating Fedora and Ubuntu containers from inside a container fails (LXC 1.0)
Kevin Wilson
wkevils at gmail.com
Sun Mar 16 16:53:50 UTC 2014
Hi,
I am trying to create a container from inside a container and it
fails. I have LXC 1.0 on Fedora 20 (x86_64).
When I try:
lxc-create -n fedoraInContainer -t fedora
I get:
....
tzdata.noarch 0:2014a-1.fc20 ustr.x86_64
0:1.0.4-15.fc20
util-linux.x86_64 0:2.24.1-1.fc20 xz-libs.x86_64
0:5.1.2-6alpha.fc20
yum-metadata-parser.x86_64 0:1.1.4-9.fc20 zlib.x86_64
0:1.2.8-3.fc20
Updated:
fedora-release.noarch 0:20-3
Failed:
initscripts.x86_64 0:9.51-1.fc20 iputils.x86_64
0:20121221-4.fc20
systemd.x86_64 0:208-15.fc20
Complete!
Failed to download the rootfs, aborting.
Failed to download 'fedora base'
failed to install fedora
lxc_container: container creation template for fedoraInContainer failed
lxc_container: Error creating container fedoraInContainer
...
and nothing under /var/lib/lxc
and when I try:
lxc-create -n ubuntuInContainer -t ubuntu
I get:
Checking cache download in /usr/var/cache/lxc/precise/rootfs-amd64 ...
Installing packages in template: ssh,vim,language-pack-en
Downloading ubuntu precise minimal ...
which: no qemu-debootstrap in
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/sbin:/usr/bin:/sbin:/bin)
I: Keyring file not available at
/usr/share/keyrings/ubuntu-archive-keyring.gpg; switching to https
mirror https://mirrors.kernel.org/debian
I: Retrieving Release
E: Failed getting release file
https://mirrors.kernel.org/debian/dists/precise/Release
lxc_container: container creation template for ubuntuInContainer failed
lxc_container: Error creating container ubuntuInContainer
and nothing again under /var/lib/lxc.
Any ideas ?
Regards,
Kevin Wilson
More information about the lxc-users
mailing list