Skip to content

doomkin/ubuntu-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

doomkin/ubuntu-ssh Dockerfile

This repository contains Dockerfile of Ubuntu for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull doomkin/ubuntu-ssh

  3. Alternatively, you can build an image from Dockerfile: docker build -t="doomkin/ubuntu-ssh" github.com/doomkin/ubuntu-ssh

Run

sudo docker run --name ssh -it -d -P doomkin/ubuntu-ssh

Login

eval `ssh-agent -s`
ssh-add ssh/id_rsa
ssh root@localhost -p `sudo docker port ssh 22 | cut -d":" -f2`

About

Ubuntu with OpenSSH server Dockerfile for trusted automated Docker builds.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published