Kubernetes/Docker/Docs/OpeneUleros部署Docker.md
offends 7a2f41e7d6
All checks were successful
continuous-integration/drone Build is passing
synchronization
2024-08-07 18:54:39 +08:00

593 B

本文作者:丁辉

OpeneUleros部署Docker

OpeneUleros 为 dnf 包管理工具, 所以特意记录本次安装

基础配置

  1. 修改chrony时间同步配置

    sed -i 's/pool pool.ntp.org iburst/pool ntp.aliyun.com/g' /etc/chrony.conf
    
  2. 重启chrony服务, 并检查

    systemctl restart chronyd && chronyc sources
    

安装 Docker

  1. 更新镜像源缓存

    dnf makecache
    
  2. 安装

    dnf install docker
    
  3. 启动

    systemctl start docker
    systemctl enable docker