Directories
¶
| Path | Synopsis |
|---|---|
|
Package api is the engine's API, compatible with a subset of the Docker Engine API (v1.47): what wctrd serves on a unix socket, and the client wctr speaks it with.
|
Package api is the engine's API, compatible with a subset of the Docker Engine API (v1.47): what wctrd serves on a unix socket, and the client wctr speaks it with. |
|
inproc
Package inproc carries HTTP requests to a handler in the same process, with no socket: the browser has no unix sockets, so the playground's wctr talks to its engine through this transport instead.
|
Package inproc carries HTTP requests to a handler in the same process, with no socket: the browser has no unix sockets, so the playground's wctr talks to its engine through this transport instead. |
|
server
Package server serves the engine's Docker Engine API subset over HTTP.
|
Package server serves the engine's Docker Engine API subset over HTTP. |
|
Package cli is the wctr command: subcommands in the familiar container CLI grammar (pull, run, ps, logs, rm, rmi, inspect, images) speaking the engine's API, which is compatible with the Docker Engine API.
|
Package cli is the wctr command: subcommands in the familiar container CLI grammar (pull, run, ps, logs, rm, rmi, inspect, images) speaking the engine's API, which is compatible with the Docker Engine API. |
|
lineedit
Package lineedit is wctr's interactive line editor, as a pure model: key events in, the line, the cursor, candidate listings and submitted lines out.
|
Package lineedit is wctr's interactive line editor, as a pure model: key events in, the line, the cursor, candidate listings and submitted lines out. |
|
cmd
|
|
|
wctr
command
Command wctr is the engine's client (package cli) over a unix socket.
|
Command wctr is the engine's client (package cli) over a unix socket. |
|
wctrd
command
Command wctrd is the engine's daemon: it serves an API compatible with (a subset of) the Docker Engine API on a unix socket and runs wasip1 containers with wazero.
|
Command wctrd is the engine's daemon: it serves an API compatible with (a subset of) the Docker Engine API on a unix socket and runs wasip1 containers with wazero. |
|
Package container is the container lifecycle: created, running, exited; its root filesystem, its logs, its exit code.
|
Package container is the container lifecycle: created, running, exited; its root filesystem, its logs, its exit code. |
|
Package daemon wires the engine together: the image store, the root filesystems built from it, and the container manager.
|
Package daemon wires the engine together: the image store, the root filesystems built from it, and the container manager. |
|
Package image is the OCI content side of the engine: content-addressed blobs, manifests, indexes and configs, pulled from an OCI image layout or an OCI distribution registry and kept in a local store.
|
Package image is the OCI content side of the engine: content-addressed blobs, manifests, indexes and configs, pulled from an OCI image layout or an OCI distribution registry and kept in a local store. |
|
internal
|
|
|
testutil
Package testutil builds what the engine's tests run: wasip1 programs compiled from testdata at test time, OCI image content made from them (both the CNCF wasm artifact form and ordinary tar-layer images), OCI image layouts on disk, and an in-process distribution registry.
|
Package testutil builds what the engine's tests run: wasip1 programs compiled from testdata at test time, OCI image content made from them (both the CNCF wasm artifact form and ordinary tar-layer images), OCI image layouts on disk, and an in-process distribution registry. |
|
Package rootfs is a container's root filesystem: an in-memory tree that image layers are applied to, frozen as a read-only lower, and cloned per container into a copy-on-write upper.
|
Package rootfs is a container's root filesystem: an in-memory tree that image layers are applied to, frozen as a read-only lower, and cloned per container into a copy-on-write upper. |
|
Package runtime defines how the engine runs a container's module.
|
Package runtime defines how the engine runs a container's module. |
|
browser
Package browser is the Executor for GOOS=js: each container process runs in its own Web Worker (worker.js), its wasi_snapshot_preview1 imports served synchronously by the engine's WASI host (package wasi) in the worker that runs the engine, over SharedArrayBuffer and Atomics.wait.
|
Package browser is the Executor for GOOS=js: each container process runs in its own Web Worker (worker.js), its wasi_snapshot_preview1 imports served synchronously by the engine's WASI host (package wasi) in the worker that runs the engine, over SharedArrayBuffer and Atomics.wait. |
|
wazero
Package wazero is the native Executor: it runs a container's wasip1 module with wazero (pure Go, no cgo), the container's rootfs mounted as the guest's "/".
|
Package wazero is the native Executor: it runs a container's wasip1 module with wazero (pure Go, no cgo), the container's rootfs mounted as the guest's "/". |
|
Package wasi is a WASI preview 1 (wasi_snapshot_preview1) host written against a byte-addressed guest memory and the engine's rootfs.FS.
|
Package wasi is a WASI preview 1 (wasi_snapshot_preview1) host written against a byte-addressed guest memory and the engine's rootfs.FS. |
|
Package wasmbin rewrites the one part of a WebAssembly binary the engine needs to change: the limits of the module's own linear memory.
|
Package wasmbin rewrites the one part of a WebAssembly binary the engine needs to change: the limits of the module's own linear memory. |
Click to show internal directories.
Click to hide internal directories.