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/
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users