Skip to content

Instantly share code, notes, and snippets.

@ninetails
Created February 28, 2014 19:54
Show Gist options
  • Save ninetails/9278524 to your computer and use it in GitHub Desktop.
Save ninetails/9278524 to your computer and use it in GitHub Desktop.
How to run docker with port forwarding & mounting folder
docker run -d -p 8080:80 -v /home/carlos/workspace:/var/www:ro tagname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment