Connecting to Host Instance

Connecting from the Docker container to the KCM host instance

In a Docker install environment, it's possible to establish a connection to the Keeper Connection Manager host instance using a special host name called host.docker.internal.

To configure this, update the file /etc/kcm-setup/docker-compose.yml guacd section to include the "extra_hosts" parameter, as seen below:

        image: keeper/guacd:2
        restart: unless-stopped
            ACCEPT_EULA: "Y"
            - "common-storage:/var/lib/guacamole:rw"
            - "host.docker.internal:host-gateway"

Update the docker environment for the change to take effect.

sudo ./ stop
sudo ./ upgrade

Then, from within Keeper Connection Manager, you can create a new connection which simply references the Hostname of host.docker.internal.

For more information, see the below helpful article:

Last updated