[Lxc-users] lxc-instance fail
Stéphane Graber
stgraber at ubuntu.com
Fri Oct 4 14:29:08 UTC 2013
On Fri, Oct 04, 2013 at 04:11:58PM +0200, Tamas Papp wrote:
> hi,
>
> Starting a container from cli by lxc-start works fine, lxc-info shows the right state.
>
> Using upstart:
>
> start lxc-instance NAME=archiva-test CONFIG=/tank/lxc/archiva-test/config
>
> # lxc-info -n archiva-test
> state: STOPPED
>
> Though the container gets started.
>
> As a result I cannot use lxc-stop, lxc-ls or any other tool.
> But, stop lxc-instance... works fine.
>
>
> I was able to reproduce this issue on various machines with the latest daily build.
>
>
> Am I alone with this issue?
>
>
> 10x
> tamas
Try: lxc-info -n archiva-test -P /tank/lxc
LXC can't guess for you where you've put your containers, so it'll look
for /var/lib/lxc by default, if they're somewhere else, you need to use
-P or set the path in /etc/lxc/lxc.conf (lxcpath = /tank/lxc)
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20131004/8fb67adf/attachment.pgp>
More information about the lxc-users
mailing list