<blockquote>
<p>A virtual repository is a collection of local, remote and other virtual repositories accessed through a single logical URL.</p>
<p>A virtual repository hides the access details of the underlying repositories letting users work with a single, well-known URL. The underlying participating repositories and their access rules may be changed without requiring any client-side changes.</p>
</blockquote>
<p>Quote from the <a href="https://www.jfrog.com/confluence/display/RTF/Virtual+Repositories" rel="nofollow noreferrer">JFrog Artifactory User Guide</a>.</p>

CC BY-SA 4.0
2019-05-17T23:50:30.597Z
:( not good enough of an explanation for me. a bit too abstrat and bland still. im currently trying to figure this out too.
dtc
CC BY-SA 4.0
2019-05-19T21:01:10.230Z
@dtc what's unclear? You have a local repo, which is a storage for local files, you have a remote repo, which is a proxy for other repositories and you have virtual which gives access to any number of other repositories via a single URL.
JBaruch
CC BY-SA 4.0
2019-05-21T17:42:31.710Z
Well, I understand it at this point. It's a mix of "I don't understand package managers that well" and "words go in one ear and out the other." In general for jfrog artifactory, I don't think there are enough visual examples and clear enough descriptions of use cases, context for beginners that are onboarding.
dtc
CC BY-SA 4.0
2019-01-04T00:10:10.417Z
2019-01-04T00:10:10.417Z
2020-06-18T08:28:10.803Z
JBaruch
<p>Artifactory allows you to define a virtual repository which is a collection of local, remote and other virtual repositories accessed through a single logical URL.</p>

<p>A virtual repository hides the access details of the underlying repositories letting users work with a single, well-known URL. The underlying participating repositories and their access rules may be changed without requiring any client-side changes.</p>

CC BY-SA 4.0
2018-08-07T10:39:05.240Z
2018-08-07T10:39:05.240Z
Balaji L S
<p><a href="https://jfrog.com/glossary/local-repository/" rel="nofollow noreferrer">Local repositories</a> serve artifacts from your local storage. These are found in paths like this one:</p>
<p><code>http://&lt;host&gt;:&lt;port&gt;/artifactory/&lt;local-repository-name&gt;/&lt;artifact-path&gt;</code></p>
<p><a href="https://jfrog.com/glossary/remote-repository/" rel="nofollow noreferrer">Remote repositories</a> act as proxies to remote locations which may e.g. be other Artifactory servers. They also provide caching. These are found in paths like this one:</p>
<p><code>http://&lt;host&gt;:&lt;port&gt;/artifactory/&lt;remote-repository-name&gt;/&lt;artifact-path&gt;</code></p>
<p><a href="https://jfrog.com/glossary/virtual-repository/" rel="nofollow noreferrer">Virtual repositories</a> provide a way to logically group many repositories under a common name. Example path is following:</p>
<p><code>http://&lt;host&gt;:&lt;port&gt;/artifactory/&lt;virtual-repository-name&gt;/&lt;artifact-path&gt;</code></p>
<p>There is a default virtual repository called <code>repo</code> which groups all local and remote repositories.</p>
<p>Please try this article from JFrog for more details. It covers local, remote and virtual repositories in a friendly way:</p>
<p><a href="https://www.jfrog.com/confluence/display/RTF20/Understanding+Repositories" rel="nofollow noreferrer">https://www.jfrog.com/confluence/display/RTF20/Understanding+Repositories</a></p>

CC BY-SA 4.0
2019-11-19T08:43:15.583Z
Hi there. Since links on the web may be ephemeral, could you please summarise the salient points of the article in the answer itself? Thanks!
Bruce Becker
CC BY-SA 4.0
2019-11-20T15:44:03.210Z
Sure, post edited.
luki
CC BY-SA 4.0
2019-11-18T22:25:50.300Z
2024-02-05T21:10:42.743Z
2024-02-05T21:10:42.743Z
luki
<p>I want to understand what is a virtual repository in the context of Artifacts Repository Manager.</p>

<p>Before that, I referred the documentation. But, I didn't get the explanation as I was new to DevOps that time. Thanks.</p>

<blockquote>
  <p>A virtual repository is a collection of local, remote and other
  virtual repositories accessed through a single logical URL.</p>
  
  <p>A virtual repository hides the access details of the underlying
  repositories letting users work with a single, well-known URL. The
  underlying participating repositories and their access rules may be
  changed without requiring any client-side changes.</p>
</blockquote>

<p>Above is the documentation definition, my doubt is how virtual repositories are connected to either Local/Remote Repository.</p>

CC BY-SA 4.0
2019-01-04T00:04:43.987Z
What's up with the downvotes? It's a legit question.
JBaruch
CC BY-SA 4.0
2019-01-04T08:46:36.287Z
This question doesn't show any research effort @JBaruch, there's not even a word from the OP showing they did read Artifactory documentation and find it unclear on some point. Proof being your answer is just quoting the documentation, this site is not here to rehash products documentation.
Tensibai
<artifactory><nexus>
What is a virtual repository in JFrog Artifactory / Artifact Repository Manager?
omkar sirra
# What is a virtual repository in JFrog Artifactory / Artifact Repository Manager?

(Asked by: username_0 on 2018-08-02)

I want to understand what is a virtual repository in the context of Artifacts Repository Manager.

Before that, I referred the documentation. But, I didn't get the explanation as I was new to DevOps that time. Thanks.

> A virtual repository is a collection of local, remote and other
> virtual repositories accessed through a single logical URL.
>
> A virtual repository hides the access details of the underlying
> repositories letting users work with a single, well-known URL. The
> underlying participating repositories and their access rules may be
> changed without requiring any client-side changes.

Above is the documentation definition, my doubt is how virtual repositories are connected to either Local/Remote Repository.

**Tags:** artifactory, nexus

> **Comments:**
> **username_1**: What's up with the downvotes? It's a legit question.  
> **username_2**: This question doesn't show any research effort @username_1, there's not even a word from the OP showing they did read Artifactory documentation and find it unclear on some point. Proof being your answer is just quoting the documentation, this site is not here to rehash products documentation.  

---

## 3 answers

### Answer by username_5 on 2019-11-18. Score: 5 | Accepted answer

[Local repositories](https://jfrog.com/glossary/local-repository/) serve artifacts from your local storage. These are found in paths like this one:

`http://:/artifactory//`

[Remote repositories](https://jfrog.com/glossary/remote-repository/) act as proxies to remote locations which may e.g. be other Artifactory servers. They also provide caching. These are found in paths like this one:

`http://:/artifactory//`

[Virtual repositories](https://jfrog.com/glossary/virtual-repository/) provide a way to logically group many repositories under a common name. Example path is following:

`http://:/artifactory//`

There is a default virtual repository called `repo` which groups all local and remote repositories.

Please try this article from JFrog for more details. It covers local, remote and virtual repositories in a friendly way:

<https://www.jfrog.com/confluence/display/RTF20/Understanding+Repositories>

> **Comments:**
> **username_6**: Hi there. Since links on the web may be ephemeral, could you please summarise the salient points of the article in the answer itself? Thanks!  
> **username_5**: Sure, post edited.  

---

### Answer by username_1 on 2019-01-04. Score: 3

> A virtual repository is a collection of local, remote and other virtual repositories accessed through a single logical URL.
>
> A virtual repository hides the access details of the underlying repositories letting users work with a single, well-known URL. The underlying participating repositories and their access rules may be changed without requiring any client-side changes.

Quote from the [JFrog Artifactory User Guide](https://www.jfrog.com/confluence/display/RTF/Virtual+Repositories).

> **Comments:**
> **username_3**: :( not good enough of an explanation for me. a bit too abstrat and bland still. im currently trying to figure this out too.  
> **username_1**: @username_3 what's unclear? You have a local repo, which is a storage for local files, you have a remote repo, which is a proxy for other repositories and you have virtual which gives access to any number of other repositories via a single URL.  
> **username_3**: Well, I understand it at this point. It's a mix of "I don't understand package managers that well" and "words go in one ear and out the other." In general for jfrog artifactory, I don't think there are enough visual examples and clear enough descriptions of use cases, context for beginners that are onboarding.  

---

### Answer by username_4 on 2018-08-07. Score: 2

Artifactory allows you to define a virtual repository which is a collection of local, remote and other virtual repositories accessed through a single logical URL.

A virtual repository hides the access details of the underlying repositories letting users work with a single, well-known URL. The underlying participating repositories and their access rules may be changed without requiring any client-side changes.


---

