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

Installation and uninstallation of Docker

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces "installation and uninstallation of Docker". In daily operation, I believe many people have doubts about the installation and uninstallation of Docker. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "installation and uninstallation of Docker"! Next, please follow the editor to study!

(1) installation requirements

This installation is aimed at the docker1.13.0 version and uses the overlay2 storage driver, so centos7.2 or above is required. 7.2.1511 is recommended.

Before installing docker, make sure that iptables is already installed on the machine.

(2) Uninstall docker

Uninstall docker that is already installed.

Rpm-qa | grep docker # query the installed docker rpm packages. Yum-y remove docker.x86_64 # uninstalls all programs related to docker. Yum-y remove docker-selinux.x86_64

(3) install docker

1. Install the yum source

Source 1: this yum source is the official yum source, including all operating system dependent libraries

Sudo tee / etc/yum.repos.d/docker.repo

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