How to Use
Docker Hub Unbanned
We won! Docker Hub is available again in Russia.
Using proxies or mirrors is no longer required. We recommend removing them from the Docker configuration.
1. SOCKS5 Proxy
Works only with Docker Engine 23.0 and above
Limitations
Proxy connects only to registry-1.docker.io
and other servers necessary for Docker Hub to work. To access other resources, such as ghcr.io
, specify their addresses in the no-proxy
parameter.
This method eliminates the possibility of traffic interception and image tampering.
By using a SOCKS5 proxy, you receive data from the original sources without any modifications. Additionally, SSL certificate verification is performed, reducing the risk to virtually zero.
Config example (located here)
{
"proxies": {
"https-proxy": "socks5://proxy.huecker.io:443",
"no-proxy": "huecker.io,ghcr.io,*.test.example.com,.example.org,127.0.0.0/8"
}
}
If you used
registr>y-mirrors
, remove it from the config.
IP:
95.217.168.125
, ports:1080
,443
We recommend using a domain name, the IP address is not guaranteed to be constant.
Restart Docker (systemd)
$ systemctl restart docker
2. As a mirror of docker.io
Act wisely!
By using any mirrors, you expose yourself to security risks. Third parties can intercept and modify all traffic, including logins and passwords.
Config (located here)
{
"registry-mirrors": ["https://huecker.io"]
}
Restart Docker (systemd)
$ systemctl restart docker
Now, when attempting to pull an image, Docker will first try to use the specified mirrors.
3. Explicitly specifying the address
$ docker pull huecker.io/library/alpine:latest
$ docker pull huecker.io/n8nio/n8n:latest
Path to Docker Configuration
Operating System | Path to configuration file |
---|---|
Linux, regular setup | /etc/docker/daemon.json |
Linux, rootless mode | ~/.config/docker/daemon.json |
macOS | ~/.docker/daemon.json |
OrbStack | Settings -> Docker -> Advanced engine config |
Windows | C:\ProgramData\docker\config\daemon.json |
Docker Desktop | Preferences -> Docker engine |