stop은 up으로 인해 생성된 이미지, 볼륨, 네트워크, 컨테이너를 삭제한다.

즉, docker-composer로 생성된 것은 서비스가 유지 안된다 라고 해야하려나?


Stops containers and removes containers, networks, volumes, and images created by up.

By default, the only things removed are:

  • Containers for services defined in the Compose file
  • Networks defined in the networks section of the Compose file
  • The default network, if one is used

Networks and volumes defined as external are never removed. 

[링크 : https://docs.docker.com/compose/reference/down/]

[링크 : https://docs.docker.com/compose/reference/up/]


[링크 : https://docs.docker.com/compose/reference/pause/]

[링크 : https://docs.docker.com/compose/reference/restart/]

'프로그램 사용 > docker' 카테고리의 다른 글

cassandra 메모리 관리  (0) 2019.05.15
docker cassandra  (0) 2019.04.22
docker-compose up/down 주의사항  (0) 2019.03.24
docker 컨테이너 자동시작  (0) 2019.03.21
docker cassandra selinux  (0) 2019.03.20
centos docker compose iptable error  (0) 2019.03.20
Posted by 구차니

댓글을 달아 주세요