1、修改镜像名
[root@localhost ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
absolutapps/oracle-12c-ee latest ad9bdfc002e7 3 years ago 6.12GB
[root@localhost ~]# docker tag ad9bdfc002e7 oracle-12c-ee:latest
[root@localhost ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
absolutapps/oracle-12c-ee latest ad9bdfc002e7 3 years ago 6.12GB
oracle-12c-ee latest ad9bdfc002e7 3 years ago 6.12GB
2、保存镜像,便于镜像转移
docker save ad9bdfc002e7 -o /home/docker_oracle-12c-ee.tar
标签:12c,ee,ad9bdfc002e7,镜像文件,oracle,镜像,docker,latest
来源: https://www.cnblogs.com/mingfan/p/12331582.html