arvindr226/docker-ssh

By arvindr226

Updated almost 8 years ago

Docker image ready with ssh server

Image
1

70

Openssh server enabled in the Ubuntu 14.04 images on Docker.

Git clone the repository

$ git clone https://github.com/arvindr226/ssh

Get in the repository and make docker image build.

$ cd ssh 
$ docker build -t arvindr226/ubunutu14.04-ssh .

Docker run using below command.

$ docker -d --name ssh -p 2222:22 arvindr226/ubunutu14.04-ssh

To Check the ssh login like below

$ ssh root@localhost -p 2222

Default password-: screencast

Docker Pull Command

docker pull arvindr226/docker-ssh