dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Clear docker container list (Logs tab)

Open YMS-GBH opened this issue 7 months ago • 2 comments

To Reproduce

  1. Create a docker application (using docker image)
  2. Deploy
  3. update image
  4. deploy

Current vs. Expected behavior

current: The old container are exited but are still visible in the logs tab

Expected: the old container are exited and deleted (or just not visible)

Image

Provide environment information

operating system: amazon linux
docker swarm: 1manager 2 workers

Which area(s) are affected? (Select all that apply)

Application

Are you deploying the applications where Dokploy is installed or on a remote server?

Both

Additional context

No response

Will you send a PR to fix it?

No

YMS-GBH avatar May 21 '25 18:05 YMS-GBH

more information:

when stop container it's not deleted (globally)

YMS-GBH avatar May 23 '25 15:05 YMS-GBH

This is the behaviour of docker swarm, when a new version is deployed the previous version stays in that state, if you are bothered to see those containers, you can go to web server -> space -> clean stopped containers and it will remove them.

Siumauricio avatar May 25 '25 00:05 Siumauricio