Merge pull request #46 from dlee35/master

Added docker_registry to centos and fixed service restart/enable
This commit is contained in:
Mike Reeves
2018-12-05 10:59:55 -05:00
committed by GitHub

View File

@@ -334,6 +334,10 @@ docker_install() {
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum -y update
yum -y install docker-ce docker-python python-docker
docker_registry
echo "Restarting Docker"
systemctl restart docker
systemctl enable docker
else
if [ $INSTALLTYPE == 'MASTERONLY' ] || [ $INSTALLTYPE == 'EVALMODE' ]; then