nsc registry policy get

Get the currently configured registry expiration policy.

registry policy get reads the image expiration policy configured for your workspace's Namespace Container Registry. With no flags, it returns the default policy that applies to every repository without a repository-specific override. Pass --repository to instead read the policy for that specific repository.

Usage

nsc registry policy get [--repository <repository>] [-o <format>]

Example

$ nsc registry policy get
Default Expiration:   5h0m0s
 
$ nsc registry policy get --repository my-app
Default Expiration:   168h0m0s

Options

--repository <repository>

Get the policy for a specific repository instead of the default policy. If not specified, returns the default policy that applies to all repositories without a repository-specific override.

--output, -o <format>

Output format. One of table or json. Default is table.