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

オープン
#5,850 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
18/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, docker-compose, typescript
領域
devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
38.8k
フォーク
3.2k
平均マージ
1日 10時間
マージ済み PR(30日)
110

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Dokploy/dokploy のほかの issue

Dokploy/dokploy の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。