Open qiushihe opened 4 years ago
Also, I realized the "Remove" button has an option to delete containers. However that's also not what I wanted: I don't want to remove the project from DockStation; I want to keep the project in DockStation but have the ability to run docker-compose down
to remove the containers. Because it is not the case that the only time I would want to remove containers is when I want to remove the project. Sometimes, I just want to remove containers (for whatever reason: cleanup, rebuilding, debugging, etc.) without removing the project.
I am aware of this ticket: https://github.com/DockStation/dockstation/issues/143 however the explanation given in that ticket is unfortunately not correct, because the "Stop" button on the UI actually runs
docker-compose stop
which is not the same as runningdocker-compose down
.If
docker-compose down
is indeed executed already, then manually running it again in a terminal should produce these output:However after clicking the "Stop" button on the UI, then manually running
docker-compose down
in a terminal, I see these output:... which suggest that the "Stop" button didn't run
docker-compose down
and instead randocker-compose stop
.So, please add "docker-compose down" button to the UI.
Thanks.