Get the App
SLTechnology News&Howtos  ›  Servers  › 

Docker Learning-installation

Shulou Source: shulou.com Published: 2022-06-03 04:32:33 09月15日 Update

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

Tags: System minimum container preparation work development importance operating system personal personnel preface especially regular meeting engine server version environment process learning update Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Microsoft Shulou Information NVidia Xiaomi