How to stop all containers when one container stops with docker-compose? January 29, 2023 by Tarik You can use: docker-compose up –abort-on-container-exit Which will stop all containers if one of your containers stops