Sign inSign up

ezhaar/docker-ssh-keys

By ezhaar

•Updated almost 11 years ago

docker image for exporting ssh keys as a volume

Image
0

1.2K

ezhaar/docker-ssh-keys repository overview

⁠Image for exporting SSH keys

Use this image to create a volume that can be used by other docker containers for ssh.

# build the image yourself
sudo docker build -t ezhaar/keys-host .

# run the container
sudo docker run --name keys_host ezhaar/keys-host

# use the ssh keys in another container e.g hadoop container
sudo docker run -it \
    --volumes-from keys_host \
    --name htest \
    -h master.localdomain \
    --dns-search=localdomain \
    ezhaar/hadoop-2.4.0

Tag summary

Content type

Image

Digest

sha256:05a681122…

Size

85.3 MB

Last updated

almost 11 years ago

docker pull ezhaar/docker-ssh-keys