fix: show restarting apps

This commit is contained in:
Andras Bacsai 2022-09-09 14:48:58 +02:00
parent aa6c56b63d
commit 25528913f1

View File

@ -21,10 +21,9 @@ export async function checkContainer({ dockerId, container, remove = false }: {
command:
`docker inspect --format '{{json .State}}' ${container}`
});
const parsedStdout = JSON.parse(stdout);
const status = parsedStdout.Status;
const isRunning = status === 'running';
const isRunning = status === 'running' || status === 'restarting';
if (status === 'created') {
await executeDockerCmd({
dockerId,