[TOC]
This repository contains the sources for the following docker base images:
# Pull image
git clone https://github.com/idoall/docker.git
cd ubuntu16.04-sshd
# hack hack hack
# build
docker build -t idoall/ubuntu16.04-sshd .
# run
docker run -d \
--name sshd \
--hostname sshd \
-p 2222:2222 \
idoall/ubuntu16.04-sshd
# access the contain
docker exec -it sshd /bin/bash
# ssh user:work password:123456
ssh work@<your ip> -p 2222