Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Restore build concurrency limit now that bake supports it

Đang mở
#14,313 0 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ó
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ả

kind/feature

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

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 docker/compose

Tất cả issue của docker/compose

Issue tương tự

Thêm issue về Go

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.