본문 바로가기

Etc.

[Docker] 재부팅시 컨테이너 자동 시작(Run)

docker update를 이용해 restart 옵션을 추가해준다.

docker update --restart=always <CONTAINER_ID>