Last active
September 19, 2017 12:44
-
-
Save shau-lok/aff011d1ea685773a615174e8258a787 to your computer and use it in GitHub Desktop.
docker nginx
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
# pull image from docker hub | |
docker pull nginx | |
# run image | |
docker run --name local-nginx -p 8080:80 -itd nginx:latest | |
# enter image | |
docker exec -it local-nginx bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment