table of contents
other versions
- jessie-backports 1.6.2~dfsg1-1~bpo8+1
- testing 18.09.1+dfsg1-5+b10
- unstable 18.09.1+dfsg1-5+b10
- experimental 18.09.3+dfsg1-1
DOCKER(1) | JUNE 2014 | DOCKER(1) |
NAME¶
docker-push - Push an image or a repository to a registrySYNOPSIS¶
docker push [ --help] NAME[:TAG] | [REGISTRY_HOST[:REGISTRY_PORT]/]NAME[:TAG]DESCRIPTION¶
This command pushes an image or a repository to a registry. If you do not specify a REGISTRY_HOST, the command uses Docker's public registry located at registry-1.docker.io by default.OPTIONS¶
--helpPrint usage statement
EXAMPLES¶
Pushing a new image to a registry¶
First save the new image by finding the container ID (using docker ps) and then committing it to a new image name:# docker commit c16378f943fe rhel-httpd
# docker tag rhel-httpd registry-host:5000/myadmin/rhel-httpd # docker push registry-host:5000/myadmin/rhel-httpd
# docker images
HISTORY¶
April 2014, Originally compiled by William Henry (whenry at redhat dot com) based on docker.com source material and internal work. June 2014, updated by Sven Dowideit ⟨SvenDowideit@home.org.au⟩ April 2015, updated by Mary Anthony for v2 ⟨mary@docker.com⟩Docker User Manuals | Docker Community |