安装docker
wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum makecache
yum list docker-ce --showduplicates | sort -r
yum -y install docker-ce-20.10.6
vi /etc/docker/daemon.json
{
"registry-mirrors": ["https://wmn3wp4q.mirror.aliyuncs.com"]
}
docker查找镜像
docker search filebeat
导出镜像
![](https://i-blog.csdnimg.cn/blog_migrate/761ef20921643f34eb398e54097d8399.png)
docker save 070a535b6ea6 >filebeat.tar
上传镜像
docker load -i filebeat.tar