Skip to content

aniforverizon/Docker_SSH_httpd_supervisor

Repository files navigation

CentOS Base

CentOS Base image with ssh and supervisor for managing services

Build

docker build -t acanubhav/centos-base .

Usage

Here are sample examples of using this image:

Detached mode

  • docker run -d acanubhav/centos-base runs supervisord in foreground mode
  • docker run -d acanubhav/centos-base touch test-file runs touch command first then supervisord in foreground mode and its configured services

Attached Mode

  • docker run -it acanubhav/centos-base /bin/bash runs supervisord, then attaches the interactive shell

Adding more services on top of this image

If you want to use this base image and launch services using supervisor, you could write supervisor configuration files and add them to /etc/supervisor.d/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published