Install Docker CE on Oracle Linux 7

NeilZhang
NeilZhang
管理员
140
文章
106.8千
浏览
Linux评论0字数 88阅读0分17秒阅读模式

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.

 
  • 本文由 NeilZhang 发表于16/08/2023 14:13:03
  • Repost please keep this link: https://www.dbcloudsvc.com/blogs/linux/install-docker-ce-on-oracle-linux-7/
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定