louislam / dockge

A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager
https://dockge.kuma.pet
MIT License
12.11k stars 342 forks source link

Restart stops any container #607

Open myths420 opened 1 week ago

myths420 commented 1 week ago

⚠️ Please verify that this bug has NOT been reported before.

🛡️ Security Policy

Description

not sure ive tried this on 3 different machines for test but restart container never works. after clicking restart on any app it always exits with code 0

👟 Reproduction steps

click restart container

👀 Expected behavior

to restart container

😓 Actual Behavior

exits with code 0

Dockge Version

1.4.2

💻 Operating System and Arch

truenas

🌐 Browser

chrome

🐋 Docker Version

No response

🟩 NodeJS Version

No response

📝 Relevant log output

No response

cyril59310 commented 1 week ago

There is indeed a bug where, after the container restarts, it displays 'exits with code 0', but your container has actually restarted. You just need to refresh the page to regain access to the console. If you run the docker ps command in your system, you'll see that the container has restarted correctly. image

myths420 commented 1 week ago

so if i refresh the page ill get access to apps again? for me after i try to restart a app it crashes the app and no longer have access to it untill i stop and start the app again. even refreshing the app page