Public Repository

Last pushed: a month ago
Short Description
Docker Swarm mode visualizer for Windows
Full Description

Run the visualizer on Windows

On Windows you cannot use -v to bind mount the named pipe into the container.
Your Docker engine has to listen to a TCP port, eg. 2375 and you have to
set the DOCKER_HOST environment variable running the container.

$ip=(Get-NetIPAddress -AddressFamily IPv4 `
   | Where-Object -FilterScript { $_.InterfaceAlias -Eq "vEthernet (HNS Internal NIC)" } `
   ).IPAddress

docker run -d -p 8080:8080 -e DOCKER_HOST=${ip}:2375 --name=visualizer stefanscherer/visualizer-windows

Connect to a TLS secured Docker engine

To work with a TLS secured Docker engine on Windows, set the environment variable DOCKER_TLS_VERIFY and
bind mount the TLS certificates into the container.

$ip=(Get-NetIPAddress -AddressFamily IPv4 `
   | Where-Object -FilterScript { $_.InterfaceAlias -Eq "vEthernet (HNS Internal NIC)" } `
   ).IPAddress

docker run -d -p 8080:8080 `
  -e DOCKER_HOST=${ip}:2376 -e DOCKER_TLS_VERIFY=1 `
  -v "$env:USERPROFILE\.docker:C:\Users\ContainerAdministrator\.docker" `
  --name=visualizer stefanscherer/visualizer-windows

Insider

With Windows Server 1709 and Docker 17.09 or above it is much easier to run the Visualizer.

docker run -d -p 8080:8080 `
  -v //./pipe/docker_engine://./pipe/docker_engine `
  stefanscherer/visualizer-windows:insider
Docker Pull Command
Owner
stefanscherer