Is there a way to copy file directly from one container to another?

As the title states. Is there a way to copy file directly from one container to another without having to ‘pull’ a file to the host computer then ‘push’ it to the destination containers.

It would save some time.

W.

You could use lxc file mount to mount both instances locally and then copy between the two mount points. This will still download and upload, but will save having to invoke multiple commands per file.

2 Likes

Thanks. I’ll look into it.

W.