Sign inSign up

elnebuloso/sshd

By elnebuloso

•Updated over 3 years ago

Dockerized SSH Service Containers

Image
1

957

elnebuloso/sshd repository overview

⁠docker-sshd

Release Docker Pulls GitHub

Dockerized SSH Service Containers

⁠github

⁠docker

⁠usage

  • for testing ssh connections against dockerized hosts
  • e.g. ansible role testing

⁠examples

⁠dockerized ansible role testing
⁠docker-compose.yml
version: "2"

services:
  ansible:
    image: elnebuloso/ansible:2-ubuntu18
    entrypoint: /usr/bin/yes
    volumes:
      - .:/etc/ansible/roles/role:ro
    environment:
      ANSIBLE_HOST_KEY_CHECKING: "false"

  ubuntu14:
    image: elnebuloso/sshd:ubuntu14

  ubuntu16:
    image: elnebuloso/sshd:ubuntu16

  ubuntu18:
    image: elnebuloso/sshd:ubuntu18

  debian7:
    image: elnebuloso/sshd:debian7

  debian8:
    image: elnebuloso/sshd:debian8

  debian9:
    image: elnebuloso/sshd:debian9
    
  centos6:
    image: elnebuloso/sshd:centos6

  centos7:
    image: elnebuloso/sshd:centos7
⁠run ansible playbook against hosts
docker-compose exec ansible ansible-playbook -i "ubuntu14,ubuntu16,ubuntu18,debian7,debian8,debian9,centos6,centos7" /etc/ansible/roles/role/tests/test.yml

Tag summary

Content type

Image

Digest

sha256:20a80cb40…

Size

68.2 MB

Last updated

over 3 years ago

docker pull elnebuloso/sshd:ubuntu22