Get the App
SLTechnology News&Howtos  ›  Servers  › 

Introduction to Docker and practical application of Linux installation Docker

Shulou Source: shulou.com Published: 2022-06-02 20:28:23 11月12日 Update

1. Docker version

Community Edition (Community Edition, CE) Enterprise Edition (Enterprise Edition, EE)

2. Support platform

Linux (CentOS,Debian,Fedora,Oracle Linux,RHEL,SUSE and Ubuntu) MacWindows

3. CentOS7.x install Docker

# system configuration sed-I etc/selinux/config;setenforce 0systemctl stop firewalld for SELINUXANGENFORCINUXG Systemctl disable firewalld# installation dependency package yum install-y yum-utils device-mapper-persistent-data lvm2# add Docker package source official source yum-config-manager\-add-repo\ https://download.docker.com/linux/centos/docker-ce.repo domestic source yum-config-manager\-- add-repo\ https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # Install Docker CE yum install-y docker-ce# to start Docker service and set up boot systemctl start docker systemctl enable docker official document: https://docs.docker.com

4. Configure the accelerator

Https://hub.docker.com official image source https://www.daocloud.io/mirror domestic image source Linux example: curl-sSL https://get.daocloud.io/daotools/set_mirror.sh | sh-s http://f1361db2.m.daocloud.io this script can add-- registry-mirror to your Docker configuration file / etc/docker/daemon.json. Applicable to Ubuntu14.04, Debian, CentOS6, CentOS7, Fedora, Arch Linux, openSUSE Leap 42.1, other versions may be slightly different. Please visit the documentation for more details.

Tags: Official configuration documentation version Image different nuance Enterprise Accelerator platform File more example Community system script details Software package support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi NVidia Shulou Information Microsoft Apple