Docker Note 1_To hide a blog

class=”markdown_views prism-atom-one-dark”> Docker Note 1 Looking at the learning video is the up master: Meeting the Mad God If you want to learn operation and maintenance, learn CI/CD, you can’t do without Docker. 1. Install Docker from 0 System: CentOS7 Yum sets Aliyun source, yum source update: (If this step is skipped, an error will be reported when starting Docker later) # Backup cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum clean all yum makecache yum update Install Docker: # Uninstall the old version yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine # Install Toolkit yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 # Set up Aliyun warehouse yum-config-manager \ –add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # Install Community Edition yum install docker-ce docker-ce-cli containerd.io Check if the installation is successful: # Start Docker systemctl start docker # run hello world # The docker run command will first check whether this image exists, and if it does not exist, it will go to the warehouse to pull it #Create a container from this image, this container runs an executable file, the executable file can produce the output you are currently seeing docker run hello-world…

Docker Note 1_To hide a blog

class=”markdown_views prism-atom-one-dark”> Docker Note 1 Looking at the learning video is the up master: Meeting the Mad God If you want to learn operation and maintenance, learn CI/CD, you can’t do without Docker. 1. Install Docker from 0 System: CentOS7 Yum sets Aliyun source, yum source update: (If this step is skipped, an error will be reported when starting Docker later) # Backup cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum clean all yum makecache yum update Install Docker: # Uninstall the old version yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine # Install Toolkit yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 # Set up Aliyun warehouse yum-config-manager \ –add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # Install Community Edition yum install docker-ce docker-ce-cli containerd.io Check if the installation is successful: # Start Docker systemctl start docker # run hello world # The docker run command will first check whether this image exists, and if it does not exist, it will go to the warehouse to pull it #Create a container from this image, this container runs an executable file, the executable file can produce the output you are currently seeing docker run hello-world…

Docker Note 1_To hide a blog

class=”markdown_views prism-atom-one-dark”> Docker Note 1 Looking at the learning video is the up master: Meeting the Mad God If you want to learn operation and maintenance, learn CI/CD, you can’t do without Docker. 1. Install Docker from 0 System: CentOS7 Yum sets Aliyun source, yum source update: (If this step is skipped, an error will be reported when starting Docker later) # Backup cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum clean all yum makecache yum update Install Docker: # Uninstall the old version yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine # Install Toolkit yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 # Set up Aliyun warehouse yum-config-manager \ –add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # Install Community Edition yum install docker-ce docker-ce-cli containerd.io Check if the installation is successful: # Start Docker systemctl start docker # run hello world # The docker run command will first check whether this image exists, and if it does not exist, it will go to the warehouse to pull it #Create a container from this image, this container runs an executable file, the executable file can produce the output you are currently seeing docker run hello-world…

Docker Note 1_To hide a blog

class=”markdown_views prism-atom-one-dark”> Docker Note 1 Looking at the learning video is the up master: Meeting the Mad God If you want to learn operation and maintenance, learn CI/CD, you can’t do without Docker. 1. Install Docker from 0 System: CentOS7 Yum sets Aliyun source, yum source update: (If this step is skipped, an error will be reported when starting Docker later) # Backup cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum clean all yum makecache yum update Install Docker: # Uninstall the old version yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine # Install Toolkit yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 # Set up Aliyun warehouse yum-config-manager \ –add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # Install Community Edition yum install docker-ce docker-ce-cli containerd.io Check if the installation is successful: # Start Docker systemctl start docker # run hello world # The docker run command will first check whether this image exists, and if it does not exist, it will go to the warehouse to pull it #Create a container from this image, this container runs an executable file, the executable file can produce the output you are currently seeing docker run hello-world…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索