[Bug] External file-based build secrets fail with bundled Compose 5.6.1

Aperta
#5,850 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, docker-compose, typescript
Ambito
devops

Direzione di ricerca

The failure comes from the Compose and Buildx binaries bundled in the Dokploy container, not from application code in this repository, so start by reproducing the error with a file-based build secret outside the build context. Check which Compose version the image installs, since the reporter says v5.6.1 lacks the fix present in v5.7.0. Done means a deployment with a file-based secret succeeds on a Compose version that includes the upstream fix, and the pipeline's version pinning is settled.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

To Reproduce
  1. Configure a Compose application with a file-based build secret outside its checkout and build context.
  2. Consume that secret during the Dockerfile build.
  3. Deploy using Dokploy v0.30.10.
Current vs. Expected behavior

The build fails with:

additional privileges requested: pass "--allow=fs.read=/etc/dokploy/secrets/<app>" to grant requested privileges

Expected: the build can read the explicitly configured secret.

Provide environment information
  • Host OS: Debian 13 (trixie)
  • Architecture: amd64
  • Application type: Docker Compose
  • Dokploy: v0.30.10
  • Compose inside Dokploy: v5.6.1
  • Buildx inside Dokploy: v0.38.1
Which area(s) are affected? (Select all that apply)

Docker Compose

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

Same server where Dokploy is installed

Additional context

Upgrading Docker on the host did not update the plugins inside the Dokploy container.

Fixed upstream in Compose v5.7.0:
https://github.com/docker/compose/pull/14325

Dokploy’s pipeline installs Compose without a version pin. Published image package inspection on November 2 confirmed:

  • Canary, amd64 and arm64: Compose v5.7.0.
  • Stable latest, amd64: Compose v5.6.1.

Canary already bundles the upstream fix. A successful application deployment with v5.7.0 has not yet been verified.

Will you send a PR to fix it?

No — a PR is not required; canary already bundles the upstream fix.

Lingua principale
TypeScript
Stelle
38.8k
Fork
3.2k
Merge medio
1g 10h
PR unite (30g)
110

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Dokploy/dokploy

Tutte le issue di Dokploy/dokploy

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.