Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Added


https://hub.docker.com/

Tag:

https://docs.docker.com/engine/reference/commandline/tag/#parent-command

...


root@docker-lab:~# docker images
REPOSITORY                      TAG        IMAGE ID         CREATED SIZE
jlk0013/demo-example     latest     c30178c5239f 4 days ago 1.11MB
busybox                               latest     c30178c5239f 4 days ago 1.11MB


Push ( + login )

https://docs.docker.com/engine/reference/commandline/login/

...

root@docker-lab:~# docker login https://hub.docker.com/r/jlk0013/demo-example/
Username: -u jlk0013
Password:
Login Succeeded

...

https://docs.docker.com/engine/reference/commandline/push/


Pull

root@docker-lab:~# docker push jlk0013/demo-example:v1
The push refers to a repository [docker.io/jlk0013/demo-example]
3a1dff9afffd: Pushed
v1: digest: sha256:be3c11fdba7cfe299214e46edc642e09514dbb9bbefcd0d3836c05a1e0cd0642 size: 527
root@docker-lab:~# 


Image Added