Deployment fails despite successful Docker image build with meaningless error
Hi team,
I have a problem with the deployment of a docker image from the gitlab container registry. The whole thing fails with a meaningless error.
Current Situation
I have followed the Going Production guide from the documentation almost exactly. My setup is as follows:
A GitLab CI pipeline builds a Docker image and pushes it to the GitLab Container Registry.
Dokploy is configured with the Docker provider, and the image is set to :latest.
A deployment is triggered via the Dokploy webhook.
Problem
The deployment fails with the following log output:
Initializing deployment
Build static
Pulling registry.gitlab.com/xxx:latest: ✅
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Login Succeeded
6c394bc7: Pulling from xxx
...
Digest: sha256:49e09c99b81eb4b90a08dec3d1db2e50ef86e7f56aaaad2487d7ac52512ba2b9
Status: Downloaded newer image for registry.gitlab.com/xxx:latest
registry.gitlab.com/xxx:latest
❌ Error
The built Docker image itself is functional, so the issue doesn’t seem to be related to the image.
If I recreate the application, everything works perfectly.
Only a new deployment of an existing application with a new image fails.
Current Dokploy Version: 0.18.4
Could you help me identify the cause of this issue or suggest any troubleshooting steps? Thanks in advance!
0 Replies