Created
April 27, 2019 07:52
-
-
Save skynet86/2097e4d35f9e7a8f8ffd04d1e1706dc8 to your computer and use it in GitHub Desktop.
Run second docker
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
# Get image pull from docker hub | |
$ docker pull nginx:alpine | |
# Run our second docker - docker2 | |
docker container run -d -p 81:80 --name docker2 nginx:alpine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment