Centos7 + ssh + supervisor
383
This is an extension of centos:centos7 base image and includes supervisor and sshd. Supervisor allows you to launch multiple processes in a container ssh allow you to take access of the container. (userid; paswd--> root ; root)
Building the Image from Docker file
sudo docker build -t mursilsayed/centos7-ssh-supervisor .
Launching the container You can create a container of this image by using the following command
sudo docker run -itd -p 0.0.0.0:2222:22 mursilsayed/centos7-ssh-supervisor
Accessing the container via ssh from your host machine
ssh root@localhost -p 2222
pswd: root
Content type
Image
Digest
sha256:fa7ce4bbc…
Size
108.3 MB
Last updated
almost 11 years ago
docker pull mursilsayed/centos7-ssh-supervisor