Skip to content

Instantly share code, notes, and snippets.

@skynet86
Created April 27, 2019 07:53
Show Gist options
  • Save skynet86/62717bf35cf1f733323eb02ee5175e6c to your computer and use it in GitHub Desktop.
Save skynet86/62717bf35cf1f733323eb02ee5175e6c to your computer and use it in GitHub Desktop.
Get docker image for docker2
# 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