Created
April 15, 2020 18:09
-
-
Save bibarsov/65d81deb0d41e00f62a0d36171cbaa93 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Create | |
docker volume create vol | |
# Run via volume | |
docker run ... --mount source=vol,destination=/usr/share/nginx/html ... | |
# cd into volume folder (osX) | |
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty | |
[Enter] | |
cd /var/lib/docker/volumes/vol | |
# Kill screen window | |
Ctrl-a k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment