Skip to content

Instantly share code, notes, and snippets.

@zzuhan
Last active June 11, 2020 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zzuhan/78ba0d231f3969fe3310da5fd3cd6dd3 to your computer and use it in GitHub Desktop.
Save zzuhan/78ba0d231f3969fe3310da5fd3cd6dd3 to your computer and use it in GitHub Desktop.
[docker常见问题] #docker
apt-get 安装vim失败 https://unix.stackexchange.com/questions/336392/e-unable-to-locate-package-vim-on-debian-jessie-simplified-docker-container
复制文件
docker cp /home/(name)/(folder_name)/(file_name) (container_id):/(to_the_place_you_want_the_file_to_be)
https://stackoverflow.com/questions/22907231/copying-files-from-host-to-docker-container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment