您的位置:首页 > 运维架构 > Docker

Install VMware & centOS & docker

2019-11-03 20:56 1591 查看

1.    Download VMware for my  PC, which is Win7 & 32bit

https://www.7down.com/soft/3997.html

 

2.    Download CentOS 7.6 from

 https://www.centoschina.cn/download/23059.html

 

3.    After install VMware, then start install CentOs

     

Click next

    

Click Next

   

Click Next

Click Next

Finish

     

    Power on created CentOS for finish the rest installation with default settings.

    

     

4.    Configure centos network

cd /etc/sysconfig/network-scripts

ls –l ifcfg*
    

vi ifcfg-ens33

change to yes and reboot

    

ping www.baidu.com

   

5.  Use putty remote access centos

Check ip

   

Setup & check hostname (options)

   
   
   

6.  Install Docker

sudo yum install –y yum-utils

    

sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

   
   sudo yum install docker-ce
  
  
 

Try start docker

    sudo systemctl start docker

  
    

Check docker version

sudo docker version

    

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: