Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Create motd (Message Of The Day) file.

Generate RSA ssh key

ssh-keygen -f ssh-key -t rsa

Build container

docker build -t ubuntu-sshd .

Run containter on port 50

docker run -d -p 50:22 ubuntu-sshd

SSH to container

ssh -i ssh-key -o StrictHostKeyChecking=no -p 50 -v root@$(boot2docker ip)
Docker Pull Command
Owner
mrh666
Source Repository

Comments (0)