Note: This mirror only provides Docker packages for Debian/Ubuntu/Fedora/CentOS/RHEL, not from DockerHub.
Auto-Install
Docker provides an automated script for configuration and installation, supporting installation on Debian, RHEL, SUSE series, and their derivatives.
The following assumes that:
- You are the root user, or have sudo privileges, or know the root password.
- Your system has curl or wget installed.
Debian/Ubuntu/Raspbian User
The following content is modified based on the official doc.
If you have previously installed Docker, please uninstall it first.
First, install dependencies.
Trust Docker's GPG key and add the repository.
Finally, install.
Fedora
The following content is modified based on the official doc.
If you have previously installed Docker, please uninstall it first.
Install dependencies, download the repo file, and replace the software repository address with a mirror site.
Finally, install.
CentOS/RHEL
The following content is modified based on the official doc.
If you have previously installed Docker, please uninstall it first.
Install dependencies, download the repo file, and replace the software repository address with a mirror site.
Finally, install.