Difference between revisions of "OPS635 installation docker"
(Installation instructions for docker) |
(No difference)
|
Revision as of 18:22, 18 May 2020
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