Last active
June 13, 2019 05:45
-
-
Save superchell/99f072be59c06d6bfe421585ed55cdc5 to your computer and use it in GitHub Desktop.
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
## Копирование файлов ## | |
docker cp foo.txt mycontainer:/foo.txt в контейнер | |
docker cp mycontainer:/foo.txt foo.txt из контейнера | |
Множественное копирование | |
docker cp src/. mycontainer:/target | |
docker cp mycontainer:/src/. target | |
## Bash в контейнере ## | |
docker ps находим id контейнера | |
docker exec -it <container_id> /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment