[lxc-users] lxc file "only allowed for containers that are currently running"?

Tomasz Chmielewski mangoo at wpkg.org
Mon Jan 25 16:42:12 UTC 2016


According to fine manual[1], lxc file "is only allowed for containers 
that are currently running".

I've tried doing both push and pull operations on a container in STOPPED 
state, and it worked, i.e.:

lxc file pull stopped-container/etc/services .
lxc file push services stopped-container/etc/services


So either documentation is outdated, and lxc push/pull is allowed for 
containers in any state (or at least RUNNING and STOPPED) or the 
functionality will be removed.
Which one is true? Being able to push/pull the files is quite 
convenient.


I'm using:

lxd-client 0.27-0ubuntu2~ubuntu14.04.1~ppa1 amd64


[1] 
https://github.com/lxc/lxd/blob/master/specs/command-line-user-experience.md#file



Tomasz Chmielewski
http://wpkg.org/


More information about the lxc-users mailing list