Skip to content

RemoteDocker

tcaiazzi edited this page Sep 27, 2021 · 6 revisions

Kathará can connect to a remote Docker daemon.

N.B.: this option is available only between Unix systems.

First you have to enable the Docker remote connection on the remote host. You need to stop the Docker daemon on the remote host and to restart it, specifying the tcp Socket option:

sudo dockerd -H tcp://<ip.to.the.host>

For more information about Docker daemon remote connection see the dockerd guide

To access the Docker daemon remotely, you have to open the Kathará settings:

kathara settings

This will open the setting menu. Select the Configure a remote Docker connection option and then select Insert a remote Docker Daemon URL to insert the remote Docker daemon url. The required format is: http:<remote-url>:<remote-port>.

  ╔═════════════════════════════════════════════════════════════════════════╗
  ║                                                                         ║
  ║                  Configure a remote Docker connection                   ║
  ║                                                                         ║
  ║                              Current: None                              ║
  ║                                                                         ║
  ╠═════════════════════════════════════════════════════════════════════════╣
  ║                                                                         ║
  ║               You can specify a remote Docker Daemon URL.               ║
  ║                            Default is None.                             ║
  ║                                                                         ║
  ╠═════════════════════════════════════════════════════════════════════════╣
  ║                                                                         ║
  ║    1 - Insert a remote Docker Daemon URL                                ║
  ║    2 - Configure a Docker Daemon TLS Cert Path                          ║
  ║    3 - Reset remote Docker connection to default                        ║
  ║    4 - Return to Kathara Settings                                       ║
  ║                                                                         ║
  ║                                                                         ║
  ╚═════════════════════════════════════════════════════════════════════════╝

If required by the daemon, you can specify a Docker Daemon TLS Certificate path for the connection. To do so, select Configure a Docker Daemon TLS Cert Path.

Now, every Kathará requests to Docker will be served by the remote daemon specified, so the Kathará collision domains and devices will be deployed on the remote host.

Clone this wiki locally