[lxc-users] lxc-create using offline mode

Ruzsinszky Attila ruzsinszky.attila at gmail.com
Tue Jul 26 11:36:48 UTC 2016


HI,

I found this:
https://lists.linuxcontainers.org/pipermail/lxc-devel/2014-July/009784.html

I followed the description for Ubuntu Xenial amd64.

root at fcubi:~# LANG="C";lxc-create -n lub7 -t ubuntu -- -r xenial -a amd64
Checking cache download in /var/cache/lxc/xenial/rootfs-amd64 ...
Copy /var/cache/lxc/xenial/rootfs-amd64 to /var/lib/lxc/lub7/rootfs ...
Copying rootfs to /var/lib/lxc/lub7/rootfs ...
/usr/share/lxc/templates/lxc-ubuntu: line 95:
/var/lib/lxc/lub7/rootfs/etc/network/interfaces: No such file or directory
lxc-create: lxccontainer.c: create_run_template: 1290 container creation
template for lub7 failed
lxc-create: lxc_create.c: main: 318 Error creating container lub7

lxc-create doesn't work with our auth Squid proxy so I have to download the
rootfs manually.
I can setup a new container by hand (unpacking the rootfs and making a new
config file) but I'd like to use lxc-create. Is that possible in "offline"
mode?

TIA,
Ruzsi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160726/01883e1c/attachment.html>


More information about the lxc-users mailing list