Home >Operation and Maintenance >Docker >How to install docker by decompressing the tar package

How to install docker by decompressing the tar package

WJ
WJOriginal
2020-06-08 16:58:024124browse

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

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

tar -xvf docker-19.03.5.tgzcp docker/* /usr/bin/

3. Start the docker process

dockerd &

4. Start hello-world verification

docker run hello-world

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!

Statement:
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