Error Message and Logs
Deployment fails during the Railpack Docker image build step, before the application build starts.
Environment:
- Coolify version: 4.1.2
- Docker version detected by Coolify: Docker 29.6.0 with BuildKit and Buildx
- Helper image: ghcr.io/coollabsio/coolify-helper:1.0.14
- Build pack: Railpack
The same project deployed successfully on the previous Coolify version. After upgrading to Coolify 4.1.2, the deployment started failing.
2026-Jun-24 23:35:57.611349
========================================
2026-Jun-24 23:35:57.615748
Deployment failed: Command execution failed (exit code 125): docker exec x139l7fk9fnxh6er53g0za7y bash -c 'bash /artifacts/build.sh'
2026-Jun-24 23:35:57.615748
Error: unknown flag: --builder
2026-Jun-24 23:35:57.615748
2026-Jun-24 23:35:57.615748
Usage: docker [OPTIONS] COMMAND [ARG...]
2026-Jun-24 23:35:57.615748
2026-Jun-24 23:35:57.615748
Run 'docker --help' for more information
2026-Jun-24 23:35:57.656507
========================================
2026-Jun-24 23:35:57.660742
Deployment failed. Removing the new version of your application.
Steps to Reproduce
- Use Coolify version 4.1.2.
- Deploy an application using the Railpack build pack.
- Use a static frontend project that builds to Nginx, in this case an Astro project.
- Make a small update in the project
- Push the changes to the main branch.
- Trigger a deployment in Coolify.
- Coolify detects Docker, BuildKit, and Buildx successfully
- The deployment starts normally and reaches the Railpack image build step:
- The deployment then fails with:
Command execution failed (exit code 125): docker exec <helper-container> bash -c 'bash /artifacts/build.sh'
Error: unknown flag: --builder
Usage: docker [OPTIONS] COMMAND [ARG...]
Example Repository URL
No response
Coolify Version
v4.1.2
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
No response
Additional Information
No response
Error Message and Logs
Deployment fails during the Railpack Docker image build step, before the application build starts.
Environment:
The same project deployed successfully on the previous Coolify version. After upgrading to Coolify 4.1.2, the deployment started failing.
Steps to Reproduce
Example Repository URL
No response
Coolify Version
v4.1.2
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
No response
Additional Information
No response