Skip to content

Instantly share code, notes, and snippets.

@tetsuyainfra
Created January 5, 2017 09:49
Show Gist options
  • Save tetsuyainfra/11283a86ef08adee0dbb1981beea7cc6 to your computer and use it in GitHub Desktop.
Save tetsuyainfra/11283a86ef08adee0dbb1981beea7cc6 to your computer and use it in GitHub Desktop.
docker コンテナからファイルをコピーしてくるコマンドサンプル
docker run --rm -u $(id -u):$(id -g) -v $(pwd):/srv --entrypoint /bin/cp svendowideit/samba -r /usr/share/doc/samba/examples/LDAP /srv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment