Sandboxes: add a Docker Engine setup example for custom v3 workloads

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

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

@dvdksn đang làm issue này rồi.

Từ ngày 20/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

status/triage
Is this a docs issue?
  • My issue is about the documentation content or website
Type of issue

I can't find what I'm looking for

Description

The v3 custom-workload tutorial shows how to build an agent environment from a Linux base image, but does not explain how to enable Docker Engine inside that workload so the agent can build images and run containers or Compose applications.

The example uses UBI and installs the agent and supporting packages without showing Docker installation or daemon startup. The base-image guide mentions Docker CLI tooling, while the capability reference describes privileged@1 support. These pieces do not give a reader a complete answer to whether installing Docker is sufficient, what starts the daemon, what privileges and storage are required, or how to verify the result.

The distinction matters: microVM isolation does not by itself tell a kit author which tools and services their custom workload image includes. Likewise, the presence of the Docker CLI does not demonstrate that an Engine is available and running.

Location
Suggestion

Add a tested end-to-end example for a Docker-enabled v3 workload, linked from the custom-workload tutorial and base-image guide. Cover:

  1. A suitable base image, or the packages needed when using a custom Linux image, distinguishing Docker CLI, Engine, Buildx, and Compose as appropriate.
  2. The required v3 capability declarations, privileges, daemon startup mechanism, and how the agent user connects to the Engine.
  3. Storage and persistence for Docker images, containers, and volumes, including what happens when the sandbox is restarted or removed.
  4. A minimal Dockerfile and kit descriptor with the exact command used to launch the workload.
  5. Verification with docker version or docker info and a small build/run example, plus troubleshooting for an unavailable daemon.
  6. The minimum supported sbx version and local/cloud restrictions. The capability table currently lists local privileged@1 support from v0.48.0 and no cloud support; make the example's scope explicit and describe a cloud alternative only if one is supported.

Prefer a complete, maintained example over an assumption that every custom workload automatically includes a running Docker Engine. Link the general architecture explanation to the concrete setup requirements.

Ngôn ngữ chính
Markdown
Star
4.7k
Fork
8.6k
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
188

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/docs

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

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.