Skip to content

Instantly share code, notes, and snippets.

@jwo
Created September 20, 2016 13:26
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 jwo/e30b543d5c9783000f0a8210e1b2fece to your computer and use it in GitHub Desktop.
Save jwo/e30b543d5c9783000f0a8210e1b2fece to your computer and use it in GitHub Desktop.
Steps to publishing a docker image, tagged
  1. Create a project directory
  2. Create a Dockerfile inside
  3. docker build .
  4. Will give you a container id as output, eg: d774c9ed0183
  5. docker tag d774c9ed0183 jwolgamott/tiy-dotnet-runnable:0.4-beta
  6. docker push jwolgamott/tiy-dotnet-runnable:0.4-beta

Then, people will be able to docker run jwolgamott/tiy-dotnet-runnable:0.4-beta

Before #6, docker login

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment