New to Docker need to setup a repository

New to Docker need to setup a repository

Then use any kind of repository, like Docker Hub, or host your own, like registry.

Running your own registry is surprisingly easy - let’s say you have an image “myimage”

Run a local registry

$ docker run -d -p 5000:5000 --restart always --name registry registry:2

Add your image to your registry

$ docker tag myimage localhost:5000/myimage
$ docker push localhost:5000/myimage

Later, pull your container from your registry

docker pull localhost:5000/myimage

Note that the registry is open to the world, without any auth, if run on a server like that.

Thanks I will try to do that , I have docker desktop install on my computer