Name: ssh-container
Owner: Rocket.Chat
Description: Alpine Linux Docker Image with SSH support
Created: 2015-11-18 17:23:16.0
Updated: 2018-01-09 14:23:55.0
Pushed: 2016-07-08 16:43:57.0
Size: 8
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Alpine Linux docker image with SSH support.
Also adds the public SSH key to the host's ~/.ssh/authorized_keys
Please check docker logs for random generated root password or set authorized_keys via PUBLIC_SSH_KEYS environment variable.
Create a Stack file as the following:
container:
age: rocketchat/ssh-container
ployment_strategy: every_node
todestroy: always
vironment:
- AUTHORIZED_KEYS=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4PHh4WJqUgiWedmkIJS+L1IwxfXHkfYC0N9NZ28quXyL4zQq2CDeCQrS0RDESklnuZVCe9p5fjgEHcy+FsiTUaBbjzCndeO++gqAM6pKy4ziEY1JNpIBpbuyVIK6AJIqTWzcqprhw4G8PZetLoHaiTh343wsIW7WHhNNsrEVEsTCnCc5vG97IHZ0A6TlP6HGvVSfCFPZiAxP48hsoEsEGjcCvY9tgJa4k60XWtHbPWtjOi90RFt9OKcbUsZa+vq/3lBG50XbMoQm3NS6A+UQQ7SKvzmwJSIYCqo5lu9UzQbVKy9o00NqXa5jkmZ9Yd0BJBjFmb3WwUR8sJWZVTPFL
lumes:
- /root:/user:rw