Created
November 27, 2016 20:46
-
-
Save kingpabel/594c7e7f1080adf12891e9d35073bf97 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
//install docker | |
https://docs.docker.com/engine/installation/linux/ubuntulinux/ | |
//install docker compose | |
https://docs.docker.com/compose/install/ | |
//create a docker compose file which name will be "docker-compose.yml" and put below nginx image | |
web: | |
image: nginx:latest | |
ports: | |
- "8080:80" | |
//then run docker-compose up on that directory | |
//then run localhost:8080 and will get nginx index page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment