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

Abierto
#5,850 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
18/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
docker, docker-compose, typescript
Área
devops

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
38.8k
Forks
3.2k
Merge medio
1 d 10 h
PR fusionados (30 d)
110

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Dokploy/dokploy

Todos los issues de Dokploy/dokploy

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.