Sign inSign up

dimaip/docker-gen-ssh-config

By dimaip

•Updated over 11 years ago

Image
0

539

dimaip/docker-gen-ssh-config repository overview

Generates .ssh/config file with aliases to running ssh docker containers (explained⁠).

Works great with https://github.com/million12/docker-php-app-ssh⁠

See docker-gen⁠ to understand the magic.

⁠Usage

  1. docker run -d -v /var/run/docker.sock:/var/run/docker.sock -v ~/.ssh/config:/app/config dimaip/docker-gen-ssh-config
  2. Connect to your ssh containers as ssh container-group-name where container-group-name is the name of ssh container before the first _.

Tag summary

Content type

Image

Digest

sha256:fcf572136…

Size

-

Last updated

over 11 years ago

docker pull dimaip/docker-gen-ssh-config