关于docker认知和简单实践操作

docker的简单介绍

  什么是容器?

    虚拟化和容器的区别

      

 

 

 

1. docker安装

    yum install -y yum-utils device-mapper-persistent-data lvm2

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

    yum makecache fast

    yum install https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-selinux-17.03.2.ce-1.el7.centos.noarch.rpm 

    yum install -y docker-ce-17.03.2.ce-1.el7.centos.x86_64

2. 启动docker服务

    systemctl daemon-reload

    systemctl restart docker

 

  

posted on 2019-12-27 09:22  永远的大空翼  阅读(116)  评论(0编辑  收藏  举报