HUB
Sign inSign up

kinogmt/centos-ssh

By kinogmt

•Updated almost 11 years ago

CentOS with SSH

Image
32

1M+

kinogmt/centos-ssh repository overview

== Build Docker Images for CentOS with SSH Access

=== Dockerfile

https://github.com/kinogmt/docker-containers/blob/master/centos-ssh/Dockerfile[Dockerfile⁠]

=== Build Run following command in the directory with Dockerfile above.


⁠% docker build -t centos-ssh .

=== Run

==== Start one container simply using docker run command


⁠% docker run -d -h c1 --name c1

==== Start multiple containers using docker-compose command

See https://github.com/kinogmt/docker-containers/blob/master/centos-ssh/compose.adoc[here⁠].

Tag summary
Recent tags
Content type
Image
Digest
Size
256.7 MB
Last updated
almost 11 years ago
docker pull kinogmt/centos-ssh:latest