Last active
January 12, 2021 02:32
-
-
Save awatson1978/da65dc886819455dddb086b197dbd3d9 to your computer and use it in GitHub Desktop.
Docker Tutorial
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
# 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