Skip to content

Instantly share code, notes, and snippets.

@gologo13
Last active January 22, 2016 02:00
Show Gist options
  • Save gologo13/32dad691960fac4123be to your computer and use it in GitHub Desktop.
Save gologo13/32dad691960fac4123be to your computer and use it in GitHub Desktop.
Dockerでホストとコンテナ間でのファイルコピー ref: http://qiita.com/gologo13/items/7e4e404af80377b48fd5
# コンテナIDを調べる
$ sudo docker ps
$ sudo docker cp <コンテナID>:/etc/my.cnf my.cnf
$ sudo docker cp my.cnf <コンテナID>:/etc/my.cnf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment