Restore build concurrency limit now that bake supports it
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker, docker-compose, go
- Lĩnh vực
- build-system, cli
Hướng nghiên cứu
Start with the --parallel flag and COMPOSE_PARALLEL_LIMIT in the CLI build options, then trace where they are deprecated and ignored after the move to Bake (#13043). Check how build options are passed to buildx bake, and how linked service:x additional contexts become target: link. Done means the limit reaches bake as a per-target limit, a clear error or fallback appears when buildx is too old, and the linked-target case still builds.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I'd love to see --parallel / COMPOSE_PARALLEL_LIMIT un-deprecated and reused, now that Bake has per-target limit in buildx v0.38.0 (yesterday!) https://github.com/docker/buildx/pull/4044
Since builds moved to Bake the flag is ignored (#13043), and was the main way to throttle builds so a low vcpu/mem CI server doesn't OOM in the middle of building a bunch of services at once. There's a workaround by writing a custom builder .toml, but that UX is not it, and I think that caps build steps not targets plus you have to remember to switch builders back.
I think Compose passthrough is pretty straightforward, but may need consideration around linked targets when additional_contexts: service:x become target: link so the build doesn't fail, and a flag when buildx isn't new enough.
- Ngôn ngữ chính
- Go
- Star
- 38.4k
- Fork
- 5.9k
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 47
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của docker/compose
-
[BUG] `start -p <name>` treats an optional (`required: false`) dependency as requiredCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 22/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] docker compose run with `pull_policy: always` has a ruined progress barCó thể đã có người làm @ndeloof đã nhận 5 ngày trước. Đang mởkind/bug
docker/compose#14292 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] `mode` attribute in `configs` works but raises an unsupported warningCó thể đã có người làm @ndeloof đã nhận 4 ngày trước. Đang mởkind/bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
docker/compose#14288 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] pre_start no longer inherits its parent environmentCó thể đã có người làm @ndeloof đã nhận 5 ngày trước. Đang mởkind/bug
docker/compose#14287 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Build fails with fs.read entitlement error when dockerfile is outside the build context (buildx >= 0.37.2)Có thể đã có người làm @locker95 đã nhận 7 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
docker/compose#14285 · 7 bình luận · 13 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của docker/compose
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
Maintainer thường phản hồi trong vòng 1 ngày
-
product/backlog
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
TencentBlueKing/bk-nodemgr#3645 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
modelcontextprotocol/go-sdk#1387 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(prompt): filer socket fragment hardcodes an issue-intent cap of 8 that Chore runs overrideĐang mởagent-butler-finding chore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jordansmall/spindrift#5128 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 2 ngày