docker bulk packaged mirror

Save $ docker (docker Images | grep -v the REPOSITORY | awk ' the BEGIN { the OFS = ":"; the ORS = ""} { Print $ . 1, $ 2}') -o haha.tar mirror packaged into the docker haha.tar then haha.tar store specified machine.

docker load -i haha.tar load the image in the local

docker docker images to view mirror, and then you can pull service specified applications are enabled.

Guess you like

Origin www.cnblogs.com/MUQINGFENG123/p/11527039.html