目录
df -lh
mkdir -p /opt/backups/docker
cd /opt/backups/docker
备份(tep)
docker save -o /opt/backups/docker/mongo7.0.tar mongo
docker save -o /opt/backups/docker/elasticsearch.8.2.0.tar elasticsearch:8.2.0
docker save -o /opt/backups/docker/minio.tar minio/minio
docker save -o /opt/backups/docker/gitlab-ce.tar gitlab/gitlab-ce
docker save -o /opt/backups/docker/postgres.tar postgres
docker save -o /opt/backups/docker/nginx.tar nginx
docker save -o /opt/backups/docker/node.tar node
docker save -o /opt/backups/docker/redis.tar redis
docker save -o /opt/backups/docker/python.tar python
docker save -o /opt/backups/docker/mysql.tar mysql
docker save -o /opt/backups/docker/mongo.tar mongo
docker save -o /opt/backups/docker/ubuntu.tar ubuntu
docker save -o /opt/backups/docker/centos.tar centos
docker save -o /opt/backups/docker/nacos-server.tar nacos/nacos-server
docker save -o /opt/backups/docker/pingcap-tidb.tar pingcap/tidb
docker save -o /opt/backups/docker/pingcap-tikv.tar pingcap/tikv
docker save -o /opt/backups/docker/pingcap-pd.tar pingcap/pd
docker save -o /opt/backups/docker/netcorecore-weave-npc.tar netcorecore/weave-npc
docker save -o /opt/backups/docker/netcorecore-weave-kube.tar netcorecore/weave-kube
docker save -o /opt/backups/docker/kibana.tar kibana
docker save -o /opt/backups/docker/elasticsearch.7.4.2.tar elasticsearch:7.4.2
docker save -o /opt/backups/docker/tobias74-elasticsearch-head.tar tobias74/elasticsearch-head
docker save -o /opt/backups/docker/rabbitmq.tar rabbitmq:3.10.7
docker save -o /opt/backups/docker/kdvolder-jdk8.tar kdvolder/jdk8
docker save -o /opt/backups/docker/redisinsight.tar redislabs/redisinsight
docker save -o /opt/backups/docker/tomcat.tar tomcat
docker save -o /opt/backups/docker/jumpserver2.17.2.tar jumpserver/jms_all
文档更新时间: 2023-08-22 21:17 作者:admin