Copy a file from host into LXD container

To copy file from host machine to LXD container run

Example

lxc file copy

To copy a file from the host machine to an lxd container, run

copy file to lxd container

To copy a file from LXD container to the local machine, run

If you need to copy a folder and files inside, you can use option –recursive

See LXD

Leave a Reply

Your email address will not be published. Required fields are marked *