Difference between revisions of "OPS635 installation docker"
(Installation instructions for docker) |
m (Protected "OPS635 installation docker": OER transfer ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:OPS535]][[Category:OPS635]][[Category:peter.callaghan]][[Category:docker]] | [[Category:OPS535]][[Category:OPS635]][[Category:peter.callaghan]][[Category:docker]] | ||
+ | |||
+ | = Centos 9 = | ||
+ | * Add the docker repo: | ||
+ | ** dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | ||
+ | * Add the docker community edition package: | ||
+ | ** dnf install docker-ce | ||
= Centos 8 = | = Centos 8 = | ||
* Add the docker repo: | * Add the docker repo: | ||
** yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | ** yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | ||
− | * Add the docker community edition package | + | * Add the docker community edition package: |
− | ** yum install | + | ** yum install docker-ce |
− | * Update | + | * Update: |
** yum update -y | ** yum update -y | ||
+ | |||
= Centos 7 = | = Centos 7 = | ||
* Add yum configuration manager: | * Add yum configuration manager: |
Latest revision as of 19:41, 12 June 2023
Centos 9
- Add the docker repo:
- dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
- Add the docker community edition package:
- dnf 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:
- yum install docker-ce
- Update:
- 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