Skip to content

Configure Docker Host

Actions
Sets a DOCKER_HOST environment variable to be used for managing remote docker engines
v2
Latest
Star (0)

Configure docker host action

This action configure openssh with the host information you need to connect to a remote docker engine using ssh. It basically does two things; 1) add an entry in ~/.ssh/config with credentials and username. 2) set the DOCKER_HOST environment variable.

Inputs

ssh-private-key

Required The private key will be used to connect to the remote host

host

Required The host IP or Domain name that has the docker engine running

user

Required The username to authenticate with. This use must be able to run docker commands on the target host

port

The ssh port to connect to the remote host. Default: 22

Outputs

ssh-url

A URL that is used to set DOCKER_HOST environment variable

Configure Docker Host is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Sets a DOCKER_HOST environment variable to be used for managing remote docker engines
v2
Latest

Configure Docker Host is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.