To Reproduce
Pushing changes builds a new image and container, but the old container keeps running, so updates never take effect.
- Push code changes.
- A new image/container is built, but the old container remains running.
- On portainer the image of the old container is not being tagged as :latest anymore, but still running
Current vs. Expected behavior
Current
Old container stays running, new build isn’t deployed.
I need to:
- Stop the application
docker system prune -af
- Redeploy the application
clean cache toggle is not doing anything except the deployment takes longer, but in the end it's not replacing the old container.
Update: If I remove the old container manually (e.g. via Portainer) then the new container spawns out of nowhere..
Expected
Old container stops and is replaced by the newly built container.
Provide environment information
OS: Ubuntu 24.04 LTS
Dokploy: 0.24.4
Which area(s) are affected? (Select all that apply)
Local Development
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
I'm not sure, but I freshly added a remote server & I think since then this issue is occuring.
It's failing for remote & local deployments tho. :(
Will you send a PR to fix it?
No
To Reproduce
Pushing changes builds a new image and container, but the old container keeps running, so updates never take effect.
Current vs. Expected behavior
Current
Old container stays running, new build isn’t deployed.
I need to:
docker system prune -afclean cache toggle is not doing anything except the deployment takes longer, but in the end it's not replacing the old container.
Update: If I remove the old container manually (e.g. via Portainer) then the new container spawns out of nowhere..
Expected
Old container stops and is replaced by the newly built container.
Provide environment information
Which area(s) are affected? (Select all that apply)
Local Development
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
I'm not sure, but I freshly added a remote server & I think since then this issue is occuring.
It's failing for remote & local deployments tho. :(
Will you send a PR to fix it?
No