Page 1 of 3
Docker hub doesn't work
Posted: 01 Jun 2024, 15:02
by baf28
Hello.
The problem was hired on 30.05.2024. Docher Hub stopped working.
TerraMaster F2-223 5.1.131 device
SCR-20240601-lpwo.jpeg
In the settings, I added a mirror that works on my Ubuntu Linux, but it didn't work in TerraMaster.
https://mirror.gcr.io
https://dockerhub.timeweb.cloud
SCR-20240601-lpuo.jpeg
Tell me if the mirror doesn't work, is it a bug or how can I fix it?
Re: Docker hub doesn't work
Posted: 01 Jun 2024, 17:23
by TMzethar
Can you see the list of mirrors in the default configuration before you make any changes?
We will verify what you describe.
Re: Docker hub doesn't work
Posted: 01 Jun 2024, 19:50
by baf28
Before the changes, this did not work, as the docker hub blocked access. So I added mirrors, as I did on Synology. But it didn't work in terramaster.
Re: Docker hub doesn't work
Posted: 02 Jun 2024, 01:03
by IdiotBox
TOS6 .229 Similar problem.
Re: Docker hub doesn't work
Posted: 02 Jun 2024, 02:35
by DCCentR
Same for me on TOS 6.0.229. After adding other registries as mirrors or as the main address, the Registry page still blank.
Tried adding these:
https://dockerhub.timeweb.cloud,
https://mirror.gcr.io,
https://ghcr.io.
https://hub.docker.com/ now blocked in Russia since May 31.
Re: Docker hub doesn't work
Posted: 02 Jun 2024, 04:59
by XFNeo
Hi! The same question how to make registry-mirrors work?
Re: Docker hub doesn't work
Posted: 02 Jun 2024, 06:58
by samius
you can try use a proxy
https://huecker.io/
Re: Docker hub doesn't work
Posted: 02 Jun 2024, 13:41
by baf28
It's a very bad idea, because then all applications and DDNS will work through it's not clear which and whose proxy.
Re: Docker hub doesn't work
Posted: 02 Jun 2024, 14:40
by XFNeo
Proxy is also not working in daemon.json
I tried to add
Code: Select all
"proxies": {
"http-proxy": "socks5://95.217.168.125:1080",
"https-proxy": "socks5://95.217.168.125:1080",
"no-proxy": "*.test.example.com,.example.org,127.0.0.0/8"
}
to /Volume1/@apps/DockerEngine/conf/daemon.json and nothing.
Re: Docker hub doesn't work
Posted: 02 Jun 2024, 14:43
by XFNeo
Code: Select all
[user@TNAS-MATI ~]# cat /Volume1/@apps/DockerEngine/conf/daemon.json
{
"registry-mirrors": [
"https://mirror.gcr.io"
],
"proxies": {
"http-proxy": "socks5://95.217.168.125:1080",
"https-proxy": "socks5://95.217.168.125:1080",
"no-proxy": "*.test.example.com,.example.org,127.0.0.0/8"
},
"log-driver": "json-file",
"data-root": "/Volume1/@DockerData",
"pidfile": "/var/run/docker.pid",
"live-restore": true,
"bip": "172.17.0.1/16"
}
[user@TNAS-MATI ~]# service docker restart
[user@TNAS-MATI ~]# docker pull koenkk/zigbee2mqtt:1.38
Error response from daemon: error parsing HTTP 403 response body: invalid character '<' looking for beginning of value: "<html><body><h1>403 Forbidden</h1>\nSince Docker is a US company, we must comply with US export control regulations. In an effort to comply with these, we now block all IP addresses that are located in Cuba, Iran, North Korea, Republic of Crimea, Sudan, and Syria. If you are not in one of these cities, countries, or regions and are blocked, please reach out to https://hub.docker.com/support/contact/\n</body></html>\n"