Here you can find a helpful guide to start pushing your docker
images to your private or public registry.
# First save the new image by finding the container ID
docker ps
# Then commit it to a new image name
docker commit <container-id> <new-image-name>
# Now login to the docker registry
docker login <hub.docker.com>
# Tag an image
docker tag <imageid> hub.docker.com/<namespace>/<imagename>:<version>
# Push the image
docker push hub.docker.com/<namespace>/<imagename>:<version>
with ❤️ - Oscar