dhanar10 / debian-init-ssh-docker

A Debian container anti-pattern with systemd init and ssh server to mimic a standalone headless system for development and testing purposes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

debian-init-ssh-docker

A Debian container anti-pattern with systemd init and ssh server to mimic a standalone headless system for development and testing purposes

Requirements

  • avahi-daemon
  • bash
  • docker
  • git
  • ssh

Usage

Deployment

$ git clone https://github.com/dhanar10/debian-init-ssh-docker.git
$ cd debian-init-ssh-docker
$ bash deploy.sh --name sandbox --hostname sandbox

SSH Access

$ ssh user@sandbox.local # Default password: user

Notes

Once deployed, the container will run in the background and it will start and stop together with the host unless it is stopped explicitly

References

About

A Debian container anti-pattern with systemd init and ssh server to mimic a standalone headless system for development and testing purposes


Languages

Language:Dockerfile 52.9%Language:Shell 47.1%