Skip to content

Instantly share code, notes, and snippets.

@awatson1978
Last active January 12, 2021 02:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awatson1978/da65dc886819455dddb086b197dbd3d9 to your computer and use it in GitHub Desktop.
Save awatson1978/da65dc886819455dddb086b197dbd3d9 to your computer and use it in GitHub Desktop.
Docker Tutorial
# docker tutorial
$ docker run --name repo alpine/git clone https://github.com/docker/getting-started.git
$ docker cp repo:/git/getting-started/ .
$ cd getting-started
$ docker build -t docker101tutorial .
$ docker run -d -p 80:80 --name docker-tutorial docker101tutorial
$ docker tag docker101tutorial awatson1978/docker101tutorial
$ docker push awatson1978/docker101tutorial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment