how to push image to docker repository code example Example: push image to docker hub $ docker push <hub-user>/<repo-name>:<tag>