[lxc-users] Installing lxc 1.0 to a non default location

Kevin Wilson wkevils at gmail.com
Sun Feb 23 20:34:49 UTC 2014


Hello,
I am trying to install lxc-1.0 to /test/var/lib/lxc.
I want that the containers will be created under /test/var/lib/lxc

So:
./configure --with-config-path=/test/var/lib/lxc
make && make install

and indeed
lxc-create -n mybusybox -t busybox
created it under
/test/var/lib/lxc/

However, lxc-ls does not show it (it shows the containers under /var/lib/lxc).
Is there some way with ./configure to set the path that lxc-ls will look
in so that it will be different than /var/lib/lxc?

regards,
Kevin


More information about the lxc-users mailing list