#LearnInstallMySQL

  • Docker镜像分享
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Apple@DESKTOP-V8IAR5D MINGW64 ~
$ docker save -o a.tar qingyu111/docker101tutorial

Apple@DESKTOP-V8IAR5D MINGW64 ~
$ docker stop 9e137a347a3f
9e137a347a3f

Apple@DESKTOP-V8IAR5D MINGW64 ~
$ docker rmi qingyu111/docker101tutorial
Error response from daemon: conflict: unable to remove repository reference "qingyu111/docker101tutorial" (must force) - container 9e137a347a3f is using its referenced image 9318f962962d

Apple@DESKTOP-V8IAR5D MINGW64 ~
$ docker load -i a.tar
Loaded image: qingyu111/docker101tutorial:latest

Apple@DESKTOP-V8IAR5D MINGW64 ~
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
qingyu111/docker101tutorial latest 9318f962962d 28 hours ago 27.2MB
mysql 8.0 4f1413420360 2 days ago 545MB