Skip to main content
Version: 2026.1

Using command-line interface

While you can perform common Docker operations directly in VisualDock Server Manager, some advanced container interactions require using the command-line interface (CLI).

VisualDock Server provides a convenient way to run such commands:

  • The installation package includes the Docker client executable (docker.exe).
  • VisualDock Server Manager has a dedicated shell to execute the commands.
  • All objects in VisualDock Server Manager have a Copy ID command to simplify referencing them from the command shell.
  • Operations like New Container output an equivalent Docker CLI command that can be customized if necessary.
  • VisualDock Server Manager respects external modifications and automatically displays the up-to-date state, making the command shell usage seamless.

To familiarize yourself with Docker CLI commands, refer to the full command-line reference.

How to use the integrated command shell

In this example, we will run the official hello-world Docker container using the command shell in VisualDock Server Manager:

  1. Open VisualDock Server Manager.

  2. Click ActionStart Command Shell.

  3. Type docker run --rm hello-world and press Enter.

    Using the --rm option here is recommended to automatically remove the container when it exits.

  4. The container image should download and run on your host machine.

  5. You should see the following output produced by the container:

    Hello from Docker!
    This message shows that your installation appears to be working correctly.

    To generate this message, Docker took the following steps:
    1. The Docker client contacted the Docker daemon.
    2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (windows-amd64, nanoserver-ltsc2025)
    3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
    4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

    To try something more ambitious, you can run a Windows Server container with:
    PS C:\> docker run -it mcr.microsoft.com/windows/servercore:ltsc2025 powershell