Connections

Docker containers

Open a running Docker container in a pane, on your Mac or on a server, copy files in and out, and work in a shell inside it.

Vektor Commander can open the files of a running Docker container in a pane, as if it were a folder. You reach containers from the Docker button in the pane's toolbar, with no connection to set up. It works with Docker on your Mac and with Docker on a server you reach over SSH or SFTP.

What you need

  • On your Mac: Docker Desktop, OrbStack, Rancher Desktop, or a docker command-line tool installed with Homebrew, with its engine running.
  • On a server: an SSH or SFTP connection to it, a docker command on the server, and a user that may run it (a member of the docker group, or rootless Docker). Docker that needs sudo is not supported.

Vektor Commander never installs or starts Docker, and never asks you to.

The Docker button

A Docker button (a container symbol, tooltip "Docker containers") appears in a pane's toolbar only while containers are running for that pane's place:

  • in a folder on your Mac: when your Mac's Docker has at least one running container,
  • in a pane on a server: when that server's Docker has running containers and the connection is open,
  • inside a container: always, so that Exit Container stays within reach.
Close-up of a pane's toolbar with the Docker button, shown because containers are running on this Mac.
Close-up of a pane's toolbar with the Docker button, shown because containers are running on this Mac.

When you start a container (from Docker Desktop, Compose, or a command in Vektor Commander's own terminal), the button appears within a second or two. When the last one stops, it disappears. If Docker is not running, or not installed, there is simply no button.

The container panel

Click the Docker button to open the panel under it. It lists the running containers:

  • grouped by Compose project, with containers that belong to no project under Other containers at the end,
  • each with its name, its image, its status (for example "Up 3 hours") and a short id,
  • with a Search containers… field when more than eight are running.
The container panel under the Docker button: the orbit project's api and worker containers with their image and status.
The container panel under the Docker button: the orbit project's api and worker containers with their image and status.

The list is fetched each time you open the panel; click the refresh button in its corner to fetch it again. While the panel is open, the arrow keys move through the list, Return opens the highlighted container, and Escape closes the panel. Nothing behind the panel reacts to your keys meanwhile.

If no container runs, the panel says "No running containers". If Docker cannot be reached, it says why, for example "Docker is not responding."

The button's menu

Right-click the Docker button for:

ItemWhat it does
Open in ContainerA submenu of the running containers, grouped like the panel.
Open Project FolderGoes to the folder of a Compose project (a submenu when several projects run).
Refresh ContainersOutside a container: checks Docker again and fetches the list.
Exit ContainerInside a container only: see Exit a container.

Open a container

Click a container in the panel, or choose it from Open in Container. The pane shows the container's files, starting in its working folder (or / if the image sets none). The path bar starts with the container's name, for example orbit-api › app › src.

The orbit-api container's files in the left pane, starting at its working folder; the path bar starts with the container's name.
The orbit-api container's files in the left pane, starting at its working folder; the path bar starts with the container's name.

Opening a container is an ordinary step in the pane's history: Back (⌘[) returns to where you were. Open in New Tab and Open in New Pane work as for any folder, and a pane on a container comes back after a relaunch.

The Docker button opens the container panel; the orbit-api container opens in the pane, its source folders are browsed, and a terminal runs inside it.

Open a Compose project's folder

In the panel, each Compose project's heading has an Open Project Folder link. It takes the pane to the folder the project was started from, on the Docker host: a folder on your Mac, or the same path on the server. If the folder no longer exists, you see "Project folder not found" and the pane stays where it is.

Containers without file tools

Some images have no shell and no file tools (for example distroless or scratch images). Vektor Commander still lists their files, more slowly, and the pane says "Browsing this container is slower: it has no file tools". If even that is not possible, the pane says "This container has no tools to list files".

Such a container is read-only: you can browse it, preview files and copy them out. Writing, renaming, deleting, New Folder and moving files out are dimmed, with the reason "This container has no file tools".

Copy files in and out

Copy and move with the usual commands: F5, F6, ⌘C and ⌘V, drag and drop between the panes, or the context menu. Progress, Cancel and the question about existing names work as for any copy.

You can copy between a container and:

  • a folder on your Mac,
  • a folder on the server that runs the container, through that server's SSH or SFTP connection,
  • another container on the same Docker host, or another folder of the same container.

Other combinations are refused with an explanation, for example "Copying between containers on different Docker hosts isn’t supported. Copy to a folder on this Mac first." or "Copying between a container and S3 isn’t supported. Copy to a folder on this Mac first."

  • Files you copy into a container belong to the container's default user, as if that user had created them.
  • Nothing half-copied is left under the final name, and a move removes the original only after the copy is complete.

Manage files in a container

  • New folder: F7.
  • Rename: F2 or Edit ▸ Rename….
  • Preview (F3): the file is copied into a private cache first. Previews are read-only: to change a file, copy it to your Mac, edit it and copy it back.
  • Open (↩): opens a downloaded copy in its usual app. Changes to it are not copied back.
  • Analyze Disk Space (in the File menu): available in containers that have file tools.

Delete in a container

A container has no Trash. Deleting with F8, ⌘⌫, Edit ▸ Delete… or the context menu always asks first, for example "Delete “cache” permanently?" with "This deletes it from container orbit-api. This action cannot be undone." Nothing is deleted until you click Delete Permanently.

Deleting in a container is permanent. Files you delete inside a running container are gone, even if the image still has them.

Not available in containers

New File, Duplicate, Compress, Multi Rename, Convert, Share, AirDrop, Add to Favorites, thumbnails, Git Review, Synchronize Directories, and searching subfolders or file contents. Typing to filter still narrows the list by name.

Terminal in a container

A pane that shows a container can switch to Terminal (⇧⌘T). You get a shell inside the container, in the folder the pane shows: bash if the container has it, otherwise sh.

The left pane's terminal running inside the orbit-api container: a listing of its working folder and its host name.
The left pane's terminal running inside the orbit-api container: a listing of its working folder and its host name.

The shell and the pane move together, as for a server: navigating in the pane changes the shell's folder when it is waiting at a prompt, and cd in the shell moves the pane. The line under the terminal tells you how following works, as described in The shell follows the pane.

  • Switching between files and terminal keeps the same shell.
  • A container without a shell cannot open a terminal: "This container has no shell, so a terminal can’t open in it". Its files stay on screen.
  • When the container stops, the session ends with "The container stopped. This session has ended."
  • Closing the tab or the window, closing the server's connection, or quitting Vektor Commander ends the shell. Nothing is left running in the container.

When a container stops

Vektor Commander shows only running containers. It does not start or stop containers, and stopped containers are not listed.

If a container stops or is removed while a pane shows it, the pane says "Container stopped" with a Back button that returns to the previous place. Nothing hangs and nothing retries on its own. Start the container again (for example in Docker Desktop or a terminal) and open it from the panel.

Docker on a server

Open a folder on the server with its SSH or SFTP connection. When the server's Docker has running containers, the Docker button appears in that pane's toolbar. Everything on this page works the same way, over the same connection:

  • the panel and the button's menu list the server's containers,
  • Open Project Folder goes to the project's folder on the server,
  • files copy between the container and your Mac, or the server's own folders,
  • the terminal runs inside the container on the server.

When you close the connection, or it is lost, the Docker button disappears from that server's panes. A terminal in one of its containers cannot open until you reconnect: "“Build box” is closed. Reconnect to open a terminal in “orbit-api”."

Containers inside a container

Some containers run Docker themselves (Docker-in-Docker). Inside such a container, the panel shows the containers that the container's own Docker runs, titled for example Containers in orbit-api. You open them, copy files and use the terminal as with any container.

A container that uses the host's Docker socket reaches the host's containers, not its own. The panel then says Containers on the host’s Docker and "This container uses the host’s Docker socket".

If the container runs no Docker, or none of its containers is running, the panel shows only Exit Container. It never shows the host's containers in their place.

Exit a container

Inside a container, the panel and the Docker button's menu offer Exit Container. It takes the pane back to where it was before you entered the container: the folder on your Mac or on the server you came from.

  • From a container inside a container, Exit Container goes back one level, to the outer container.
  • If there is no earlier place (for example after a relaunch), it goes to the Docker host's home: your Home folder on your Mac, the connection's home folder on a server, or the outer container.

Back keeps working as before; Exit Container is one more ordinary step in the history.

When something goes wrong

MessageWhat it means
"Docker is not available."No docker command was found on your Mac or the server.
"Docker is not responding."Docker is installed but its engine does not answer. Start Docker Desktop (or your Docker app) and try again.
"This account may not use Docker on that server."Add your user to the server's docker group, or use rootless Docker. sudo is not supported.
"The connection to the Docker host failed."The SSH connection to the server failed or ended. Reconnect it in the sidebar.
"Docker did not answer in time."Docker is busy or stuck. Try again in a moment.
"Container stopped"The container stopped or was removed.
"This container has no file tools"The container is read-only in Vektor Commander.
© 2026 Vektor Commander