sickcodes/Docker-OSX

Copy files from Host into container User Folder ?

Open

#242 创建于 2021年4月12日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)Shell (2,888 fork)batch import
documentationenhancementhelp wanted

仓库指标

Star
 (52,497 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Hi,

Just wanted to know if possible to mount host files into running docker container, e.g. inside the directory "/Users/$USER/Documents" ?

Of course the the -v volume option is made for that, but when going through docker container content ( docker exec -it docker-osx bash ), I don't seem to find my $USER home folder...

Is there anay Copy/Paste from Host to OSX setting on the Machine (like with virtuqlbox) ?

image

Thanks for feedback...

贡献者指南