932
edits
Changes
Installation instructions for docker
[[Category:OPS535]][[Category:OPS635]][[Category:peter.callaghan]][[Category:docker]]
= Centos 8 =
* Add the docker repo:
** yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
* Add the docker community edition package, adding the --nobest flag to avoid an error with a dependency:
** yum install --nobest docker-ce
* Update to get the newer version of that dependency:
** yum update -y
= Centos 7 =
* Add yum configuration manager:
** yum install yum-utils
* Add the docker repo:
** yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
* Add the docker community edition package:
** yum install docker-ce
= Centos 8 =
* Add the docker repo:
** yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
* Add the docker community edition package, adding the --nobest flag to avoid an error with a dependency:
** yum install --nobest docker-ce
* Update to get the newer version of that dependency:
** yum update -y
= Centos 7 =
* Add yum configuration manager:
** yum install yum-utils
* Add the docker repo:
** yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
* Add the docker community edition package:
** yum install docker-ce