Created
April 27, 2019 07:53
-
-
Save skynet86/62717bf35cf1f733323eb02ee5175e6c to your computer and use it in GitHub Desktop.
Get docker image for docker2
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
# Pull image from docker hub | |
$ docker pull nginx:alpine | |
# Run container from image - 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