久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      CentOS 7.x 安裝 Docker-ce

      CentOS 7.x 安裝 Docker-ce

      CentOS 7.0, CentOS 7.2:

      cat > /etc/yum.repos.d/docker-main.repo << -‘EOF’
      [docker-main-repo]
      name=Docker main Repository
      baseurl=https://yum.dockerproject.org/repo/main/centos/7
      enabled=1
      gpgcheck=1
      gpgkey=https://yum.dockerproject.org/gpg
      -EOF

      yum install docker-engine -y
      systemctl start docker

      CentOS 7.4:

      yum install -y yum-utils

      yum-config-manager –add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

      yum install -y docker-ce

      systemctl start docker

       

      cat > /etc/docker/daemon.json << -‘EOF’
      {
       “registry-mirrors”: [“https://registry.docker-cn.com”]
      }
      -EOF

       

      systemctl restart docker

      注意:這里的服務(wù)器系統(tǒng)時(shí)間需要設(shè)置為中國(guó)時(shí)區(qū),時(shí)間不同可能會(huì)導(dǎo)致鏡像無法下載,很多人喜歡用虛擬機(jī)來做實(shí)驗(yàn),最好把命令放到定時(shí)任務(wù)中。

      ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
      /usr/sbin/ntpdate ntp1.aliyun.com

      crontab -e

      添加

      */5 * * * * /usr/sbin/ntpdate ntp1.aliyun.com > /dev/null 2>&1

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)