To create a public Docker registry, you can use Docker Hub, which is the default public registry provided by Docker. Hereโs how you can create a public repository on Docker Hub and push images to it:
Sign Up/Login to Docker Hub:
If you donโt already have a Docker Hub account, sign up at Docker Hub.
If you have an account, log in to Docker Hub.
Press enter or click to view image in full size
You can use your Google or GitHub account to authenticate.
Create a Repository:
Once logged in, navigate to your Docker Hub account dashboard.
Select the Create repository button in the top-right corner.
Select your namespace (most likely your username) and enter docker-repo as the repository name.dock
Press enter or click to view image in full size
Set the visibility to Public.
Select the Create button to create the repository.