Skip to the content.

Publish image

The following procedure describes how to create a repository on Docker Hub and publish an image.

Create repository on Docker Public Registry

hub.docker.com

List of user repository

Repository details

Repository created

the newly created repository will contain all the version of the application’s image

Create image

Push image to Docker Cloud

Before publishing an image, authentication must be performed with the following command: docker login

Image can then be published to the user repository docker push lucj/message-app

Instantiate the image

The image can then be used form any Docker host (the image is public in this example)