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

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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