Difference between revisions of "OPS635 installation docker"
(Installation instructions for docker) |
m (Addign instructions for CentOS 9 Stream) |
||
(One intermediate revision by the same 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: |
Revision as of 14:55, 6 October 2022
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