Install VMware & centOS & docker

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

     blob.png

Click next

    blob.png

Click Next

    blob.png

Click Next

blob.png

Click Next

blob.png

Finish

      blob.png

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

    blob.png

     blob.png

4.    Configure centos network

cd /etc/sysconfig/network-scripts

ls –l ifcfg*
    blob.png

vi ifcfg-ens33

change to yes and reboot

    blob.png

ping www.baidu.com

    blob.png

5.  Use putty remote access centos

Check ip

    blob.png

Setup & check hostname (options)

    blob.png
   blob.png
   blob.png

6.  Install Docker

sudo yum install –y yum-utils

    blob.png

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

   blob.png
   sudo yum install docker-ce
  blob.png
  blob.png
 

Try start docker

    sudo systemctl start docker

  blob.png
    

Check docker version

sudo docker version

    blob.png

猜你喜欢

转载自blog.51cto.com/5927467/2447427