Docker - CentOS 7

by usatestprep_ronnie
11 deployments · 7 still active · last rev. 2 years ago

Docker (latest version) running on CentOS 7

Based off of published instructions here:

Compatible with: CentOS 7

# Prep packages from base install
yum -y erase docker docker-common container-selinux docker-selinux
yum -y update

# Install tools needed for docker, docker repo, and later version of docker
yum -y install yum-utils
yum-config-manager --add-repo
yum makecache fast
yum -y install docker-engine

# Enable and start the service
systemctl enable docker
systemctl start docker