Skip to content

Instantly share code, notes, and snippets.

@miladhub
Last active August 7, 2020 13:49
Show Gist options
  • Save miladhub/bad735066db70f3af4dc3df2c98270fc to your computer and use it in GitHub Desktop.
Save miladhub/bad735066db70f3af4dc3df2c98270fc to your computer and use it in GitHub Desktop.
Docker volume
docker run -dit --name foo -e FOO=$(pwd)/foo.txt -v $(pwd)/foo.txt:/tmp/foo.txt httpd:2.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment