Public Repository

Last pushed: 3 years ago
Short Description
CentOS 6.6 Base Minimal Install - 242.7MB
Full Description

Modifications from Raw Minimal Installation Base:

Install required packages

yum -y install net-tools vim-enhanced wget openssh-clients nfs-utils screen yum-utils ntp tar

Install the Epel, Remi, and Postgres 9.3 Repositories.

cd /etc/yum.repos.d/
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

Modify Remi Repo to include PHP 5.5

Enable base and PHP 5.5 in Remi

Install the Postres 9.3 Repository

rpm -ivh

Configure SSH

vim /etc/ssh/sshd_config 
UseDNS no
GSSAPIAuthentication no

Configure SELinux

vim /etc/sysconfig/selinux
selinux = disabled

Turn off IPTables

chkconfig iptables off
chkconfig ip6tables off

Configure NTP and set it in the bashrc so it runs when the container is started (chkconfig does not work in containers)

echo "service ntpd start" >> ~/.bashrc
echo "service rsyslog start" >> ~/.bashrc
echo "service crond start" >> ~/.bashrc

Update the OS

yum -y update

Set Runtime Variable (default command to run when lauched via docker run)

CMD /bin/bash


rm -f /etc/yum.repos.d/*.rpm
rm -fr /var/cache/*


docker export c30e102f7c51 | docker import - darkside/centos66
Docker Pull Command