第二十四节 docker镜像的转移

亮子 2024-04-18 12:37:40 14239 0 0 0

1、导出镜像

docker save -o zookeeper.3.7.tar bitnami/zookeeper:3.7
docker save -o kafka-map.tar dushixiang/kafka-map:latest
docker save -o kafka.3.2.0.tar bitnami/kafka:3.2.0
docker save -o nacos.2.0.3.tar nacos/nacos-server:2.0.3
docker save -o rabbitmq.3.8.tar rabbitmq:3.8-rc-management
docker save -o kibana.7.12.1.tar kibana:7.12.1
docker save -o elasticsearch.7.12.1.tar elasticsearch:7.12.1
docker save -o redis.6.0.tar redis:6.0-rc
docker save -o nginx.1.17.8.tar nginx:1.17.8
docker save -o mysql-57.tar centos/mysql-57-centos7:latest
docker save -o fastdfs.tar delron/fastdfs:latest

图片alt

2、导入镜像

docker load < zookeeper.3.7.tar