Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker container with supervisord, httpd, sshd, crond, rsyslogd on CentOS
Full Description


Docker container with supervisord, rsyslogd, crond, sshd on CentOS by Vagrant (not docker provider)

Build and Run container

vagrant up and vagrant ssh,

$ docker ps
CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS              PORTS                    NAMES
6e1af309faee        centos:spvsd        /usr/bin/supervisord   4 seconds ago       Up 3 seconds>22/tcp     kickass_mccarthy

SSH into container

from Vagrant

# ssh into Vagrant from local
$ vagrant ssh

# confirm container IP Address
$ docker inspect 6e1af309faee | grep IPAddress
        "IPAddress": "",

# ssh into container
$ ssh appuser@ # password: appuser

from Local

# ssh into container
$ ssh appuser@ -p 2222 # password: appuser
Docker Pull Command