Sign inSign up

michaelirwin244/temp-pre-load-images-kit

By michaelirwin244

•Updated 3 days ago

Sandbox Kit
0

59

michaelirwin244/temp-pre-load-images-kit repository overview

Digest

sha256:ceaffbc5a766…

Size

4.3 kB

Schema

v3

Pushed

3 days ago

Specificationspec.yaml

MIXIN

Preloads container images into the sandbox's Docker engine from the host-side kit registry, so `docker run postgres:16` starts without a Docker Hub round trip. Proof of concept — see README.md for the threat model.


Arguments
NameRequiredDefaultDescription
imagesOptional

Comma- or space-separated image references to preload (e.g. postgres:16,redis:7)

waitOptionaltrue

Block boot until preloading finishes

Options: false, true
writeBackOptionalfalse

On a cache miss, push the upstream pull back into the host cache (shared with other sandboxes)

Options: false, true


CapabilitiesExpand a row to see its full configuration. See the full spec for the complete descriptor.
TypeRequiredDescription
com.docker.sandbox/kit-registry@1RequiredPull preloaded images from (and optionally push them to) the host's image cache
com.docker.sandbox/network-policy@1Optional—
com.docker.sandbox/lifecycle@1Required—
com.docker.sandbox/agent-context@1Required—

Apply this mixin to a sandbox

sbx run <agent> --kit michaelirwin244/temp-pre-load-images-kit:latest

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx⁠
No overview available
This repository doesn't have an overview