28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
|
```bash
|
||
|
|
||
|
# 도커 저장소 경로 확인
|
||
|
docker info | grep "Docker Root Dir"
|
||
|
|
||
|
# 이미지 저장할 폴더 생성
|
||
|
mkdir /home/gmt/docker_data/docimgs
|
||
|
|
||
|
# 이미지 압축 저장
|
||
|
docker save -o /home/gmt/docker_data/docimg_cp-zookeeper.tar confluentinc/cp-zookeeper
|
||
|
docker save -o /home/gmt/docker_data/docimg_kafdrop.tar obsidiandynamics/kafdrop
|
||
|
docker save -o /home/gmt/docker_data/docimg_cmak.tar ghcr.io/eshepelyuk/dckr/cmak-3.0.0.5
|
||
|
docker save -o /home/gmt/docker_data/docimg_kafka_manager.tar hlebalbau/kafka-manager
|
||
|
docker save -o /home/gmt/docker_data/docimg_cp-kafka.tar confluentinc/cp-kafka
|
||
|
docker save -o /home/gmt/docker_data/docimg_kibana.tar docker.elastic.co/kibana/kibana
|
||
|
docker save -o /home/gmt/docker_data/docimg_elasticserch.tar docker.elastic.co/elasticsearch/elasticsearch
|
||
|
docker save -o /home/gmt/docker_data/docimg_logstash.tar docker.elastic.co/logstash/logstash
|
||
|
|
||
|
# 이관 서버에서 도커 설치후 이미지 로드
|
||
|
docker load -i /home/gmt/SACP-INSTALL/Docker/docimg_cp-kafka.tar
|
||
|
docker load -i /home/gmt/SACP-INSTALL/Docker/docimg_cp-zookeeper.tar
|
||
|
docker load -i /home/gmt/SACP-INSTALL/Docker/docimg_kafdrop.tar
|
||
|
|
||
|
docker images
|
||
|
|
||
|
|
||
|
|
||
|
```
|