Simple record:
1. Pull original image
docker pull regsitry
docker pull centos
2 Launch the registry repository
docker run -t -i -d -p 5000:5000 -v /root/my_registry:/tmp/registry registry [you know]
3. Tag
docker tag 9dbcac75201e docker10.sklinux.com:5000/centos:7 [tag for warehouse address + port + name + version]
4. Push mirror to private repository
docker push docker10.sklinux.com:5000/centos:7[you know]
root@docker10:~/my_registry# docker tag 9dbcac75201e docker10.sklinux.com: 5000 /centos: 7root @ docker10: ~ /my_registry # docker imagesREPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZEcentos 7 9dbcac75201e 3 days ago 215.6 MBcentos centos7 9dbcac75201e 3 days ago 215.6 MBcentos latest 9dbcac75201e 3 days ago 215.6 MBdocker10.sklinux.com centos7 9dbcac75201e 3 days ago 215.6 MBdocker10.sklinux.com:5000/centos 7 9dbcac75201e 3 days ago 215.6 MBcentos 7.1.1503 b58de3b24eb7 9 days ago 212.1 MBcentos centos7.1.1503 b58de3b24eb7 9 days ago 212.1 MBregistry latest 59b1f7d49dc8 9 days ago 413.6 MBcentos 5.11 2e4a66ce2189 5 weeks ago 284.2 MBcentos centos5.11 2e4a66ce2189 5 weeks ago 284.2 MBcentos 6.6 0bc55ae673f7 5 weeks ago 202.6 MBcentos centos6.6 0bc55ae673f7 5 weeks ago 202.6 MBcentos 7.0. 1406 99d42dc65aa6 5 weeks ago 210.2 MBcentos centos7.0.1406 99d42dc65aa6 5 weeks ago 210.2 MBcentos 5 861c710fef70 5 weeks ago 284.1 MBcentos centos5 861c710fef70 5 weeks ago 284.1 MBcentos 6 f6808a3e4d9e 5 weeks ago 202.6 MBcentos centos6 f6808a3e4d9e 5 weeks ago 202.6 MBroot @ docker10: ~ /my_registry # docker push docker10.sklinux.com:5000/centos:7The push refers to a repository [docker10.sklinux.com:5000/centos] (len: 1)Sending image listPushing repository docker10.sklinux.com:5000/centos (1 Tags)511136ea3c5a: Image successfully pushedb6718650e87e: Image successfully pushed493bab5fff45: Image successfully pushed9dbcac75201e: Image successfully pushedPushing tag for rev [9dbcac75201e] on {http://Docker10.sklinux.com:5000/v1/repositories/centos/tags/7}root@docker10:~/my_registry# docker imagesREPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZEcentos 7 9dbcac75201e 3 days ago 215.6 MBcentos centos7 9dbcac75201e 3 days ago 215.6 MBcentos latest 9dbcac75201e 3 days ago 215.6 MBdocker10.sklinux.com centos7 9dbcac75201e 3 days ago 215.6 MBdocker10.sklinux.com:5000/centos 7 9dbcac75201e 3 days ago 215.6 MBcentos 7.1.1503 b58de3b24eb7 9 days ago 212.1 MBcentos centos7.1.1503 b58de3b24eb7 9 days ago 212.1 MBregistry latest 59b1f7d49dc8 9 days ago 413.6 MBcentos 5.11 2e4a66ce2189 5 weeks ago 284.2 MBcentos centos5.11 2e4a66ce2189 5 weeks ago 284.2 MBcentos 6.6 0bc55ae673f7 5 weeks ago 202.6 MBcentos centos6.6 0bc55ae673f7 5 weeks ago 202.6 MBcentos 7.0.1406 99d42dc65aa6 5 weeks ago 210.2 MBcentos centos7.0.1406 99d42dc65aa6 5 weeks ago 210.2 MBcentos 5 861c710fef70 5 weeks ago 284.1 MBcentos centos5 861c710fef70 5 weeks ago 284.1 MBcentos 6 f6808a3e4d9e 5 weeks ago 202.6 MBcentos centos6 f6808 A3e4d9e 5 weeks ago 202.6 MB
busybox is a Linux command box that integrates many of the tools and commands that compress Linux.
In RHEL/CentOS, it is very convenient to use the setup configuration tool to configure many key conf
In daily work or experiment, we often need to clone or migrate the virtual machine. After the migra
self-entertainment, I decided to start a Linux server, then execute the ld & ldquo;rm –rf /&rd
Linux limits the number of connections to a single IP port.
Tips for flexible use of expect scripts under Linux
Seven highly damaging Linux system commands
Glusterfs cluster distributed file system off the brick processing
Solve the dual system boot option does not show the Linux system problem
Linux shell script preparation tutorial
P2v migration linux server under xenserver
Quickly view the installation time of win8.1 system
Win10 IE browser to add a website to the compatibility mode list step
Microsoft: Win10 virtual desktop option features detailed
Computer boot numlock, the keyboard light is not bright solution
Vista System Frequently Asked Questions (1)
Win10 method to adjust mouse sensitivity