<p>You must use</p>
<pre><code>registry.gitlab.com/gitlab-org/gitlab-runner/alpine-no-root
</code></pre>
<ul>
<li>The project is <code>gitlab-org</code></li>
<li>The domain is <code>gitlab.com</code></li>
<li>The registry is at <code>registry.gitlab.com</code></li>
</ul>
<p>The <a href="https://docs.gitlab.com/ee/user/packages/container_registry/#naming-convention-for-your-container-images" rel="nofollow noreferrer">naming convention on the GitLab registry is</a>,</p>
<pre><code>&lt;registry URL&gt;/&lt;namespace&gt;/&lt;project&gt;/&lt;image&gt;
</code></pre>
<p>So you want,</p>
<pre><code>registry.gitlab.com/gitlab-org/gitlab-runner/alpine-no-root
</code></pre>
<hr />
<h1>Easy way</h1>
<p>Click the clipboard icon to copy the url,</p>
<p><a href="https://i.sstatic.net/z49UF.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/z49UF.png" alt="icon for copy" /></a></p>
<p>You may think that copies the name, but it copies the full registry URL you want.</p>

CC BY-SA 4.0
2023-09-09T03:10:35.193Z
2023-09-09T03:10:35.193Z
Evan Carroll
<p>When I am <a href="https://gitlab.com/gitlab-org/gitlab-runner/container_registry/29547" rel="nofollow noreferrer">at a repo's container registry</a>, I can see this,</p>
<p><a href="https://i.sstatic.net/J4hEN.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/J4hEN.png" alt="enter image description here" /></a></p>
<p>However it's not clear ohw that URL works, the URL provided is</p>
<blockquote>
<p><code>gitlab-org/gitlab-runner/alpine-no-root</code></p>
</blockquote>
<p>But I can't run</p>
<pre><code>podman pull gitlab-org/gitlab-runner/alpine-no-root
</code></pre>
<p>It asks me to choose between the docker.io or quay.io registry, GitLab isn't an option. Moreover, if I try, to add <code>gitlab.org/</code>, I get an error</p>
<pre><code>$ podman pull &quot;gitlab.org/gitlab-org/gitlab-runner/alpine-no-root&quot;
Trying to pull gitlab.org/gitlab-org/gitlab-runner/alpine-no-root:latest...
Error: initializing image from source docker://gitlab.org/gitlab-org/gitlab-runner/alpine-no-root:latest: invalid character '&lt;' looking for beginning of value
</code></pre>
<p>And, if I try to specify <code>registry.gitlab.org</code> I get another -- different error -- and it can't find the repository,</p>
<pre><code>$ podman pull &quot;registry.gitlab.org/gitlab-org/gitlab-runner/alpine-no-root&quot;
Trying to pull registry.gitlab.org/gitlab-org/gitlab-runner/alpine-no-root:latest...
Error: initializing source docker://registry.gitlab.org/gitlab-org/gitlab-runner/alpine-no-root:latest: pinging container registry registry.gitlab.org: Get &quot;https://registry.gitlab.org/v2/&quot;: dial tcp: lookup registry.gitlab.org on 127.0.0.1:53: no such host
</code></pre>
<p>How do I pull this image?</p>

<gitlab><docker-registry>
What is the URL I provide to docker or podman to pull down a GitLab registry image?
Evan Carroll
# What is the URL I provide to docker or podman to pull down a GitLab registry image?

(Asked by: username_0 on 2023-09-09)

When I am at a repo's container registry, I can see this,

However it's not clear ohw that URL works, the URL provided is

gitlab-org/gitlab-runner/alpine-no-root

But I can't run
podman pull gitlab-org/gitlab-runner/alpine-no-root

It asks me to choose between the docker.io or quay.io registry, GitLab isn't an option. Moreover, if I try, to add gitlab.org/, I get an error
$ podman pull "gitlab.org/gitlab-org/gitlab-runner/alpine-no-root"
Trying to pull gitlab.org/gitlab-org/gitlab-runner/alpine-no-root:latest...
Error: initializing image from source docker://gitlab.org/gitlab-org/gitlab-runner/alpine-no-root:latest: invalid character '<' looking for beginning of value

And, if I try to specify registry.gitlab.org I get another -- different error -- and it can't find the repository,
$ podman pull "registry.gitlab.org/gitlab-org/gitlab-runner/alpine-no-root"
Trying to pull registry.gitlab.org/gitlab-org/gitlab-runner/alpine-no-root:latest...
Error: initializing source docker://registry.gitlab.org/gitlab-org/gitlab-runner/alpine-no-root:latest: pinging container registry registry.gitlab.org: Get "https://registry.gitlab.org/v2/": dial tcp: lookup registry.gitlab.org on 127.0.0.1:53: no such host

How do I pull this image?

**Tags:** gitlab, docker-registry


---

## 1 answers

### Answer by username_0 on 2023-09-09. Score: 1 | Accepted answer

You must use
registry.gitlab.com/gitlab-org/gitlab-runner/alpine-no-root


The project is gitlab-org
The domain is gitlab.com
The registry is at registry.gitlab.com

The naming convention on the GitLab registry is,
///

So you want,
registry.gitlab.com/gitlab-org/gitlab-runner/alpine-no-root


Easy way
Click the clipboard icon to copy the url,

You may think that copies the name, but it copies the full registry URL you want.


---

