[lxc-users] I want to copy a file into the container using Python API

Ranjib Dey dey.ranjib at gmail.com
Thu Oct 9 14:23:51 UTC 2014


you can use standard scp or read the content of the file and then attach
against the container, then write the file inside attach,

On Thu, Oct 9, 2014 at 4:50 AM, Noriki Nakamura <bynn_chapu at tencho-lab.net>
wrote:

> Hello.
> I'm making a tool using Python.
>
> I made a tool almost.
> But, I have a point that I understand.
> I want to copy a file in local into the container.
>
> How should I do it.
> Please teach me.
>
> Best Regard,
> Noriki
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20141009/d411b341/attachment.html>


More information about the lxc-users mailing list