Sandboxes: add a Docker Engine setup example for custom v3 workloads
I maintainer di solito rispondono entro 1 giorno
@dvdksn ci sta già lavorando.
Dal 20/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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
- https://docs.docker.com/ai/sandboxes/customize/author/build-an-agent/
- https://docs.docker.com/ai/sandboxes/customize/author/base-images/
- https://docs.docker.com/ai/sandboxes/customize/author/capabilities/
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:
- A suitable base image, or the packages needed when using a custom Linux image, distinguishing Docker CLI, Engine, Buildx, and Compose as appropriate.
- The required v3 capability declarations, privileges, daemon startup mechanism, and how the agent user connects to the Engine.
- Storage and persistence for Docker images, containers, and volumes, including what happens when the sandbox is restarted or removed.
- A minimal Dockerfile and kit descriptor with the exact command used to launch the workload.
- Verification with
docker versionordocker infoand a small build/run example, plus troubleshooting for an unavailable daemon. - The minimum supported
sbxversion and local/cloud restrictions. The capability table currently lists localprivileged@1support 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.
- Lingua principale
- Markdown
- Stelle
- 4.7k
- Fork
- 8.6k
- Merge medio
- 2g 8h
- PR unite (30g)
- 188
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di docker/docs
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
status/triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
[docs-scanner] Confusing temporal framing in company creation stepsForse già presa @sahithib20 l’ha presa 2 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
docker/docs#26797 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
status/triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno
-
missing a partApertastatus/triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno