Install Docker CE on Oracle Linux 7

  • 0 views
  • Read

It is a really easy task while I cannot find a complete command list to finish it, so I list the commands here to help others having similar request.

yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install oraclelinux-developer-release-el7 oracle-epel-release-el7
yum-config-manager --disable ol7_developer #For PROD env, better to disable it.
yum install --enablerepo=ol7_optional_latest --enablerepo=ol7_developer docker-ce docker-ce-selinux docker-ce-rootless-extras docker-compose-plugin

For Red Hat Linux 7, maybe have to enable the rhel-7-server-extras-rpms and rhel-7-server-optional-rpms repos.

  • by Published on 16/08/2023 14:13:03
  • Repost please keep this link: https://www.dbcloudsvc.com/blogs/linux/install-docker-ce-on-oracle-linux-7/
匿名

Comment

Anonymous Write

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

Decide