Skip to content

pogaku9/centos-base

 
 

Repository files navigation

CentOS Base

CentOS Base image with ssh and supervisor for managing services

Build

docker build -t ashrithr/centos-base .

Usage

Here are sample examples of using this image:

Detached mode

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

Attached Mode

  • docker run -it ashrithr/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/. For an example on using this base image look at hadoop-docker.

About

Docker CentOS base image with SSH and Supervisor configured

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%