1"use strict";(globalThis.webpackChunkoras_www||=[]).push([[8719],{38194(e,s,r){r.r(s),r.d(s,{assets:()=>l,contentTitle:()=>a,default:()=>p,frontMatter:()=>i,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"commands/oras_repo_ls","title":"oras repo ls","description":"List the repositories under the registry","source":"@site/versioned_docs/version-1.2/commands/oras_repo_ls.mdx","sourceDirName":"commands","slug":"/commands/oras_repo_ls","permalink":"/docs/1.2/commands/oras_repo_ls","draft":false,"unlisted":false,"editUrl":"https://github.com/oras-project/oras-www/edit/main/versioned_docs/version-1.2/commands/oras_repo_ls.mdx","tags":[],"version":"1.2","sidebarPosition":160,"frontMatter":{"title":"oras repo ls","sidebar_position":160,"warning":"Do NOT modify this generated file"},"sidebar":"tutorialSidebar","previous":{"title":"oras push","permalink":"/docs/1.2/commands/oras_push"},"next":{"title":"oras repo tags","permalink":"/docs/1.2/commands/oras_repo_tags"}}');var o=r(74848),n=r(28453);const i={title:"oras repo ls",sidebar_position:160,warning:"Do NOT modify this generated file"},a="oras repo ls",l={},d=[{value:"Examples",id:"examples",level:2},{value:"Options",id:"options",level:2}];function c(e){const s={code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",...(0,n.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"oras-repo-ls",children:"oras repo ls"})}),"\n",(0,o.jsx)(s.p,{children:"List the repositories under the registry"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"oras repo ls [flags] <registry>\n"})}),"\n",(0,o.jsx)(s.h2,{id:"examples",children:"Examples"}),"\n",(0,o.jsx)(s.p,{children:"List the repositories under the registry:"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"oras repo ls localhost:5000\n"})}),"\n",(0,o.jsx)(s.p,{children:"List the repositories under a namespace in the registry:"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"oras repo ls localhost:5000/example-namespace\n"})}),"\n",(0,o.jsx)(s.p,{children:"List the repositories under the registry that include values lexically after last:"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:'oras repo ls --last "last_repo" localhost:5000\n'})}),"\n",(0,o.jsx)(s.h2,{id:"options",children:"Options"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{children:" --ca-file string server certificate authority file for the remote registry\n --cert-file string client certificate file for the remote registry\n -d, --debug output debug logs (implies --no-tty)\n -H, --header stringArray add custom headers to requests\n -h, --help help for ls\n --identity-token string registry identity token\n --identity-token-stdin read identity token from stdin\n --insecure allow connections to SSL registry without certs\n --key-file string client private key file for the remote registry\n --last last start after the repository specified by last\n --no-tty [Preview] do not show progress output\n -p, --password string registry password or identity token\n --password-stdin read password from stdin\n --plain-http allow insecure connections to registry without SSL check\n --registry-config path path of the authentication file for registry\n --resolve host:port:address[:address_port] customized DNS for registry, formatted in host:port:address[:address_port]\n -u, --username string registry username\n -v, --verbose verbose output\n"})})]})}function p(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},28453(e,s,r){r.d(s,{R:()=>i,x:()=>a});var t=r(96540);const o={},n=t.createContext(o);function i(e){const s=t.useContext(n);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),t.createElement(n.Provider,{value:s},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.