当前位置: 首页 > 工具软件 > cello > 使用案例 >

将cello相关镜像保存的本地

金正阳
2023-12-01
docker save -o cello-operator-dashboard.tar hyperledger/cello-operator-dashboard:latest
docker save -o cello-user-dashboard.tar hyperledger/cello-user-dashboard:latest
docker save -o cello-watchdog.tar hyperledger/cello-watchdog:latest
docker save -o cello-watchdog.tar hyperledger/cello-watchdog:x86_64-0.9.0-snapshot-b6a340d
docker save -o cello-ansible-agent.tar hyperledger/cello-ansible-agent:latest
docker save -o cello-ansible-agent.tar hyperledger/cello-ansible-agent:x86_64-0.9.0-snapshot-b6a340d
docker save -o cello-engine.tar hyperledger/cello-engine:x86_64-0.9.0-snapshot-b6a340d
docker save -o cello-engine.tar hyperledger/cello-engine:latest
docker save -o cello-mongo.tar hyperledger/cello-mongo:x86_64-0.9.0-snapshot-b6a340d
docker save -o cello-mongo.tar hyperledger/cello-mongo:latest
docker save -o cello-baseimage.tar hyperledger/cello-baseimage:x86_64-0.9.0-snapshot-b6a340d
docker save -o cello-baseimage.tar hyperledger/cello-baseimage:latest
docker save -o cello-operator-dashboard.tar hyperledger/cello-operator-dashboard:x86_64-v0.9.0
docker save -o cello-baseimage.tar hyperledger/cello-baseimage:x86_64-0.9.0
docker save -o cello-user-dashboard.tar hyperledger/cello-user-dashboard:x86_64-v0.9.0
docker save -o cello-mongo.tar hyperledger/cello-mongo:x86_64-latest
docker save -o rabbitmq.tar rabbitmq:latest
docker save -o busybox.tar busybox:latest


导入镜像

docker load -i cello-operator-dashboard.tar 
docker load -i cello-user-dashboard.tar
docker load -i cello-watchdog.tar 
docker load -i cello-watchdog.tar 
docker load -i cello-ansible-agent.tar 
docker load -i cello-ansible-agent.tar 
docker load -i cello-engine.tar 
docker load -i cello-engine.tar 
docker load -i cello-mongo.tar 
docker load -i cello-mongo.tar 
docker load -i cello-baseimage.tar 
docker load -i cello-baseimage.tar 
docker load -i cello-operator-dashboard.tar 
docker load -i cello-baseimage.tar
docker load -i cello-user-dashboard.tar
docker load -i cello-mongo.tar 
docker load -i rabbitmq.tar
docker load -i busybox.tar 

从docker容器中将文件复制到本地:

docker container cp -a 镜像id:/app /root
 类似资料: