镜像管理
一、搜索镜像的两种方式 1.1网页搜索 https://hub.docker.com/search?q=&type=image 1.2 命令搜索 二、使用国内源加速 由于国外源下载慢,使用国内源加速。 curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://04be47cf.m.daocloud.io 其余方式参考: https://www.cnblogs.com/happy4java/p/11206839.html 三、镜像管理命令 3.1 获取镜像 1.不指定TAG标签默认选择latest标签就会下载最新镜像,镜像内容会随着最新版本变更而变化,生产环境中需要指定标签。 返回顶部 收缩 [root@localhost ~]# docker pull ubuntu:18.04 18.04: Pulling from library/ubuntu Image docker.io/library/ubuntu:18.04 uses outdated schema1 manifest format. Please upgrade to a schema2 image for better future compatibility. More information at https://docs