Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Docker Learning-installation

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report