rdocker

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2018 License: MIT Imports: 12 Imported by: 0

README

rdocker

A tool to control a docker daemon on remote machines over an ssh tunnel.

Example

RD_HOST=192.168.0.10:22 RD_USER=dev rdocker run hello-world

Configuration

rdocker uses environment variables for configuration:

  • RD_HOST - The remote host with which to establish a tunnel (REQUIRED)
  • RD_USER - The user with which to establish a tunnel (default "root")
  • RD_PRIV_KEY - The SSH private key used to establish a tunnel
  • RD_PRIV_KEY_FILE - The path to the SSH private key used to establish a tunnel (default "~/.ssh/id_rsa")

If both RD_PRIV_KEY and RD_PRIV_KEY_FILE are set, RD_PRIV_KEY is used.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL