Public | Automated Build

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

docker-centos-supervisord

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        0.0.0.0:2222->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": "172.17.0.2",

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

from Local

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

Comments (0)