Docker-OSX icon indicating copy to clipboard operation
Docker-OSX copied to clipboard

Copy a Linux host file to a file directory in docker-osc

Open chuiqin opened this issue 2 years ago • 2 comments

Thank you for developing such a useful tool. But I still feel confused. How do I copy a Linux host file to a file directory in docker-osc? Secondly, I just want to operate docker-osc through the command line, install R in docker-osc, and copy the result generated by R to the host of Linux. Is this process achievable? Looking forward to your reply! Thanks!

chuiqin avatar Jan 14 '23 12:01 chuiqin

docker cp /path/to/items/from/Linux xxxxxxx)containerID:/path/to/place/in/container

Dems1984 avatar Jan 15 '23 23:01 Dems1984

If you want to move inside mac, setup ssh and use scp. Ad Hoc I just use nginx off the host and download files if I want to

sickcodes avatar Jan 23 '23 18:01 sickcodes