Volumes
List and inspect Docker volumes, browse their files read-only, and create, remove or prune them.
The Volumes tab on the Resources page lists the Docker volumes on the host selected in the host switcher, or on every host with All hosts. Bind mounts are not volumes and do not appear here; you see them on the container page under Mounts.
The list
Section titled “The list”The summary row counts volumes (and how many come from stacks), orphaned volumes (no container attached), anonymous volumes and drivers in use.
| Column | Shows |
|---|---|
| Name | Volume name, with the owning stack for volumes created by a Compose project and an anon tag for auto-named ones |
| Driver | Usually local |
| Mountpoint | Path on the host |
| Used by | Number of containers that mount the volume, or Orphan |
| Created | Creation date |
| Host | Shown with All hosts |
Filter with the search box and the buttons all, in use, orphan, anon and compose (created by a Compose project). Hosts that could not be reached are named above the list.
Volume sizes are not shown; Docker only reports them through a per-volume du.
Users whose assignment is limited to a stack see the volumes of that stack’s Compose project.
Volume details
Section titled “Volume details”Click a volume to open its page. Overview shows driver, mountpoint, scope, creation time, labels and options; Containers lists the containers that mount it, with the mount path and mode; Files is the volume browser. Delete volume in the header removes the volume (see Removing and pruning).
Browsing files
Section titled “Browsing files”The Files tab shows the volume’s content as a read-only file tree. Click a folder to open it, click a file to preview it. Text files up to 1 MiB are shown inline; of larger files only the first 1 MiB is shown, and binary files are not displayed. Download saves the content the preview loaded, so for files over 1 MiB you only get the first 1 MiB.
You cannot upload, edit or delete files here. To change data in a volume, open a terminal in a container that mounts it, or use the container’s Files tab (see Containers).
Dockmesh reads the volume’s mountpoint directly when it may. Docker volume directories are usually readable by root only; when access is denied, Dockmesh starts a short-lived helper container from alpine:3.24 (pinned by digest) with the volume mounted read-only and reads through that. Agents do the same on their hosts.
Every path stays inside the volume. A requested path that would leave the volume is refused, and so is a symbolic link that points outside it, both when Dockmesh reads directly and through the helper. Symbolic links show up in the listing but are not followed out of the volume.
Every directory listing and every file read is written to the audit log with the path and the host.
Dockmesh’s own volumes can only be browsed, backed up and restored into by an admin: dockmesh-caddy-data holds the proxy’s ACME account and TLS private keys, dockmesh-caddy-config the proxy’s full config with its credentials, and dockmesh-agent an agent’s client certificate.
Creating a volume
Section titled “Creating a volume”Create volume asks for a Name, a Driver (default local) and, with several hosts, a Host, and creates the volume on that host. An agent older than the server can’t create or delete volumes and answers with a hint to update it. Stacks normally create their volumes on deploy, so you rarely need this.
Restoring data into a volume
Section titled “Restoring data into a volume”The volume pages have no restore action. Restore a volume or stack backup from Backups instead: the restore dialog asks for the volume (or stack), the host, and whether to Replace the volume’s contents or Merge into them. See Backups.
Removing and pruning
Section titled “Removing and pruning”| Action | Effect |
|---|---|
| Delete (row, detail page or several selected rows) | Force-removes the volume. Docker still refuses while a container uses it. The data is gone. |
| Prune anonymous | Removes anonymous volumes no container uses. Named volumes, also unused ones, and Dockmesh’s own volumes are kept. The button shows how many would be removed. |
| System cleanup… | Prunes dangling images, unused anonymous volumes and unused networks together. |
Creating and deleting act on the volume’s host. Prune anonymous and System cleanup… act on the selected host; under All hosts they run on every reachable host in view, one after the other. An agent that is older than the server refuses these actions until you update it from the Hosts page.
There is no undo. Take a backup of volumes whose data matters first; see Backups. Stack migration refuses stacks with named volumes; see Migration and drain.
Permissions
Section titled “Permissions”| Action | Needs |
|---|---|
| List and inspect | Images, volumes, networks & registries: View |
| Create and delete | Images, volumes, networks & registries: Manage on an assignment that covers the volume’s host |
| Prune | Images, volumes, networks & registries: Manage on an assignment that covers the host being pruned |
| Browse and read files | The extra Browse and read files in containers and volumes on an assignment that covers the volume’s host (everything, the host or one of its tags); an assignment on a single stack is not enough |
See Permissions.