Publish your image


1. Get an image

For this guide, you need at least one image on your computer. If you don’t have one, search for the welcome-to-docker image, and select Pull.

2. Sign in to Docker

Select Sign in on the top-right of Docker Desktop to either sign in or create a new account on Docker Hub.

3. Rename your image

Before you can publish your image, you need to rename it so that Docker Hub knows that the image is yours. Run the following command to rename your image. Replace YOUR-USERNAME with your Docker ID.

docker tag docker/catchFile Max/catchFile

4. Push your image to Docker Hub

Go to the Images tab and find your image. In the Actions column, select the Show image actions icon and then select Push to Hub. Go to Docker Hub⁠ and you should see the welcome-to-docker repository.

5. What’s next

View the language-specific guides in the Docker documentation.

NodeJSPythonGo
JavaC#(.NET)Rust