Work often need to pull some foreign mirroring, network restrictions and other reasons but the company pulled very slowly, so I used to pull Baidu cloud server mirroring, deriving a download to a local development environment and then import
1. View Mirror id
[root@master_150 ~]# sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
beginor/gitlab-ce latest 5595d4ff803e 8 months ago 1.5GB
2. Select the image you want to package, package execution command
[root@master_150 ~]# sudo docker save -o beginor-gitlab-ce.tar beginor/gitlab-ce
Xxx.tar will generate export files in the current directory, and then download the file to a local
3. introducing the packaged mirror development environment
[root@master_150 ~]# docker load -i beginor-gitlab-ce.tar
c8aa3ff3c3d3: Loading layer
[==================================================>] 117MB/117MB
82718dbf791d: Loading layer [==================================================>] 15.87kB/15.87kB
3a0404adc8bd: Loading layer [==================================================>] 14.85kB/14.85kB
cd7b4cc1c2dd: Loading layer [==================================================>] 5.632kB/5.632kB
bf3d982208f5: Loading layer [==================================================>] 3.072kB/3.072kB
3cb57942e900: Loading layer [==================================================>] 75.85MB/75.85MB
fec139a70fd9: Loading layer [==================================================>] 2.048kB/2.048kB
fcfdc7d11c7b: Loading layer [==================================================>] 2.048kB/2.048kB
634a9b449438: Loading layer [==================================================>] 2.048kB/2.048kB
aa3fb55f308c: Loading layer [==================================================>] 15.87kB/15.87kB
bd9f0bd5757b: Loading layer [==================================================>] 1.375GB/1.375GB
5cef898093ce: Loading layer [==================================================>] 2.473MB/2.473MB
Loaded image: beginor/gitlab-ce:latest