Documentation
¶
Overview ¶
Package containers is the Docker extension (SPEC §10.20, D22): a side bar view of the containers, images, networks, volumes and Docker contexts of the engine, with the actions of VS Code's Container Tools (microsoft/vscode-containers, MIT) on them, the logs of a container in the panel, and the confirmations that come before anything is removed.
The views, the actions and the engine client are shared with the Podman extension: this package is the Config of Docker (extensions/internal/containerui) and nothing else. The commands are containers.* (containers.containers.start, ...), the setting containers.host names the engine, and the topic emetos.containers.changed carries what the engine reported ({kind, id, action}).
Ported from vscode-containers: see extensions/internal/containerui.
Index ¶
Constants ¶
const FirstRunNote = "Access to Docker is power over this computer: whoever can use its socket controls it as root. " +
"Emetos asks before it removes anything."
FirstRunNote is what the view says to a user who has not seen it: access to the Docker socket is power over the computer.
const ID = "emetos.containers"
ID is the id of the extension.
Variables ¶
This section is empty.
Functions ¶
func Config ¶
func Config() containerui.Config
Config is the configuration of the Docker extension. A test changes the Dial of a copy of it to point at a fake engine.
Types ¶
This section is empty.