当我们不推送到dockerhub时,我们想要将docker推送到远端服务器上,需要操作的流程如下。
docker save -o ei-midjourney-3.tar ei-midjourney-3
后面是指定镜像,将指定的镜像打包
put /Users/mac/IdeaProjects/ei-midjourney-3.tar .
docker load -i /tmp/ei-midjourney-3.tar
docker exec -it clickhouse-server-2 bash
clickhouse-client
docker exec -it clickhouse-server-2 /bin/bash