Skip to content

About

Simple docker files.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Based on Centos7 and it has ssh running

Build a image

$ docker build -t=jgois/docker_centos7_with_ssh

Run a container

$ docker run -d -P -t -i jgois/docker_centos7_with_ssh

or

$ docker run -d -P -p 0.0.0.0:2222:22 -t -i jgois/docker_centos7_with_ssh

Connect with ssh

$ ssh -p 2222 root@localhost
  • and the password is password

About

Simple docker files.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors