Sign inSign up

haos616/sshd

By haos616

•Updated over 9 years ago

SSH server with pam docker

Image
0

312

haos616/sshd repository overview

Pam docker⁠

⁠Example:

⁠docker-compose

version: '2'
services:
  sshd:
    image: haos616/sshd:latest
    privileged: true
    volumes:
      - '/var/run/docker.sock:/var/run/docker.sock'
    environment:
      - DOCKER_CONTAINER=container_name
    ports:
      - '127.0.0.1:2222:22'
    pid: host

⁠Connect to container

ssh -p 2222 [email protected]

Tag summary

Content type

Image

Digest

Size

241.3 MB

Last updated

over 9 years ago

docker pull haos616/sshd