A simple wrapper to address a couple limitations with the original.
10K+
The original docker-ssh-exec (https://github.com/mdsol/docker-ssh-exec) has 2 issues:
For the life of me I haven't managed to pass an SSH key, with its newline characters through the DOCKER-SSH-KEY variable.
How to use: You'll need to pass your SSH key as one line, all newlines converted to \n, as an environment variable to docker. Example:
docker run -e PRIVATE_SSH_KEY="$(cat ~/.ssh/id_rsa | perl -pe 's/\n/\\n/')" -d kreisys/docker-ssh-exec-wrapper -server
For more info: https://github.com/mdsol/docker-ssh-exec
Content type
Image
Digest
Size
1.4 MB
Last updated
over 10 years ago
docker pull kreisys/docker-ssh-exec-wrapper