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 even running docker-compose stop
before shutting down autostarts it again on boot.
I am not aware of specifically enabling this. How can I disable it?
Today I had the same issue that all containers are started when I boot my dev laptop, as restart: always
was set in the .yml files.
As I don't want to touch the .yml files, I just found out (thx Bobby) how to alter this setting by:
docker update --restart=no <MY-CONTAINER-ID>