August 2018
Intermediate to advanced
372 pages
9h 29m
English
In order to publish a Docker image in Docker Hub, you will need to create an account and then log into Docker Hub using the terminal with the docker login command. After entering your credentials, you should see an output similar to the following code in the terminal:
$ docker login Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.Username: enriquezrenePassword:Login Succeeded
Now that you're logged in, you can push the image into the registry using the docker push command, as shown in the following code:
$ docker push <docker-hub-username/docker-image:tag-version>
When the tag version is not specified, the latest value is ...
Read now
Unlock full access