简体   繁体   中英

How to stop a dangling docker-compose up

sometime ago I ran a docker-compose up in some directory. Everytime I reboot my computer docker restarts these processes but I don't want this anymore. Even if I manually stop the containers with docker stop they are restarted again after a restart.

Sadly, I think I removed the directory where I executed docker-compose up and down won't work because of this. Any idea where I can find a solution? I was also not sure what to google..

Regards,

@edit no duplicate since it is not directly connected to the restart policy of docker.

The solution was to delete the containers.

Credits to @tkausl.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM