[{"data":1,"prerenderedAt":2086},["ShallowReactive",2],{"/blog/using-gitlab-container-virtual-registry-with-docker-hardened-images":3,"navigation-en-us":1333,"banner-en-us":1771,"footer-en-us":1779,"blog-post-authors-en-us-Tim Rizzi":2026,"blog-related-posts-en-us-using-gitlab-container-virtual-registry-with-docker-hardened-images":2041,"blog-share-wrapper-en-us":2066,"next-steps-en-us":2076},{"id":4,"title":5,"authors":6,"body":8,"category":1313,"date":1314,"description":1315,"extension":1316,"externalUrl":1317,"faq":1317,"featured":1318,"heroImage":1319,"hidePromo":1318,"meta":1320,"navigation":267,"path":1321,"seo":1322,"slug":1325,"stem":1326,"tags":1327,"template":1331,"updatedDate":1317,"__hash__":1332},"blogPosts/en-us/blog/using-gitlab-container-virtual-registry-with-docker-hardened-images.md","How to use GitLab Container Virtual Registry with Docker Hardened Images",[7],"Tim Rizzi",{"type":9,"value":10,"toc":1289},"minimark",[11,15,21,26,31,34,39,44,49,59,62,67,70,105,108,119,122,125,129,132,143,146,152,156,164,167,193,196,202,208,218,224,228,231,236,395,399,402,468,472,478,562,566,690,694,701,856,860,863,921,925,928,1014,1018,1021,1071,1074,1077,1081,1084,1088,1091,1167,1170,1174,1177,1181,1189,1193,1200,1214,1218,1221,1229,1232,1236,1239,1250,1259,1263,1285],[12,13,14],"p",{},"If you're a platform engineer, you've probably had this conversation:",[12,16,17],{},[18,19,20],"em",{},"\"Security says we need to use hardened base images.\"",[12,22,23],{},[18,24,25],{},"\"Great, where do I configure credentials for yet another registry?\"",[12,27,28],{},[18,29,30],{},"\"Also, how do we make sure everyone actually uses them?\"",[12,32,33],{},"Or this one:",[12,35,36],{},[18,37,38],{},"\"Why are our builds so slow?\"",[12,40,41],{},[18,42,43],{},"\"We're pulling the same 500MB image from Docker Hub in every single job.\"",[12,45,46],{},[18,47,48],{},"\"Can't we just cache these somewhere?\"",[12,50,51,52,58],{},"I've been working on ",[53,54,57],"a",{"href":55,"rel":56},"https://docs.gitlab.com/user/packages/virtual_registry/container/",[],"Container Virtual Registry"," at GitLab specifically to solve these problems. It's a pull-through cache that sits in front of your upstream registries — Docker Hub, dhi.io (Docker Hardened Images), MCR, and Quay — and gives your teams a single endpoint to pull from. Images get cached on the first pull. Subsequent pulls come from the cache. Your developers don't need to know or care which upstream a particular image came from.",[12,60,61],{},"This article shows you how to set up Container Virtual Registry, specifically with Docker Hardened Images in mind, since that's a combination that makes a lot of sense for teams concerned about security and not making their developers' lives harder.",[63,64,66],"h2",{"id":65},"what-problem-are-we-actually-solving","What problem are we actually solving?",[12,68,69],{},"The Platform teams I usually talk to manage container images across three to five registries:",[71,72,73,81,87,93,99],"ul",{},[74,75,76,80],"li",{},[77,78,79],"strong",{},"Docker Hub"," for most base images",[74,82,83,86],{},[77,84,85],{},"dhi.io"," for Docker Hardened Images (security-conscious workloads)",[74,88,89,92],{},[77,90,91],{},"MCR"," for .NET and Azure tooling",[74,94,95,98],{},[77,96,97],{},"Quay.io"," for Red Hat ecosystem stuff",[74,100,101,104],{},[77,102,103],{},"Internal registries"," for proprietary images",[12,106,107],{},"Each one has its own:",[71,109,110,113,116],{},[74,111,112],{},"Authentication mechanism",[74,114,115],{},"Network latency characteristics",[74,117,118],{},"Way of organizing image paths",[12,120,121],{},"Your CI/CD configs end up littered with registry-specific logic. Credential management becomes a project unto itself. And every pipeline job pulls the same base images over the network, even though they haven't changed in weeks.",[12,123,124],{},"Container Virtual Registry consolidates this. One registry URL. One authentication flow (GitLab's). Cached images are served from GitLab's infrastructure rather than traversing the internet each time.",[63,126,128],{"id":127},"how-it-works","How it works",[12,130,131],{},"The model is straightforward:",[133,134,140],"pre",{"className":135,"code":137,"language":138,"meta":139},[136],"language-text","Your pipeline pulls:\n  gitlab.com/virtual_registries/container/1000016/python:3.13\n\nVirtual registry checks:\n  1. Do I have this cached? → Return it\n  2. No? → Fetch from upstream, cache it, return it\n\n","text","",[141,142,137],"code",{"__ignoreMap":139},[12,144,145],{},"You configure upstreams in priority order. When a pull request comes in, the virtual registry checks each upstream until it finds the image. The result gets cached for a configurable period (default 24 hours).",[133,147,150],{"className":148,"code":149,"language":138,"meta":139},[136],"┌─────────────────────────────────────────────────────────┐\n│                    CI/CD Pipeline                       │\n│                          │                              │\n│                          ▼                              │\n│   gitlab.com/virtual_registries/container/\u003Cid>/image   │\n└─────────────────────────────────────────────────────────┘\n                           │\n                           ▼\n┌─────────────────────────────────────────────────────────┐\n│            Container Virtual Registry                   │\n│                                                         │\n│  Upstream 1: Docker Hub ────────────────┐               │\n│  Upstream 2: dhi.io (Hardened) ────────┐│               │\n│  Upstream 3: MCR ─────────────────────┐││               │\n│  Upstream 4: Quay.io ────────────────┐│││               │\n│                                      ││││               │\n│                    ┌─────────────────┴┴┴┴──┐            │\n│                    │        Cache          │            │\n│                    │  (manifests + layers) │            │\n│                    └───────────────────────┘            │\n└─────────────────────────────────────────────────────────┘\n",[141,151,149],{"__ignoreMap":139},[63,153,155],{"id":154},"why-this-matters-for-docker-hardened-images","Why this matters for Docker Hardened Images",[12,157,158,163],{},[53,159,162],{"href":160,"rel":161},"https://docs.docker.com/dhi/",[],"Docker Hardened Images"," are great because of the minimal attack surface, near-zero CVEs, proper software bills of materials (SBOMs), and SLSA provenance. If you're evaluating base images for security-sensitive workloads, they should be on your list.",[12,165,166],{},"But adopting them creates the same operational friction as any new registry:",[71,168,169,175,181,187],{},[74,170,171,174],{},[77,172,173],{},"Credential distribution",": You need to get Docker credentials to every system that pulls images from dhi.io.",[74,176,177,180],{},[77,178,179],{},"CI/CD changes",": Every pipeline needs to be updated to authenticate with dhi.io.",[74,182,183,186],{},[77,184,185],{},"Developer friction",": People need to remember to use the hardened variants.",[74,188,189,192],{},[77,190,191],{},"Visibility gap",": It's difficult to tell if teams are actually using hardened images vs. regular ones.",[12,194,195],{},"Virtual registry addresses each of these:",[12,197,198,201],{},[77,199,200],{},"Single credential",": Teams authenticate to GitLab. The virtual registry handles upstream authentication. You configure Docker credentials once, at the registry level, and they apply to all pulls.",[12,203,204,207],{},[77,205,206],{},"No CI/CD changes per-team",": Point pipelines at your virtual registry. Done. The upstream configuration is centralized.",[12,209,210,213,214,217],{},[77,211,212],{},"Gradual adoption",": Since images get cached with their full path, you can see in the cache what's being pulled. If someone's pulling ",[141,215,216],{},"library/python:3.11"," instead of the hardened variant, you'll know.",[12,219,220,223],{},[77,221,222],{},"Audit trail",": The cache shows you exactly which images are in active use. Useful for compliance, useful for understanding what your fleet actually depends on.",[63,225,227],{"id":226},"setting-it-up","Setting it up",[12,229,230],{},"Here's a real setup using the Python client from this demo project.",[232,233,235],"h3",{"id":234},"create-the-virtual-registry","Create the virtual registry",[133,237,241],{"className":238,"code":239,"language":240,"meta":139,"style":139},"language-python shiki shiki-themes github-light","from virtual_registry_client import VirtualRegistryClient\n\nclient = VirtualRegistryClient()\n\nregistry = client.create_virtual_registry(\n    group_id=\"785414\",  # Your top-level group ID\n    name=\"platform-images\",\n    description=\"Cached container images for platform teams\"\n)\n\nprint(f\"Registry ID: {registry['id']}\")\n# You'll need this ID for the pull URL\n","python",[141,242,243,262,269,281,286,297,317,331,342,348,353,389],{"__ignoreMap":139},[244,245,248,252,256,259],"span",{"class":246,"line":247},"line",1,[244,249,251],{"class":250},"sD7c4","from",[244,253,255],{"class":254},"sgsFI"," virtual_registry_client ",[244,257,258],{"class":250},"import",[244,260,261],{"class":254}," VirtualRegistryClient\n",[244,263,265],{"class":246,"line":264},2,[244,266,268],{"emptyLinePlaceholder":267},true,"\n",[244,270,272,275,278],{"class":246,"line":271},3,[244,273,274],{"class":254},"client ",[244,276,277],{"class":250},"=",[244,279,280],{"class":254}," VirtualRegistryClient()\n",[244,282,284],{"class":246,"line":283},4,[244,285,268],{"emptyLinePlaceholder":267},[244,287,289,292,294],{"class":246,"line":288},5,[244,290,291],{"class":254},"registry ",[244,293,277],{"class":250},[244,295,296],{"class":254}," client.create_virtual_registry(\n",[244,298,300,304,306,310,313],{"class":246,"line":299},6,[244,301,303],{"class":302},"sqxcx","    group_id",[244,305,277],{"class":250},[244,307,309],{"class":308},"sYBdl","\"785414\"",[244,311,312],{"class":254},",  ",[244,314,316],{"class":315},"sAwPA","# Your top-level group ID\n",[244,318,320,323,325,328],{"class":246,"line":319},7,[244,321,322],{"class":302},"    name",[244,324,277],{"class":250},[244,326,327],{"class":308},"\"platform-images\"",[244,329,330],{"class":254},",\n",[244,332,334,337,339],{"class":246,"line":333},8,[244,335,336],{"class":302},"    description",[244,338,277],{"class":250},[244,340,341],{"class":308},"\"Cached container images for platform teams\"\n",[244,343,345],{"class":246,"line":344},9,[244,346,347],{"class":254},")\n",[244,349,351],{"class":246,"line":350},10,[244,352,268],{"emptyLinePlaceholder":267},[244,354,356,360,363,366,369,372,375,378,381,384,387],{"class":246,"line":355},11,[244,357,359],{"class":358},"sYu0t","print",[244,361,362],{"class":254},"(",[244,364,365],{"class":250},"f",[244,367,368],{"class":308},"\"Registry ID: ",[244,370,371],{"class":358},"{",[244,373,374],{"class":254},"registry[",[244,376,377],{"class":308},"'id'",[244,379,380],{"class":254},"]",[244,382,383],{"class":358},"}",[244,385,386],{"class":308},"\"",[244,388,347],{"class":254},[244,390,392],{"class":246,"line":391},12,[244,393,394],{"class":315},"# You'll need this ID for the pull URL\n",[232,396,398],{"id":397},"add-docker-hub-as-an-upstream","Add Docker Hub as an upstream",[12,400,401],{},"For official images like Alpine, Python, etc.:",[133,403,405],{"className":238,"code":404,"language":240,"meta":139,"style":139},"docker_upstream = client.create_upstream(\n    registry_id=registry['id'],\n    url=\"https://registry-1.docker.io\",\n    name=\"Docker Hub\",\n    cache_validity_hours=24\n)\n",[141,406,407,417,431,443,454,464],{"__ignoreMap":139},[244,408,409,412,414],{"class":246,"line":247},[244,410,411],{"class":254},"docker_upstream ",[244,413,277],{"class":250},[244,415,416],{"class":254}," client.create_upstream(\n",[244,418,419,422,424,426,428],{"class":246,"line":264},[244,420,421],{"class":302},"    registry_id",[244,423,277],{"class":250},[244,425,374],{"class":254},[244,427,377],{"class":308},[244,429,430],{"class":254},"],\n",[244,432,433,436,438,441],{"class":246,"line":271},[244,434,435],{"class":302},"    url",[244,437,277],{"class":250},[244,439,440],{"class":308},"\"https://registry-1.docker.io\"",[244,442,330],{"class":254},[244,444,445,447,449,452],{"class":246,"line":283},[244,446,322],{"class":302},[244,448,277],{"class":250},[244,450,451],{"class":308},"\"Docker Hub\"",[244,453,330],{"class":254},[244,455,456,459,461],{"class":246,"line":288},[244,457,458],{"class":302},"    cache_validity_hours",[244,460,277],{"class":250},[244,462,463],{"class":358},"24\n",[244,465,466],{"class":246,"line":299},[244,467,347],{"class":254},[232,469,471],{"id":470},"add-docker-hardened-images-dhiio","Add Docker Hardened Images (dhi.io)",[12,473,474,475,477],{},"Docker Hardened Images are hosted on ",[141,476,85],{},", a separate registry that requires authentication:",[133,479,481],{"className":238,"code":480,"language":240,"meta":139,"style":139},"dhi_upstream = client.create_upstream(\n    registry_id=registry['id'],\n    url=\"https://dhi.io\",\n    name=\"Docker Hardened Images\",\n    username=\"your-docker-username\",\n    password=\"your-docker-access-token\",\n    cache_validity_hours=24\n)\n",[141,482,483,492,504,515,526,538,550,558],{"__ignoreMap":139},[244,484,485,488,490],{"class":246,"line":247},[244,486,487],{"class":254},"dhi_upstream ",[244,489,277],{"class":250},[244,491,416],{"class":254},[244,493,494,496,498,500,502],{"class":246,"line":264},[244,495,421],{"class":302},[244,497,277],{"class":250},[244,499,374],{"class":254},[244,501,377],{"class":308},[244,503,430],{"class":254},[244,505,506,508,510,513],{"class":246,"line":271},[244,507,435],{"class":302},[244,509,277],{"class":250},[244,511,512],{"class":308},"\"https://dhi.io\"",[244,514,330],{"class":254},[244,516,517,519,521,524],{"class":246,"line":283},[244,518,322],{"class":302},[244,520,277],{"class":250},[244,522,523],{"class":308},"\"Docker Hardened Images\"",[244,525,330],{"class":254},[244,527,528,531,533,536],{"class":246,"line":288},[244,529,530],{"class":302},"    username",[244,532,277],{"class":250},[244,534,535],{"class":308},"\"your-docker-username\"",[244,537,330],{"class":254},[244,539,540,543,545,548],{"class":246,"line":299},[244,541,542],{"class":302},"    password",[244,544,277],{"class":250},[244,546,547],{"class":308},"\"your-docker-access-token\"",[244,549,330],{"class":254},[244,551,552,554,556],{"class":246,"line":319},[244,553,458],{"class":302},[244,555,277],{"class":250},[244,557,463],{"class":358},[244,559,560],{"class":246,"line":333},[244,561,347],{"class":254},[232,563,565],{"id":564},"add-other-upstreams","Add other upstreams",[133,567,569],{"className":238,"code":568,"language":240,"meta":139,"style":139},"# MCR for .NET teams\nclient.create_upstream(\n    registry_id=registry['id'],\n    url=\"https://mcr.microsoft.com\",\n    name=\"Microsoft Container Registry\",\n    cache_validity_hours=48\n)\n\n# Quay for Red Hat stuff\nclient.create_upstream(\n    registry_id=registry['id'],\n    url=\"https://quay.io\",\n    name=\"Quay.io\",\n    cache_validity_hours=24\n)\n",[141,570,571,576,581,593,604,615,624,628,632,637,641,653,664,676,685],{"__ignoreMap":139},[244,572,573],{"class":246,"line":247},[244,574,575],{"class":315},"# MCR for .NET teams\n",[244,577,578],{"class":246,"line":264},[244,579,580],{"class":254},"client.create_upstream(\n",[244,582,583,585,587,589,591],{"class":246,"line":271},[244,584,421],{"class":302},[244,586,277],{"class":250},[244,588,374],{"class":254},[244,590,377],{"class":308},[244,592,430],{"class":254},[244,594,595,597,599,602],{"class":246,"line":283},[244,596,435],{"class":302},[244,598,277],{"class":250},[244,600,601],{"class":308},"\"https://mcr.microsoft.com\"",[244,603,330],{"class":254},[244,605,606,608,610,613],{"class":246,"line":288},[244,607,322],{"class":302},[244,609,277],{"class":250},[244,611,612],{"class":308},"\"Microsoft Container Registry\"",[244,614,330],{"class":254},[244,616,617,619,621],{"class":246,"line":299},[244,618,458],{"class":302},[244,620,277],{"class":250},[244,622,623],{"class":358},"48\n",[244,625,626],{"class":246,"line":319},[244,627,347],{"class":254},[244,629,630],{"class":246,"line":333},[244,631,268],{"emptyLinePlaceholder":267},[244,633,634],{"class":246,"line":344},[244,635,636],{"class":315},"# Quay for Red Hat stuff\n",[244,638,639],{"class":246,"line":350},[244,640,580],{"class":254},[244,642,643,645,647,649,651],{"class":246,"line":355},[244,644,421],{"class":302},[244,646,277],{"class":250},[244,648,374],{"class":254},[244,650,377],{"class":308},[244,652,430],{"class":254},[244,654,655,657,659,662],{"class":246,"line":391},[244,656,435],{"class":302},[244,658,277],{"class":250},[244,660,661],{"class":308},"\"https://quay.io\"",[244,663,330],{"class":254},[244,665,667,669,671,674],{"class":246,"line":666},13,[244,668,322],{"class":302},[244,670,277],{"class":250},[244,672,673],{"class":308},"\"Quay.io\"",[244,675,330],{"class":254},[244,677,679,681,683],{"class":246,"line":678},14,[244,680,458],{"class":302},[244,682,277],{"class":250},[244,684,463],{"class":358},[244,686,688],{"class":246,"line":687},15,[244,689,347],{"class":254},[232,691,693],{"id":692},"update-your-cicd","Update your CI/CD",[12,695,696,697,700],{},"Here's a ",[141,698,699],{},".gitlab-ci.yml"," that pulls through the virtual registry:",[133,702,706],{"className":703,"code":704,"language":705,"meta":139,"style":139},"language-yaml shiki shiki-themes github-light","variables:\n  VIRTUAL_REGISTRY_ID: \u003Cyour_virtual_registry_ID>\n\n  \nbuild:\n  image: docker:24\n  services:\n    - docker:24-dind\n  before_script:\n    # Authenticate to GitLab (which handles upstream auth for you)\n    - echo \"${CI_JOB_TOKEN}\" | docker login -u gitlab-ci-token --password-stdin gitlab.com\n  script:\n    # All of these go through your single virtual registry\n    \n    # Official Docker Hub images (use library/ prefix)\n    - docker pull gitlab.com/virtual_registries/container/${VIRTUAL_REGISTRY_ID}/library/alpine:latest\n    \n    # Docker Hardened Images from dhi.io (no prefix needed)\n    - docker pull gitlab.com/virtual_registries/container/${VIRTUAL_REGISTRY_ID}/python:3.13\n    \n    # .NET from MCR\n    - docker pull gitlab.com/virtual_registries/container/${VIRTUAL_REGISTRY_ID}/dotnet/sdk:8.0\n","yaml",[141,707,708,717,728,732,737,744,754,761,769,776,781,788,795,800,805,810,818,823,829,837,842,848],{"__ignoreMap":139},[244,709,710,714],{"class":246,"line":247},[244,711,713],{"class":712},"shJU0","variables",[244,715,716],{"class":254},":\n",[244,718,719,722,725],{"class":246,"line":264},[244,720,721],{"class":712},"  VIRTUAL_REGISTRY_ID",[244,723,724],{"class":254},": ",[244,726,727],{"class":308},"\u003Cyour_virtual_registry_ID>\n",[244,729,730],{"class":246,"line":271},[244,731,268],{"emptyLinePlaceholder":267},[244,733,734],{"class":246,"line":283},[244,735,736],{"class":254},"  \n",[244,738,739,742],{"class":246,"line":288},[244,740,741],{"class":712},"build",[244,743,716],{"class":254},[244,745,746,749,751],{"class":246,"line":299},[244,747,748],{"class":712},"  image",[244,750,724],{"class":254},[244,752,753],{"class":308},"docker:24\n",[244,755,756,759],{"class":246,"line":319},[244,757,758],{"class":712},"  services",[244,760,716],{"class":254},[244,762,763,766],{"class":246,"line":333},[244,764,765],{"class":254},"    - ",[244,767,768],{"class":308},"docker:24-dind\n",[244,770,771,774],{"class":246,"line":344},[244,772,773],{"class":712},"  before_script",[244,775,716],{"class":254},[244,777,778],{"class":246,"line":350},[244,779,780],{"class":315},"    # Authenticate to GitLab (which handles upstream auth for you)\n",[244,782,783,785],{"class":246,"line":355},[244,784,765],{"class":254},[244,786,787],{"class":308},"echo \"${CI_JOB_TOKEN}\" | docker login -u gitlab-ci-token --password-stdin gitlab.com\n",[244,789,790,793],{"class":246,"line":391},[244,791,792],{"class":712},"  script",[244,794,716],{"class":254},[244,796,797],{"class":246,"line":666},[244,798,799],{"class":315},"    # All of these go through your single virtual registry\n",[244,801,802],{"class":246,"line":678},[244,803,804],{"class":254},"    \n",[244,806,807],{"class":246,"line":687},[244,808,809],{"class":315},"    # Official Docker Hub images (use library/ prefix)\n",[244,811,813,815],{"class":246,"line":812},16,[244,814,765],{"class":254},[244,816,817],{"class":308},"docker pull gitlab.com/virtual_registries/container/${VIRTUAL_REGISTRY_ID}/library/alpine:latest\n",[244,819,821],{"class":246,"line":820},17,[244,822,804],{"class":254},[244,824,826],{"class":246,"line":825},18,[244,827,828],{"class":315},"    # Docker Hardened Images from dhi.io (no prefix needed)\n",[244,830,832,834],{"class":246,"line":831},19,[244,833,765],{"class":254},[244,835,836],{"class":308},"docker pull gitlab.com/virtual_registries/container/${VIRTUAL_REGISTRY_ID}/python:3.13\n",[244,838,840],{"class":246,"line":839},20,[244,841,804],{"class":254},[244,843,845],{"class":246,"line":844},21,[244,846,847],{"class":315},"    # .NET from MCR\n",[244,849,851,853],{"class":246,"line":850},22,[244,852,765],{"class":254},[244,854,855],{"class":308},"docker pull gitlab.com/virtual_registries/container/${VIRTUAL_REGISTRY_ID}/dotnet/sdk:8.0\n",[232,857,859],{"id":858},"image-path-formats","Image path formats",[12,861,862],{},"Different registries use different path conventions:",[864,865,866,879],"table",{},[867,868,869],"thead",{},[870,871,872,876],"tr",{},[873,874,875],"th",{},"Registry",[873,877,878],{},"Pull URL Example",[880,881,882,893,903,912],"tbody",{},[870,883,884,888],{},[885,886,887],"td",{},"Docker Hub (official)",[885,889,890],{},[141,891,892],{},".../library/python:3.11-slim",[870,894,895,898],{},[885,896,897],{},"Docker Hardened Images (dhi.io)",[885,899,900],{},[141,901,902],{},".../python:3.13",[870,904,905,907],{},[885,906,91],{},[885,908,909],{},[141,910,911],{},".../dotnet/sdk:8.0",[870,913,914,916],{},[885,915,97],{},[885,917,918],{},[141,919,920],{},".../prometheus/prometheus:latest",[232,922,924],{"id":923},"verify-its-working","Verify it's working",[12,926,927],{},"After some pulls, check your cache:",[133,929,931],{"className":238,"code":930,"language":240,"meta":139,"style":139},"upstreams = client.list_registry_upstreams(registry['id'])\nfor upstream in upstreams:\n    entries = client.list_cache_entries(upstream['id'])\n    print(f\"{upstream['name']}: {len(entries)} cached entries\")\n\n",[141,932,933,948,962,976],{"__ignoreMap":139},[244,934,935,938,940,943,945],{"class":246,"line":247},[244,936,937],{"class":254},"upstreams ",[244,939,277],{"class":250},[244,941,942],{"class":254}," client.list_registry_upstreams(registry[",[244,944,377],{"class":308},[244,946,947],{"class":254},"])\n",[244,949,950,953,956,959],{"class":246,"line":264},[244,951,952],{"class":250},"for",[244,954,955],{"class":254}," upstream ",[244,957,958],{"class":250},"in",[244,960,961],{"class":254}," upstreams:\n",[244,963,964,967,969,972,974],{"class":246,"line":271},[244,965,966],{"class":254},"    entries ",[244,968,277],{"class":250},[244,970,971],{"class":254}," client.list_cache_entries(upstream[",[244,973,377],{"class":308},[244,975,947],{"class":254},[244,977,978,981,983,985,987,989,992,995,997,999,1001,1004,1007,1009,1012],{"class":246,"line":283},[244,979,980],{"class":358},"    print",[244,982,362],{"class":254},[244,984,365],{"class":250},[244,986,386],{"class":308},[244,988,371],{"class":358},[244,990,991],{"class":254},"upstream[",[244,993,994],{"class":308},"'name'",[244,996,380],{"class":254},[244,998,383],{"class":358},[244,1000,724],{"class":308},[244,1002,1003],{"class":358},"{len",[244,1005,1006],{"class":254},"(entries)",[244,1008,383],{"class":358},[244,1010,1011],{"class":308}," cached entries\"",[244,1013,347],{"class":254},[63,1015,1017],{"id":1016},"what-the-numbers-look-like","What the numbers look like",[12,1019,1020],{},"I ran tests pulling images through the virtual registry:",[864,1022,1023,1036],{},[867,1024,1025],{},[870,1026,1027,1030,1033],{},[873,1028,1029],{},"Metric",[873,1031,1032],{},"Without Cache",[873,1034,1035],{},"With Warm Cache",[880,1037,1038,1049,1060],{},[870,1039,1040,1043,1046],{},[885,1041,1042],{},"Pull time (Alpine)",[885,1044,1045],{},"10.3s",[885,1047,1048],{},"4.2s",[870,1050,1051,1054,1057],{},[885,1052,1053],{},"Pull time (Python 3.13 DHI)",[885,1055,1056],{},"11.6s",[885,1058,1059],{},"~4s",[870,1061,1062,1065,1068],{},[885,1063,1064],{},"Network roundtrips to upstream",[885,1066,1067],{},"Every pull",[885,1069,1070],{},"Cache misses only",[12,1072,1073],{},"The first pull is the same speed (it has to fetch from upstream). Every pull after that, for the cache validity period, comes straight from GitLab's storage. No network hop to Docker Hub, dhi.io, MCR, or wherever the image lives.",[12,1075,1076],{},"For a team running hundreds of pipeline jobs per day, that's hours of cumulative build time saved.",[63,1078,1080],{"id":1079},"practical-considerations","Practical considerations",[12,1082,1083],{},"Here are some considerations to keep in mind:",[232,1085,1087],{"id":1086},"cache-validity","Cache validity",[12,1089,1090],{},"24 hours is the default. For security-sensitive images where you want patches quickly, consider 12 hours or less:",[133,1092,1094],{"className":238,"code":1093,"language":240,"meta":139,"style":139},"client.create_upstream(\n    registry_id=registry['id'],\n    url=\"https://dhi.io\",\n    name=\"Docker Hardened Images\",\n    username=\"your-username\",\n    password=\"your-token\",\n    cache_validity_hours=12\n)\n",[141,1095,1096,1100,1112,1122,1132,1143,1154,1163],{"__ignoreMap":139},[244,1097,1098],{"class":246,"line":247},[244,1099,580],{"class":254},[244,1101,1102,1104,1106,1108,1110],{"class":246,"line":264},[244,1103,421],{"class":302},[244,1105,277],{"class":250},[244,1107,374],{"class":254},[244,1109,377],{"class":308},[244,1111,430],{"class":254},[244,1113,1114,1116,1118,1120],{"class":246,"line":271},[244,1115,435],{"class":302},[244,1117,277],{"class":250},[244,1119,512],{"class":308},[244,1121,330],{"class":254},[244,1123,1124,1126,1128,1130],{"class":246,"line":283},[244,1125,322],{"class":302},[244,1127,277],{"class":250},[244,1129,523],{"class":308},[244,1131,330],{"class":254},[244,1133,1134,1136,1138,1141],{"class":246,"line":288},[244,1135,530],{"class":302},[244,1137,277],{"class":250},[244,1139,1140],{"class":308},"\"your-username\"",[244,1142,330],{"class":254},[244,1144,1145,1147,1149,1152],{"class":246,"line":299},[244,1146,542],{"class":302},[244,1148,277],{"class":250},[244,1150,1151],{"class":308},"\"your-token\"",[244,1153,330],{"class":254},[244,1155,1156,1158,1160],{"class":246,"line":319},[244,1157,458],{"class":302},[244,1159,277],{"class":250},[244,1161,1162],{"class":358},"12\n",[244,1164,1165],{"class":246,"line":333},[244,1166,347],{"class":254},[12,1168,1169],{},"For stable, infrequently-updated images (like specific version tags), longer validity is fine.",[232,1171,1173],{"id":1172},"upstream-priority","Upstream priority",[12,1175,1176],{},"Upstreams are checked in order. If you have images with the same name on different registries, the first matching upstream wins.",[232,1178,1180],{"id":1179},"limits","Limits",[71,1182,1183,1186],{},[74,1184,1185],{},"Maximum of 20 virtual registries per group",[74,1187,1188],{},"Maximum of 20 upstreams per virtual registry",[63,1190,1192],{"id":1191},"configuration-via-ui","Configuration via UI",[12,1194,1195,1196,1199],{},"You can also configure virtual registries and upstreams directly from the GitLab UI—no API calls required. Navigate to your group's ",[77,1197,1198],{},"Settings > Packages and registries > Virtual Registry"," to:",[71,1201,1202,1205,1208,1211],{},[74,1203,1204],{},"Create and manage virtual registries",[74,1206,1207],{},"Add, edit, and reorder upstream registries",[74,1209,1210],{},"View and manage the cache",[74,1212,1213],{},"Monitor which images are being pulled",[63,1215,1217],{"id":1216},"whats-next","What's next",[12,1219,1220],{},"We're actively developing:",[71,1222,1223],{},[74,1224,1225,1228],{},[77,1226,1227],{},"Allow/deny lists",": Use regex to control which images can be pulled from specific upstreams.",[12,1230,1231],{},"This is beta software. It works, people are using it in production, but we're still iterating based on feedback.",[63,1233,1235],{"id":1234},"share-your-feedback","Share your feedback",[12,1237,1238],{},"If you're a platform engineer dealing with container registry sprawl, I'd like to understand your setup:",[71,1240,1241,1244,1247],{},[74,1242,1243],{},"How many upstream registries are you managing?",[74,1245,1246],{},"What's your biggest pain point with the current state?",[74,1248,1249],{},"Would something like this help, and if not, what's missing?",[12,1251,1252,1253,1258],{},"Please share your experiences in the ",[53,1254,1257],{"href":1255,"rel":1256},"https://gitlab.com/gitlab-org/gitlab/-/work_items/589630",[],"Container Virtual Registry feedback issue",".",[63,1260,1262],{"id":1261},"related-resources","Related resources",[71,1264,1265,1272,1278],{},[74,1266,1267],{},[53,1268,1271],{"href":1269,"rel":1270},"https://about.gitlab.com/blog/new-gitlab-metrics-and-registry-features-help-reduce-ci-cd-bottlenecks/#container-virtual-registry",[],"New GitLab metrics and registry features help reduce CI/CD bottlenecks",[74,1273,1274],{},[53,1275,1277],{"href":55,"rel":1276},[],"Container Virtual Registry documentation",[74,1279,1280],{},[53,1281,1284],{"href":1282,"rel":1283},"https://docs.gitlab.com/api/container_virtual_registries/",[],"Container Virtual Registry API",[1286,1287,1288],"style",{},"html pre.shiki code .sD7c4, html code.shiki .sD7c4{--shiki-default:#D73A49}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .sqxcx, html code.shiki .sqxcx{--shiki-default:#E36209}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .shJU0, html code.shiki .shJU0{--shiki-default:#22863A}",{"title":139,"searchDepth":264,"depth":264,"links":1290},[1291,1292,1293,1294,1303,1304,1309,1310,1311,1312],{"id":65,"depth":264,"text":66},{"id":127,"depth":264,"text":128},{"id":154,"depth":264,"text":155},{"id":226,"depth":264,"text":227,"children":1295},[1296,1297,1298,1299,1300,1301,1302],{"id":234,"depth":271,"text":235},{"id":397,"depth":271,"text":398},{"id":470,"depth":271,"text":471},{"id":564,"depth":271,"text":565},{"id":692,"depth":271,"text":693},{"id":858,"depth":271,"text":859},{"id":923,"depth":271,"text":924},{"id":1016,"depth":264,"text":1017},{"id":1079,"depth":264,"text":1080,"children":1305},[1306,1307,1308],{"id":1086,"depth":271,"text":1087},{"id":1172,"depth":271,"text":1173},{"id":1179,"depth":271,"text":1180},{"id":1191,"depth":264,"text":1192},{"id":1216,"depth":264,"text":1217},{"id":1234,"depth":264,"text":1235},{"id":1261,"depth":264,"text":1262},"engineering","2026-03-12","Learn how to simplify container image management with this step-by-step guide.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772111172/mwhgbjawn62kymfwrhle.png",{},"/en-us/blog/using-gitlab-container-virtual-registry-with-docker-hardened-images",{"config":1323,"title":1324,"description":1315},{"noIndex":1318},"GitLab Container Virtual Registry with Docker Hardened Images","using-gitlab-container-virtual-registry-with-docker-hardened-images","en-us/blog/using-gitlab-container-virtual-registry-with-docker-hardened-images",[1328,1329,1330],"tutorial","product","features","BlogPost","hBoe22cWSHb_PxmvHpsYH9nesnUYzZlOOZrDZ4DS8s4",{"logo":1334,"freeTrial":1339,"sales":1344,"login":1349,"items":1354,"search":1690,"minimal":1722,"duo":1741,"switchNav":1750,"pricingDeployment":1761},{"config":1335},{"href":1336,"dataGaName":1337,"dataGaLocation":1338},"/","gitlab logo","header",{"text":1340,"config":1341},"Get free trial",{"href":1342,"dataGaName":1343,"dataGaLocation":1338},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":1345,"config":1346},"Request a demo",{"href":1347,"dataGaName":1348,"dataGaLocation":1338},"/request-a-demo/","sales",{"text":1350,"config":1351},"Sign in",{"href":1352,"dataGaName":1353,"dataGaLocation":1338},"https://gitlab.com/users/sign_in/","sign in",[1355,1441,1529,1534,1614,1668],{"text":1356,"left":267,"config":1357,"menu":1359},"Platform",{"dataNavLevelOne":1358},"platform",{"type":1360,"link":1361,"columns":1365,"feature":1430},"lists",{"text":1362,"config":1363},"Explore the Platform",{"href":1364,"dataGaName":1358,"dataGaLocation":1338},"/platform/",[1366,1389,1412],{"title":1367,"items":1368},"DevOps",[1369,1374,1379,1384],{"text":1370,"config":1371},"CI/CD",{"href":1372,"dataGaLocation":1338,"dataGaName":1373},"/solutions/continuous-integration/","ci/cd",{"text":1375,"config":1376},"Source Code Management",{"href":1377,"dataGaLocation":1338,"dataGaName":1378},"/solutions/source-code-management/","source code management",{"text":1380,"config":1381},"Agile Delivery",{"href":1382,"dataGaLocation":1338,"dataGaName":1383},"/solutions/agile-delivery/","agile delivery",{"text":1385,"config":1386},"Artifact Management",{"href":1387,"dataGaLocation":1338,"dataGaName":1388},"/artifact-central/","artifact management",{"title":1390,"items":1391},"Security & Governance",[1392,1397,1402,1407],{"text":1393,"config":1394},"Application Security Testing",{"href":1395,"dataGaLocation":1338,"dataGaName":1396},"/solutions/application-security-testing/","application security testing",{"text":1398,"config":1399},"Governance & Compliance",{"href":1400,"dataGaLocation":1338,"dataGaName":1401},"/solutions/software-compliance/","governance and compliance",{"text":1403,"config":1404},"Secrets Management",{"href":1405,"dataGaLocation":1338,"dataGaName":1406},"/gitlab-secrets-manager/","secrets management",{"text":1408,"config":1409},"Supply Chain Security",{"href":1410,"dataGaLocation":1338,"dataGaName":1411},"/solutions/supply-chain/","supply chain security",{"title":1413,"items":1414},"Agentic AI & Context",[1415,1420,1425],{"text":1416,"config":1417},"Duo Agent Platform",{"href":1418,"dataGaLocation":1338,"dataGaName":1419},"/gitlab-duo-agent-platform/","duo agent platform",{"text":1421,"config":1422},"Orbit Context Graph",{"href":1423,"dataGaLocation":1338,"dataGaName":1424},"/gitlab-orbit/","orbit",{"text":1426,"config":1427},"Visibility & Measurement",{"href":1428,"dataGaLocation":1338,"dataGaName":1429},"/solutions/visibility-measurement/","visibility and measurement",{"config":1431,"title":1434,"text":1435,"link":1436},{"background":1432,"textColor":1433},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbit is generally available","Higher agent accuracy, lower token cost",{"text":1437,"config":1438},"Read the announcement",{"href":1439,"dataGaName":1440,"dataGaLocation":1338},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":1442,"left":267,"config":1443,"menu":1445},"Solutions",{"dataNavLevelOne":1444},"solutions",{"type":1360,"link":1446,"columns":1450,"feature":1520},{"text":1447,"config":1448},"View all Solutions",{"href":1449,"dataGaName":1444,"dataGaLocation":1338},"/solutions/",[1451,1469,1487],{"title":1452,"items":1453},"Outcomes",[1454,1459,1464],{"text":1455,"config":1456},"DevOps Modernization",{"href":1457,"dataGaLocation":1338,"dataGaName":1458},"/assessments/devops-modernization-assessment/","devops modernization",{"text":1460,"config":1461},"Security Modernization",{"href":1462,"dataGaLocation":1338,"dataGaName":1463},"/assessments/security-modernization-assessment/","security modernization",{"text":1465,"config":1466},"AI Modernization",{"href":1467,"dataGaLocation":1338,"dataGaName":1468},"/assessments/ai-modernization-assessment/","ai modernization",{"title":1470,"items":1471},"By size",[1472,1477,1482],{"text":1473,"config":1474},"Enterprise",{"href":1475,"dataGaLocation":1338,"dataGaName":1476},"/enterprise/","enterprise",{"text":1478,"config":1479},"Small Business",{"href":1480,"dataGaLocation":1338,"dataGaName":1481},"/small-business/","small business",{"text":1483,"config":1484},"Startups",{"href":1485,"dataGaLocation":1338,"dataGaName":1486},"/solutions/startups/","startups",{"title":1488,"items":1489},"Industries",[1490,1495,1500,1505,1510,1515],{"text":1491,"config":1492},"Financial Services",{"href":1493,"dataGaLocation":1338,"dataGaName":1494},"/solutions/finance/","financial services",{"text":1496,"config":1497},"Public Sector",{"href":1498,"dataGaLocation":1338,"dataGaName":1499},"/solutions/public-sector/","public sector",{"text":1501,"config":1502},"Telecommunications",{"href":1503,"dataGaLocation":1338,"dataGaName":1504},"/solutions/telecommunications/","telecommunications",{"text":1506,"config":1507},"Automotive",{"href":1508,"dataGaLocation":1338,"dataGaName":1509},"/solutions/automotive/","automotive",{"text":1511,"config":1512},"Education",{"href":1513,"dataGaLocation":1338,"dataGaName":1514},"/solutions/education/","education",{"text":1516,"config":1517},"Aerospace",{"href":1518,"dataGaLocation":1338,"dataGaName":1519},"/solutions/aerospace/","aerospace",{"config":1521,"title":1522,"text":1523,"link":1524},{"background":1432,"textColor":1433},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":1525,"config":1526},"Explore the standard",{"href":1527,"dataGaName":1528,"dataGaLocation":1338},"/gitlab-security-standard/","gitlab security standard",{"text":1530,"config":1531},"Pricing",{"href":1532,"dataGaName":1533,"dataGaLocation":1338,"dataNavLevelOne":1533},"/pricing/","pricing",{"text":1535,"config":1536,"menu":1538},"Resources",{"dataNavLevelOne":1537},"resources",{"type":1360,"link":1539,"columns":1543,"feature":1605},{"text":1540,"config":1541},"View all resources",{"href":1542,"dataGaName":1537,"dataGaLocation":1338},"/resources/",[1544,1577],{"title":1545,"items":1546},"Discover",[1547,1552,1557,1562,1567,1572],{"text":1548,"config":1549},"Docs",{"href":1550,"dataGaName":1551,"dataGaLocation":1338},"https://docs.gitlab.com/","docs",{"text":1553,"config":1554},"University",{"href":1555,"dataGaName":1556,"dataGaLocation":1338},"https://university.gitlab.com/","university",{"text":1558,"config":1559},"Demo Series",{"href":1560,"dataGaName":1561,"dataGaLocation":1338},"/gitlab-technical-demo-series/","demo series",{"text":1563,"config":1564},"Demo Hub",{"href":1565,"dataGaName":1566,"dataGaLocation":1338},"/demo-hub/","demo hub",{"text":1568,"config":1569},"Services",{"href":1570,"dataGaName":1571,"dataGaLocation":1338},"/services/","services",{"text":1573,"config":1574},"Well Architected",{"href":1575,"dataGaName":1576,"dataGaLocation":1338},"/resources/well-architected/","well architected",{"title":1578,"items":1579},"Connect",[1580,1585,1590,1595,1600],{"text":1581,"config":1582},"Blog",{"href":1583,"dataGaName":1584,"dataGaLocation":1338},"/blog/","blog",{"text":1586,"config":1587},"Community",{"href":1588,"dataGaName":1589,"dataGaLocation":1338},"/community/","community",{"text":1591,"config":1592},"Customers",{"href":1593,"dataGaName":1594,"dataGaLocation":1338},"/customers/","customers",{"text":1596,"config":1597},"Partners",{"href":1598,"dataGaName":1599,"dataGaLocation":1338},"/partners/","partners",{"text":1601,"config":1602},"Events",{"href":1603,"dataGaName":1604,"dataGaLocation":1338},"/events/","events",{"config":1606,"title":1607,"text":1608,"link":1609},{"background":1432,"textColor":1433},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":1610,"config":1611},"Read the latest",{"href":1612,"dataGaName":1613,"dataGaLocation":1338},"/whats-new/","whats new",{"text":1615,"config":1616,"menu":1618},"Company",{"dataNavLevelOne":1617},"company",{"type":1360,"columns":1619},[1620],{"items":1621},[1622,1627,1633,1638,1643,1648,1653,1658,1663],{"text":1623,"config":1624},"About",{"href":1625,"dataGaName":1626,"dataGaLocation":1338},"/company/","about",{"text":1628,"config":1629,"footerGa":1632},"Jobs",{"href":1630,"dataGaName":1631,"dataGaLocation":1338},"/jobs/","jobs",{"dataGaName":1631},{"text":1634,"config":1635},"Press",{"href":1636,"dataGaName":1637,"dataGaLocation":1338},"/press/","press",{"text":1639,"config":1640},"Handbook",{"href":1641,"dataGaName":1642,"dataGaLocation":1338},"https://handbook.gitlab.com/","handbook",{"text":1644,"config":1645},"Leadership",{"href":1646,"dataGaName":1647,"dataGaLocation":1338},"/company/team/e-group/","leadership",{"text":1649,"config":1650},"Investor relations",{"href":1651,"dataGaName":1652,"dataGaLocation":1338},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":1654,"config":1655},"Trust Center",{"href":1656,"dataGaName":1657,"dataGaLocation":1338},"/security/","trust center",{"text":1659,"config":1660},"AI Transparency Center",{"href":1661,"dataGaName":1662,"dataGaLocation":1338},"/ai-transparency-center/","ai transparency center",{"text":1664,"config":1665},"Newsletter",{"href":1666,"dataGaName":1667,"dataGaLocation":1338},"/company/contact/#contact-forms","newsletter",{"text":1669,"config":1670,"menu":1671},"Contact us",{"dataNavLevelOne":1617},{"type":1360,"columns":1672},[1673],{"items":1674},[1675,1680,1685],{"text":1676,"config":1677},"Talk to sales",{"href":1678,"dataGaName":1679,"dataGaLocation":1338},"/sales/","talk to sales",{"text":1681,"config":1682},"Support portal",{"href":1683,"dataGaName":1684,"dataGaLocation":1338},"https://support.gitlab.com/hc/en-us","support portal",{"text":1686,"config":1687},"Customer portal",{"href":1688,"dataGaName":1689,"dataGaLocation":1338},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":1691,"login":1692,"suggestions":1699},"Close",{"text":1693,"link":1694},"To search repositories and projects, login to",{"text":1695,"config":1696},"gitlab.com",{"href":1352,"dataGaName":1697,"dataGaLocation":1698},"search login","search",{"text":1700,"default":1701},"Suggestions",[1702,1705,1708,1710,1714,1718],{"text":1703,"config":1704},"GitLab Duo Agent Platform",{"href":1418,"dataGaName":1703,"dataGaLocation":1698},{"text":1706,"config":1707},"Code Suggestions (AI)",{"href":1418,"dataGaName":1706,"dataGaLocation":1698},{"text":1370,"config":1709},{"href":1372,"dataGaName":1370,"dataGaLocation":1698},{"text":1711,"config":1712},"GitLab on AWS",{"href":1713,"dataGaName":1711,"dataGaLocation":1698},"/partners/technology-partners/aws/",{"text":1715,"config":1716},"GitLab on Google Cloud",{"href":1717,"dataGaName":1715,"dataGaLocation":1698},"/partners/technology-partners/google-cloud-platform/",{"text":1719,"config":1720},"Why GitLab?",{"href":1721,"dataGaName":1719,"dataGaLocation":1698},"/why-gitlab/",{"freeTrial":1723,"mobileIcon":1728,"desktopIcon":1733,"secondaryButton":1736},{"text":1724,"config":1725},"Start free trial",{"href":1726,"dataGaName":1343,"dataGaLocation":1727},"https://gitlab.com/-/trials/new/","nav",{"altText":1729,"config":1730},"Gitlab Icon",{"src":1731,"dataGaName":1732,"dataGaLocation":1727},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":1729,"config":1734},{"src":1735,"dataGaName":1732,"dataGaLocation":1727},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":1737,"config":1738},"Get Started",{"href":1739,"dataGaName":1740,"dataGaLocation":1727},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":1742,"mobileIcon":1746,"desktopIcon":1748},{"text":1743,"config":1744},"Learn more about GitLab Duo",{"href":1418,"dataGaName":1745,"dataGaLocation":1727},"gitlab duo",{"altText":1729,"config":1747},{"src":1731,"dataGaName":1732,"dataGaLocation":1727},{"altText":1729,"config":1749},{"src":1735,"dataGaName":1732,"dataGaLocation":1727},{"button":1751,"mobileIcon":1756,"desktopIcon":1758},{"text":1752,"config":1753},"/switch",{"href":1754,"dataGaName":1755,"dataGaLocation":1727},"#contact","switch",{"altText":1729,"config":1757},{"src":1731,"dataGaName":1732,"dataGaLocation":1727},{"altText":1729,"config":1759},{"src":1760,"dataGaName":1732,"dataGaLocation":1727},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":1762,"mobileIcon":1767,"desktopIcon":1769},{"text":1763,"config":1764},"Back to pricing",{"href":1532,"dataGaName":1765,"dataGaLocation":1727,"icon":1766},"back to pricing","GoBack",{"altText":1729,"config":1768},{"src":1731,"dataGaName":1732,"dataGaLocation":1727},{"altText":1729,"config":1770},{"src":1735,"dataGaName":1732,"dataGaLocation":1727},{"title":1772,"button":1773,"config":1777},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":1437,"config":1774},{"href":1439,"dataGaName":1775,"dataGaLocation":1776},"orbit-ga-banner","global-banner",{"layout":1778,"disabled":1318},"release",{"data":1780},{"text":1781,"config":1782,"items":1787,"minimal":2015},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":1783,"facebook":1784,"youtube":1785,"linkedin":1786},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[1788,1836,1895,1942,1983],{"title":1530,"links":1789,"subMenu":1805},[1790,1795,1800],{"text":1791,"config":1792},"View plans",{"href":1532,"dataGaName":1793,"dataGaLocation":1794},"view plans","footer",{"text":1796,"config":1797},"Why Premium?",{"href":1798,"dataGaName":1799,"dataGaLocation":1794},"/pricing/premium/","why premium",{"text":1801,"config":1802},"Why Ultimate?",{"href":1803,"dataGaName":1804,"dataGaLocation":1794},"/pricing/ultimate/","why ultimate",[1806],{"title":1807,"links":1808},"Contact Us",[1809,1812,1814,1816,1821,1826,1831],{"text":1810,"config":1811},"Contact sales",{"href":1678,"dataGaName":1348,"dataGaLocation":1794},{"text":1681,"config":1813},{"href":1683,"dataGaName":1684,"dataGaLocation":1794},{"text":1686,"config":1815},{"href":1688,"dataGaName":1689,"dataGaLocation":1794},{"text":1817,"config":1818},"Status",{"href":1819,"dataGaName":1820,"dataGaLocation":1794},"https://status.gitlab.com/","status",{"text":1822,"config":1823},"Terms of use",{"href":1824,"dataGaName":1825,"dataGaLocation":1794},"/terms/","terms of use",{"text":1827,"config":1828},"Privacy statement",{"href":1829,"dataGaName":1830,"dataGaLocation":1794},"/privacy/","privacy statement",{"text":1832,"config":1833},"Cookie preferences",{"dataGaName":1834,"dataGaLocation":1794,"id":1835,"isOneTrustButton":267},"cookie preferences","ot-sdk-btn",{"title":1356,"links":1837,"subMenu":1853},[1838,1841,1843,1845,1847,1849],{"text":1839,"config":1840},"Explore the platform",{"href":1364,"dataGaName":1358,"dataGaLocation":1794},{"text":1416,"config":1842},{"href":1418,"dataGaName":1419,"dataGaLocation":1794},{"text":1370,"config":1844},{"href":1372,"dataGaName":1373,"dataGaLocation":1794},{"text":1421,"config":1846},{"href":1423,"dataGaName":1424,"dataGaLocation":1794},{"text":1403,"config":1848},{"href":1405,"dataGaName":1406,"dataGaLocation":1794},{"text":1850,"config":1851},"Why GitLab",{"href":1721,"dataGaName":1852,"dataGaLocation":1794},"why gitlab",[1854],{"title":1855,"links":1856},"Topics",[1857,1861,1866,1870,1875,1880,1885,1890],{"text":1370,"config":1858},{"href":1859,"dataGaName":1860,"dataGaLocation":1794},"/topics/ci-cd/","cicd",{"text":1862,"config":1863},"GitOps",{"href":1864,"dataGaName":1865,"dataGaLocation":1794},"/topics/gitops/","gitops",{"text":1367,"config":1867},{"href":1868,"dataGaName":1869,"dataGaLocation":1794},"/topics/devops/","devops",{"text":1871,"config":1872},"Version Control",{"href":1873,"dataGaName":1874,"dataGaLocation":1794},"/topics/version-control/","version control",{"text":1876,"config":1877},"DevSecOps",{"href":1878,"dataGaName":1879,"dataGaLocation":1794},"/topics/devsecops/","devsecops",{"text":1881,"config":1882},"Cloud Native",{"href":1883,"dataGaName":1884,"dataGaLocation":1794},"/topics/cloud-native/","cloud native",{"text":1886,"config":1887},"AI for Coding",{"href":1888,"dataGaName":1889,"dataGaLocation":1794},"/topics/devops/ai-for-coding/","ai for coding",{"text":1891,"config":1892},"Agentic AI",{"href":1893,"dataGaName":1894,"dataGaLocation":1794},"/topics/agentic-ai/","agentic ai",{"title":1442,"links":1896},[1897,1900,1903,1906,1909,1912,1914,1916,1918,1920,1922,1925,1927,1930,1934,1938],{"text":1898,"config":1899},"DevOps modernization",{"href":1457,"dataGaName":1458,"dataGaLocation":1794},{"text":1901,"config":1902},"Security modernization",{"href":1462,"dataGaName":1463,"dataGaLocation":1794},{"text":1904,"config":1905},"AI modernization",{"href":1467,"dataGaName":1468,"dataGaLocation":1794},{"text":1907,"config":1908},"Financial services",{"href":1493,"dataGaName":1494,"dataGaLocation":1794},{"text":1910,"config":1911},"Public sector",{"href":1498,"dataGaName":1499,"dataGaLocation":1794},{"text":1501,"config":1913},{"href":1503,"dataGaName":1504,"dataGaLocation":1794},{"text":1506,"config":1915},{"href":1508,"dataGaName":1509,"dataGaLocation":1794},{"text":1511,"config":1917},{"href":1513,"dataGaName":1514,"dataGaLocation":1794},{"text":1516,"config":1919},{"href":1518,"dataGaName":1519,"dataGaLocation":1794},{"text":1473,"config":1921},{"href":1475,"dataGaName":1476,"dataGaLocation":1794},{"text":1923,"config":1924},"Small business",{"href":1480,"dataGaName":1481,"dataGaLocation":1794},{"text":1483,"config":1926},{"href":1485,"dataGaName":1486,"dataGaLocation":1794},{"text":1862,"config":1928},{"href":1929,"dataGaName":1865,"dataGaLocation":1794},"/solutions/gitops/",{"text":1931,"config":1932},"Software composition analysis",{"href":1410,"dataGaName":1933,"dataGaLocation":1794},"software composition analysis",{"text":1935,"config":1936},"Value stream management",{"href":1428,"dataGaName":1937,"dataGaLocation":1794},"value stream management",{"text":1939,"config":1940},"All solutions",{"href":1449,"dataGaName":1941,"dataGaLocation":1794},"all solutions",{"title":1535,"links":1943},[1944,1949,1954,1956,1958,1960,1962,1964,1966,1968,1970,1972,1974,1976,1979],{"text":1945,"config":1946},"Install",{"href":1947,"dataGaName":1948,"dataGaLocation":1794},"/install/","install",{"text":1950,"config":1951},"Quick start guides",{"href":1952,"dataGaName":1953,"dataGaLocation":1794},"/get-started/","quick setup checklists",{"text":1548,"config":1955},{"href":1550,"dataGaName":1551,"dataGaLocation":1794},{"text":1553,"config":1957},{"href":1555,"dataGaName":1556,"dataGaLocation":1794},{"text":1558,"config":1959},{"href":1560,"dataGaName":1561,"dataGaLocation":1794},{"text":1563,"config":1961},{"href":1565,"dataGaName":1566,"dataGaLocation":1794},{"text":1568,"config":1963},{"href":1570,"dataGaName":1571,"dataGaLocation":1794},{"text":1581,"config":1965},{"href":1583,"dataGaName":1584,"dataGaLocation":1794},{"text":1586,"config":1967},{"href":1588,"dataGaName":1589,"dataGaLocation":1794},{"text":1591,"config":1969},{"href":1593,"dataGaName":1594,"dataGaLocation":1794},{"text":1596,"config":1971},{"href":1598,"dataGaName":1599,"dataGaLocation":1794},{"text":1601,"config":1973},{"href":1603,"dataGaName":1604,"dataGaLocation":1794},{"text":1664,"config":1975},{"href":1666,"dataGaName":1667,"dataGaLocation":1794},{"text":1977,"config":1978},"What's new",{"href":1612,"dataGaName":1613,"dataGaLocation":1794},{"text":1980,"config":1981},"All resources",{"href":1542,"dataGaName":1982,"dataGaLocation":1794},"all resources",{"title":1615,"links":1984},[1985,1987,1989,1991,1993,1995,1997,1999,2001,2005,2010],{"text":1623,"config":1986},{"href":1625,"dataGaName":1617,"dataGaLocation":1794},{"text":1628,"config":1988},{"href":1630,"dataGaName":1631,"dataGaLocation":1794},{"text":1634,"config":1990},{"href":1636,"dataGaName":1637,"dataGaLocation":1794},{"text":1639,"config":1992},{"href":1641,"dataGaName":1642,"dataGaLocation":1794},{"text":1644,"config":1994},{"href":1646,"dataGaName":1647,"dataGaLocation":1794},{"text":1649,"config":1996},{"href":1651,"dataGaName":1652,"dataGaLocation":1794},{"text":1654,"config":1998},{"href":1656,"dataGaName":1657,"dataGaLocation":1794},{"text":1659,"config":2000},{"href":1661,"dataGaName":1662,"dataGaLocation":1794},{"text":2002,"config":2003},"Sustainability",{"href":2004,"dataGaName":2002,"dataGaLocation":1794},"/sustainability/",{"text":2006,"config":2007},"Diversity, inclusion and belonging (DIB)",{"href":2008,"dataGaName":2009,"dataGaLocation":1794},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":2011,"config":2012},"Modern Slavery Transparency Statement",{"href":2013,"dataGaName":2014,"dataGaLocation":1794},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":2016},[2017,2020,2023],{"text":2018,"config":2019},"Terms",{"href":1824,"dataGaName":1825,"dataGaLocation":1794},{"text":2021,"config":2022},"Cookies",{"dataGaName":1834,"dataGaLocation":1794,"id":1835,"isOneTrustButton":267},{"text":2024,"config":2025},"Privacy",{"href":1829,"dataGaName":1830,"dataGaLocation":1794},[2027],{"id":2028,"title":7,"body":1317,"config":2029,"content":2031,"description":1317,"extension":2035,"meta":2036,"navigation":267,"path":2037,"seo":2038,"stem":2039,"__hash__":2040},"blogAuthors/en-us/blog/authors/tim-rizzi.yml",{"template":2030},"BlogAuthor",{"name":7,"config":2032},{"headshot":2033,"ctfId":2034},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749661866/Blog/Author%20Headshots/trizzi-headshot.jpg","trizzi","yml",{},"/en-us/blog/authors/tim-rizzi",{},"en-us/blog/authors/tim-rizzi","ADPqrpcnKveFJS0m_zFV0VLtb_h_txu59QVgz_YwKMc",[2042,2050,2058],{"title":2043,"description":2044,"heroImage":2045,"category":1313,"date":2046,"authors":2047,"slug":2049,"externalUrl":1317},"Two front doors: Module-level access in a Django GRC app","A technical deep-dive on restructuring a Django internal tool to support two distinct GitLab teams: Security Compliance and Internal Audit.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097663/Blog/Hero%20Images/Blog/Hero%20Images/Workflow%201800x945_2gQoQIbY9NvjLFpXtsxtXy_1750097663612.png","2026-10-05",[2048],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":2051,"description":2052,"heroImage":2053,"category":1313,"date":2054,"authors":2055,"slug":2057,"externalUrl":1317},"How GitLab reduced code-per-agentic-flow ratio by 45%","Learn how Flow Registry, a component-based framework that compiles YAML configurations into fully functional LangGraph flows, helped improve scalability and more.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1774465167/n5hlvrsrheadeccyr1oz.png","2026-09-22",[2056],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":2059,"description":2060,"heroImage":2061,"category":1313,"date":2062,"authors":2063,"slug":2065,"externalUrl":1317},"Co-Create: Building GitLab with our users","How GitLab users collaborated with us to build practical product improvements in the first half of 2026.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750099203/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%2820%29_2bJGC5ZP3WheoqzlLT05C5_1750099203484.png","2026-09-10",[2064],"Isa Huerga","co-create-h1-2026",{"header":2067,"text":2068,"button":2072,"disclaimer":2075},"Start your free\n\n30-day GitLab trial\n",[2069,2070,2071],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":1340,"config":2073},{"href":2074,"dataGaName":1343,"dataGaLocation":1584},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":2077,"blurb":2078,"button":2079,"secondaryButton":2084},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":2080,"config":2081},"Get your free trial",{"href":2082,"dataGaName":1343,"dataGaLocation":2083},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":1810,"config":2085},{"href":1678,"dataGaName":1348,"dataGaLocation":2083},1794911786601]