Docker Learning-installation
Preface in our daily work, we often use docker containers. Sometimes work needs, sometimes learning needs, as developers, it is particularly important for us to use docker containers, today to share with you the process of personal installation of docker. I. systematic preparation
In the development, most of our servers use the Linux operating system, and the docker installation environment in this article uses the minimum centos7 system. For the installation of the system in the virtual machine, please refer to the blog article: Linux virtual machine CentOS minimum system installation.
Prepare to update the yum source before installing docker
Yum update uninstalls the old version of docker from the system
Yum remove docker docker-common docker-selinux docker-engine dependencies required to install docker
Yum install-y yum-utils device-mapper-persistent-data lvm2 sets the yum source of docker
Yum-config-manager-- add-repo https://download.docker.com/linux/centos/docker-ce.repo III. Install docker installation
Yum install docker-ce-y starts the docker engine
Systemctl start docker View version
Docker version