<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Installing when registry.docker.com is not available: using registry-mirror in docker daemon config]]></title><description><![CDATA[<p dir="auto">When running a normal ./cloudron-setup in a restricted network environment or during a docker hub outage:</p>
<pre><code>2026-06-21T09:58:41 ==&gt; installer: downloading new addon images
2026-06-21T09:58:41 ==&gt; installer:      Pulling docker images: registry.docker.com/cloudron/graphite:3.5.3@sha256:44ddbfd8c30d3eaa4fa6db207f4e18a4f1749ce6ed82d44e9e9a233a96febced registry.docker.com/cloudron/mail:3.18.2@sha256:130d518db6d56aa536f19a4901d7bc265666927165205aed302e6450c51791c7 registry.docker.com/cloudron/mongodb:6.3.0@sha256:8757111970a99fb9a9880f02a2a77fe9cb7368745fcff555bf528471ecb50ec3 registry.docker.com/cloudron/mysql:3.6.0@sha256:12fd9d8d92a41b78ca422ef05d7dade75eba4f8647b0fabaa873ba6efb607783 registry.docker.com/cloudron/postgresql:6.4.0@sha256:759c5c68e8f3a91592911177dcd2e9e39de48528b7b1bab659bae2f5ebd2d207 registry.docker.com/cloudron/redis:3.8.0@sha256:54a12252edbc326fd4d10e8c00836cc68776f3463f22366279f7cd8d4dafd20f registry.docker.com/cloudron/sftp:3.10.0@sha256:c3a65928ef5cf7ba0750e93d9c605fb39e7fec02de7db05cffe80927b39943de registry.docker.com/cloudron/turn:1.8.2@sha256:9f3609969a5757837505c584c98246a3035a84a273b9be491665ac026423fd5f
Error response from daemon: Get "https://registry.ipv4.docker.com/v2/": net/http: TLS handshake timeout
</code></pre>
<p dir="auto">I configured the mirror via <code>/etc/docker/daemon.json</code> with e.g <code>{"registry-mirrors": ["https://mirror.gcr.io"]}</code></p>
<p dir="auto">But currently cloudron uses <a href="http://registry.docker.com" target="_blank" rel="noopener noreferrer nofollow ugc">registry.docker.com</a> as an explicit registry host, so it bypasses the Docker Hub mirror registry config.</p>
<p dir="auto">Patching <code>src/infra_version.js</code> to replace <code>registry.docker.com</code> with <code>docker.io</code> enables the proxying.</p>
<p dir="auto">The ipv6 workaround implemented in or after <a href="https://forum.cloudron.io/topic/7420/ipv6-only-cloudron">https://forum.cloudron.io/topic/7420/ipv6-only-cloudron</a> would also need to be patched, but otherwise this seems a net win?</p>
]]></description><link>https://forum.cloudron.io/topic/15629/installing-when-registry.docker.com-is-not-available-using-registry-mirror-in-docker-daemon-config</link><generator>RSS for Node</generator><lastBuildDate>Sun, 21 Jun 2026 21:43:46 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15629.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 Jun 2026 10:18:32 GMT</pubDate><ttl>60</ttl></channel></rss>