<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>dockerregistry &amp;mdash; LinuxPizza</title>
    <link>https://blogs.linux.pizza/tag:dockerregistry</link>
    <description>Personal notes and occasional posts - 100% human, 0% AI generated</description>
    <pubDate>Tue, 14 Apr 2026 12:14:40 +0000</pubDate>
    <item>
      <title>Create a simple docker-registry on your local machine</title>
      <link>https://blogs.linux.pizza/create-a-simple-docker-registry-on-your-local-machine</link>
      <description>&lt;![CDATA[There is many reasons why you would like to have local docker registry, and being cool is one of them. This is how you do it on Debian.&#xA;&#xA;Well, lets go!&#xA;&#xA;1&#xA; Install the package:&#xA;&#xA;apt install docker-registry&#xA;&#xA;2&#xA; Tell the machine where you are going to pull to, that the registry is &#34;unsafe&#34; (non-https):&#xA;&#xA;{&#xA;  &#34;insecure-registries&#34;:&#xA;    [&#xA;      &#34;docker.internal:5000&#34;,&#xA;      &#34;registry.linux.pizza:5000&#34;&#xA;    ]&#xA;}&#xA;3&#xA; Create a basic-auth on your registry:&#xA;&#xA;   htpasswd -Bbn dockeruser registrypassword   /etc/docker/registry/.htpasswd&#xA;&#xA;4&#xA; Login to the registry from your host:&#xA;&#xA;   docker login -u dockeruser registry.linux.pizza:5000&#xA;&#xA;Dont forget to restart docker!&#xA;&#xA;Have fun!&#xA;&#xA;#docker #dockerregistry #registry #debian #linux]]&gt;</description>
      <content:encoded><![CDATA[<h3 id="there-is-many-reasons-why-you-would-like-to-have-local-docker-registry-and-being-cool-is-one-of-them-this-is-how-you-do-it-on-debian" id="there-is-many-reasons-why-you-would-like-to-have-local-docker-registry-and-being-cool-is-one-of-them-this-is-how-you-do-it-on-debian">There is many reasons why you would like to have local docker registry, and being cool is one of them. This is how you do it on Debian.</h3>

<p>Well, lets go!</p>

<p>1
 Install the package:</p>

<pre><code>apt install docker-registry
</code></pre>

<p>2
 Tell the machine where you are going to pull to, that the registry is “unsafe” (non-https):</p>

<pre><code>{
  &#34;insecure-registries&#34;:
    [
      &#34;docker.internal:5000&#34;,
      &#34;registry.linux.pizza:5000&#34;
    ]
}
</code></pre>

<p>3
 Create a basic-auth on your registry:</p>

<pre><code>   htpasswd -Bbn dockeruser registrypassword &gt;/etc/docker/registry/.htpasswd
</code></pre>

<p>4
 Login to the registry from your host:</p>

<pre><code>   docker login -u dockeruser registry.linux.pizza:5000
</code></pre>

<p>Dont forget to restart docker!</p>

<p>Have fun!</p>

<p><a href="https://blogs.linux.pizza/tag:docker" class="hashtag"><span>#</span><span class="p-category">docker</span></a> <a href="https://blogs.linux.pizza/tag:dockerregistry" class="hashtag"><span>#</span><span class="p-category">dockerregistry</span></a> <a href="https://blogs.linux.pizza/tag:registry" class="hashtag"><span>#</span><span class="p-category">registry</span></a> <a href="https://blogs.linux.pizza/tag:debian" class="hashtag"><span>#</span><span class="p-category">debian</span></a> <a href="https://blogs.linux.pizza/tag:linux" class="hashtag"><span>#</span><span class="p-category">linux</span></a></p>
]]></content:encoded>
      <guid>https://blogs.linux.pizza/create-a-simple-docker-registry-on-your-local-machine</guid>
      <pubDate>Mon, 16 May 2022 11:26:33 +0000</pubDate>
    </item>
  </channel>
</rss>