anchorectl repo
Repository related operations.
Every command on this page also accepts the global flags.
Subcommands
- repo add — Add repository to watch
- repo delete — Delete a repository subscription
- repo get — Get a specific repository subscription
- repo list — List all repository subscriptions
- repo unwatch — Stop watching a specific repository
- repo watch — Start watching a specific repository
repo add
Add repository to watch.
anchorectl repo add REPOSITORY [flags]
Arguments
| Argument | Description |
|---|---|
REPOSITORY | Full repository to add e.g. docker.io/library/alpine. |
Flags
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
--auto-subscribe | bool | ANCHORECTL_REPO_AUTO_SUBSCRIBE | false | No | Enable/disable auto tag_update activation when new images from a repo are added. |
--dry-run | bool | ANCHORECTL_REPO_DRY_RUN | false | No | Return tags in the repository without actually watching the repository. |
--exclude-existing-tags | bool | ANCHORECTL_REPO_EXCLUDE_EXISTING_TAGS | false | No | Indicates if you want to ignore the existing tags in the repository on the first execution. |
-o, --output | string | ANCHORECTL_FORMAT | text | No | The format to show the results. Allowable values: text, json, json-raw, id. See Output Formats. |
repo delete
Delete a repository subscription.
anchorectl repo delete REPOSITORY [flags]
Aliases: del
Arguments
| Argument | Description |
|---|---|
REPOSITORY | Full repository e.g. docker.io/library/alpine. |
Flags
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
-o, --output | string | ANCHORECTL_FORMAT | text | No | The format to show the results. Allowable values: text, json, json-raw, id. See Output Formats. |
repo get
Get a specific repository subscription.
anchorectl repo get REPOSITORY [flags]
Arguments
| Argument | Description |
|---|---|
REPOSITORY | Full repository e.g. docker.io/library/alpine. |
Flags
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
-o, --output | string | ANCHORECTL_FORMAT | text | No | The format to show the results. Allowable values: text, json, json-raw, id. See Output Formats. |
repo list
List all repository subscriptions.
anchorectl repo list [flags]
Flags
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
-o, --output | string | ANCHORECTL_FORMAT | text | No | The format to show the results. Allowable values: text, json, json-raw, id. See Output Formats. |
--repository | string | ANCHORECTL_REPOSITORY_NAME | "" | No | Filter only subscriptions matching the repository. |
repo unwatch
Stop watching a specific repository.
anchorectl repo unwatch REPOSITORY [flags]
Arguments
| Argument | Description |
|---|---|
REPOSITORY | Full repository e.g. docker.io/library/alpine. |
Flags
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
-o, --output | string | ANCHORECTL_FORMAT | text | No | The format to show the results. Allowable values: text, json, json-raw, id. See Output Formats. |
repo watch
Start watching a specific repository.
anchorectl repo watch REPOSITORY [flags]
Arguments
| Argument | Description |
|---|---|
REPOSITORY | Full repository e.g. docker.io/library/alpine. |
Flags
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
-o, --output | string | ANCHORECTL_FORMAT | text | No | The format to show the results. Allowable values: text, json, json-raw, id. See Output Formats. |