mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Copy a Linux host file to a file directory in docker-osc #458
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chuiqin on GitHub (Jan 14, 2023).
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!
@Dems1984 commented on GitHub (Jan 16, 2023):
docker cp /path/to/items/from/Linux xxxxxxx)containerID:/path/to/place/in/container
@sickcodes commented on GitHub (Jan 23, 2023):
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