docker run an image and push to docker hub code example Example: push image to docker hub $ docker push <hub-user>/<repo-name>:<tag>