A local mirror of download.docker.com at mirror.sepehrsabz.ir/docker-ce. It carries native package repositories for supported Linux distributions and static Docker binaries for Linux, macOS, and Windows.
The commands detect your architecture and release codename, install Docker's signing key from this mirror, then add the stable repository.
sudo apt update
sudo apt install -y ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg \
-o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://mirror.sepehrsabz.ir/docker-ce/linux/ubuntu $(. /etc/os-release && echo ${UBUNTU_CODENAME:-$VERSION_CODENAME}) stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io \
docker-buildx-plugin docker-compose-pluginsudo apt update
sudo apt install -y ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg \
-o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://mirror.sepehrsabz.ir/docker-ce/linux/debian $(. /etc/os-release && echo $VERSION_CODENAME) stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io \
docker-buildx-plugin docker-compose-pluginMirrored suites currently include Ubuntu jammy, noble, questing, and resolute; and Debian bullseye, bookworm, and trixie. The signing key is fetched from Docker because the mirror does not currently expose the Ubuntu or Debian gpg files; package indexes and payloads still come from SepehrSabz.
Select the distribution name used by the mirror. The repository file already contains the correct release and architecture variables.
# Change alma to: centos, rhel, rocky, or oracle as needed.
DISTRO=alma
sudo dnf -y install dnf-plugins-core
sudo curl -fsSL https://mirror.sepehrsabz.ir/docker-ce/linux/${DISTRO}/docker-ce.repo | \
sed 's|https://download.docker.com|https://mirror.sepehrsabz.ir/docker-ce|g' | \
sudo tee /etc/yum.repos.d/docker-ce.repo > /dev/null
sudo dnf install -y docker-ce docker-ce-cli containerd.io \
docker-buildx-plugin docker-compose-plugin
sudo systemctl enable --now dockerdocker-ce.repo files retain upstream download.docker.com URLs. The sed step redirects their package and signing-key URLs back through this mirror. Fedora is different: it exposes version directories but no top-level repo file, so confirm a release-specific path or use static binaries.Browse the stable directory, choose a versioned archive, and substitute its filename below.
curl -fLO https://mirror.sepehrsabz.ir/docker-ce/linux/static/stable/x86_64/docker-VERSION.tgz
tar xzvf docker-VERSION.tgz
sudo cp docker/* /usr/local/bin/
sudo dockerd &Browse Linux x86_64 files. Other mirrored architectures: aarch64, armel, armhf, ppc64le, and s390x.
# Apple silicon: aarch64 · Intel: x86_64
ARCH=aarch64
curl -fLO https://mirror.sepehrsabz.ir/docker-ce/mac/static/stable/${ARCH}/docker-VERSION.tgz
tar xzvf docker-VERSION.tgz
sudo install -m 0755 docker/docker /usr/local/bin/dockerBrowse macOS files. This archive supplies the Docker CLI only; it does not include Docker Desktop or a local daemon.
Invoke-WebRequest \
-Uri "https://mirror.sepehrsabz.ir/docker-ce/win/static/stable/x86_64/docker-VERSION.zip" \
-OutFile "$env:TEMP\docker.zip"
Expand-Archive "$env:TEMP\docker.zip" -DestinationPath "$env:ProgramFiles" -Force
& "$env:ProgramFiles\docker\dockerd.exe" --register-service
Start-Service dockerBrowse Windows x86_64 files. Static Windows Engine runs native Windows containers; use Docker Desktop if you need the typical Linux-container experience.
| Platform | Mirrored paths | Install type |
|---|---|---|
| Ubuntu | linux/ubuntu | apt packages |
| Debian / Raspberry Pi OS | linux/debian, linux/raspbian | apt packages |
| AlmaLinux / CentOS / RHEL / Rocky / Oracle | linux/{distro} — releases 7/8/9/10 vary | rpm packages |
| Fedora / SLES | linux/fedora, linux/sles | rpm packages |
| Generic Linux | linux/static | static binaries |
| macOS | mac/static — aarch64, x86_64 | CLI binary |
| Windows | win/static — x86_64 | static binaries |
# apt-based systems
apt-cache policy docker-ce | sed -n '1,12p'
# all installed engines
sudo systemctl status docker --no-pager
sudo docker version
sudo docker run --rm hello-worldapt-cache policy should list mirror.sepehrsabz.ir/docker-ce. The image in the final test comes from your configured container registry, not this Docker CE package mirror.
docker pull.Repository metadata and packages remain protected by Docker's signing key. Static archives are intended for manual installation and do not automatically create a complete service configuration on Linux or provide the Docker Desktop VM on macOS.