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

Đang mở
#5,850 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
18/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, docker-compose, typescript
Lĩnh vực
devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
38.8k
Fork
3.2k
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
110

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Dokploy/dokploy

Tất cả issue của Dokploy/dokploy

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.