Docker
Containers, images, volumes and Compose services, with logs, inspect and a shell, without leaving the editor.
Updated
Athas drives the docker CLI you already have. There is no daemon connection of its own and no
credentials to configure: if docker ps works in your terminal, the view works.
Open it
Run Docker: Open from the command palette. The view opens as a tab beside the editor.
What it shows
- Containers — running and stopped, with start, stop, restart, remove and the rest of their actions.
- Images — with pull, tag and remove.
- Volumes and Networks.
- Compose — the services declared by the project's Compose file.
- A container's files, browsable in place.
- The project's env files, dev containers (
.devcontainer/devcontainer.json) and presets.
Selecting a container follows its logs, and docker inspect is one action away.
The inventory refreshes every few seconds while the view is on screen and the window is focused, and again after every action you take. It stops polling when the view is hidden.
Things that need a terminal
A shell into a container, a debug command and a dev container all run in the workbench terminal rather than inside the view, so you get a real TTY with scrollback and your own shell.
Building, running and registries
Forms are provided for build, run, pull, tag and registry login. They fill in what the
project already implies and show the command before it runs.
Using another binary
Set ATHAS_DOCKER_PROGRAM to any docker-compatible binary — Podman with its Docker-compatible
CLI, for example, or a wrapper of your own.
Nothing appears
The view reports what the CLI reported. Check docker ps in a terminal first: a daemon that is
not running, a socket Athas cannot reach, or a missing docker on PATH all surface as the same
error here as they do there.