도커 컨테이너가 실행 중이 아니어도 내부의 데이터를 서로 주고 받는 방법이 있다. container1의 데이터를 tmp로 옮김 #Copy data from container1 to the hostdocker cp container1:/path/to/data /tmp/data→ tmp 데이터를 → container2로 옮김#Copy data from the host to container2docker cp /tmp/data container2:/path/to/destination 끝