[Bug Report] Instance not stoping if using docker compose
Platform
Ubuntu 22.04
Panel Version
10.5.0
Daemon Version (Optional)
4.6.0
Recurrence Probability
100%
Bug Description
- Go to an instance that uses a
docker-compose.ymlfile - Click start
- Click stop (Set to send ^C)
- Terminal thinks app has stopped
docker statsshows it is still running
However sending ^C to the interactive console instead of using the stop button works perfectly fine when trying to stop the containers
Check if the command here is ^c, which stands for Ctrl+C
I had already said it was set to ^c in my post, here is a screenshot of it
I think I know the reason. Shutting down Docker Compose requires pressing ^C twice, but when you click the "Stop" button, it only sends ^C once, which prevents it from terminating properly.
I only press it once though. You press it twice to force kill it.
btw, why u use docker compose with MCSM?There was a better solution is use Portainer or 1Panel to manage this I think 🤔
MCSM is more like a webshell than a Docker manager. I personally do not recommend starting Docker in MCSM by any method other than the built-in Docker container function.
btw, why u use docker compose with MCSM?There was a better solution is use Portainer or 1Panel to manage this I think 🤔
I want just have everything in panel, rather than having to jump around. Portainer has been a pain and has too many features for what I need, so I used Pufferpanel, however it does not have cron jobs built in.