How to install docker by decompressing the tar package

WJ
Release: 2020-06-08 16:58:02
Original
4039 people have browsed it

How to install docker by decompressing the tar package

How to install docker by decompressing the tar package?

The following steps are verified in centos7 and debian10

1. Download the installation package through the official website

wget https://download.docker.com/linux/static/stable/x86_64/docker-19.03.5.tgz
Copy after login

2. Unzip and copy the binary file to the bin directory

tar -xvf docker-19.03.5.tgzcp docker/* /usr/bin/
Copy after login

3. Start the docker process

dockerd &
Copy after login

4. Start hello-world verification

docker run hello-world
Copy after login

Related recommendations: docker tutorial

The above is the detailed content of How to install docker by decompressing the tar package. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!