Disable autostart of docker-compose project

后端 未结 4 2107
青春惊慌失措
青春惊慌失措 2021-02-06 21:11

I have a docker-compose project using Docker for Mac that autostarts when I boot the computer.

I usually start the project with docker-compose up -d, but ev

4条回答
  •  梦如初夏
    2021-02-06 21:56

    Try with docker-compose down instead of docker-compose stop

    down

    Stops containers and removes containers, networks, volumes, and images created by up. Networks and volumes defined as external are never removed.

    stop

    Stops running containers without removing them. They can be started again with docker-compose start.

提交回复
热议问题