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

How to install Docker in linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article introduces you how to install Docker in linux, the content is very detailed, interested friends can refer to, hope to be helpful to you.

Three core concepts of Docker: image, container and warehouse

Image: similar to the image of a virtual machine, as the saying goes, the installation file.

Containers: similar to a lightweight sandbox, containers create application running instances from images, which can be started, started, stopped, and deleted, and these containers are isolated and invisible from each other.

Repository: similar to a code repository, it is a centralized place for Docker to store image files.

A brief introduction to installing Docker on CentOS.

Prerequisites:

64-bit system

Kernel 3.10 +

1. Check the kernel version and return a value greater than 3.10.

$uname-r

two。 Users who use sudo or root privileges log in to the terminal.

3. Make sure yum is up to date

$yum update

4. Add yum Warehouse

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