Last active
January 22, 2016 02:00
-
-
Save gologo13/32dad691960fac4123be to your computer and use it in GitHub Desktop.
Dockerでホストとコンテナ間でのファイルコピー ref: http://qiita.com/gologo13/items/7e4e404af80377b48fd5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# コンテナIDを調べる | |
$ sudo docker ps | |
$ sudo docker cp <コンテナID>:/etc/my.cnf my.cnf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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