containers

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
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.

View Source
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.

func New

func New() extension.Extension

New is the Factory of the extension.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL