[lxc-users] [LXD] lxc file push/pull
Mark Constable
markc at renta.net
Wed Mar 18 07:06:38 UTC 2015
https://linuxcontainers.org/lxd/getting-started-cli/ says...
To pull a file from the container, use:
lxc file pull /etc/hosts .
To push one, use:
lxc file push hosts /tmp
but how can "lxc file push|pull" know what container to operate on?
This does not seem to clarify the issue...
~ lxc help file
Manage files on a container.
lxc file push [--uid=UID] [--gid=GID] [--mode=MODE] <source> [<source>...] <target>
lxc file pull <source> [<source>...] <target>
I would kind of expect an explicit 4th <container> argument.
More information about the lxc-users
mailing list