久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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. 站長資訊網
      最全最豐富的資訊網站

      docker支持centos6安裝嗎

      docker支持centos6安裝;官方文檔要求安裝docker需要“Linux kernel”至少要在3.8以上,并且docker只能運行在64位系統(tǒng)中,由于“RHEL6”和“CentOS6”的內核版本為2.6,因此必須要先給“CentOS6”系統(tǒng)升級內核之后才能安裝。

      docker支持centos6安裝嗎

      本教程操作環(huán)境:centos6.5系統(tǒng)、docker19.03版、Dell G3電腦。

      docker支持centos6安裝

      官方文檔要求Linux kernel至少3.8以上,且docker只能運行在64位的系統(tǒng)中。由于RHEL6和CentOS6的內核版本為2.6,因此必須要先升級內核。

      Docker是一個開源的應用容器引擎,可以輕松的為任何應用創(chuàng)建一個輕量級的、可移植的、自給自足的容器。利用Linux的LXC、AUFS、Go語言、cgroup實現了資源的獨立,可以很輕松的實現文件、資源、網絡等隔離,其最終的目標是實現類似PaaS平臺的應用隔離。

      下面以CentOS6.5(64位)為例,介紹下docker安裝步驟和使用方法:

      一、升級內核(帶aufs模塊)

      1、yum安裝帶aufs模塊的3.10內核

      cd  /etc/yum .repos.d  wget http: //www .hop5. in /yum/el6/hop5 .repo yum  install  kernel-ml-aufs kernel-ml-aufs-devel

      2、修改grub的主配置文件/etc/grub.conf,設置default=0,表示第一個title下的內容為默認啟動的kernel(一般新安裝的內核在第一個位置)。

      docker支持centos6安裝嗎

      3、重啟系統(tǒng),這時候你的內核就成功升級了。

      [root@localhost ~] # uname -r 3.10.5-3.el6.x86_64

      查看內核是否支持aufs:

      [root@localhost ~] # grep aufs /proc/filesystems nodev    aufs

      二、安裝docker

      1、首先關閉selinux:

      setenforce 0 sed  -i  '/^SELINUX=/cSELINUX=disabled'  /etc/selinux/config

      2、在Fedora EPEL源中已經提供了docker-io包,下載安裝epel:

      rpm -ivh http: //mirrors .sohu.com /fedora-epel/6/x86_64/epel-release-6-8 .noarch.rpm sed  -i  's/^mirrorlist=https/mirrorlist=http/'  /etc/yum .repos.d /epel .repo

      3、yum安裝docker-io:

      yum -y  install  docker-io

      docker支持centos6安裝嗎

      4、啟動docker:

      service docker start

      docker支持centos6安裝嗎

      5、查看docker版本:

      docker支持centos6安裝嗎

      查看docker日志:

      cat  /var/log/docker

      推薦學習:《docker視頻教程》

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