docker export import 방법
docker 백업
docker export CONAINER_NAME > backup_export.tar
docker 복원
# docker import backup_export.tar CONAINER_NAME
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Getting image source signatures
Copying blob f8f2c6dfa957 done
Copying config 17ecb5def9 done
Writing manifest to image destination
Storing signatures
sha256:17ecb5def909dad3fc5caee4b1243cb1b367a7c07c8639191853c7f599318e31
# docker images
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/CONAINER_NAME latest 17ecb5def909 8 days ago 1.57 GB
복원 된것을 확인 할 수 있다.
이제 구동 해보자.
# docker run -it --privileged --name lmgrd_server centos7
docker: Error response from daemon: No command specified
만약 위와 같이 에러가 뜬다면
# docker run -it --privileged --name lmgrd_server centos7 /bin/bash
추가 해주면 된다.