# Container Registry CLI reference

Source: `@socra/scr-cli@0.2.0`.

This reference includes every command, argument, and option declared by this released package. Defaults and accepted values are included where the package declares them. Command-specific validation and permissions also apply; see the [API reference](/docs/scr/reference/api) for resource contracts.

Use `socra scr --help`, or append `--help` to any command, to inspect the locally installed version.

## socra scr

Store and distribute private project-scoped OCI images

| Command | Purpose |
| --- | --- |
| `socra scr configure-docker` | Configure Docker to use your current Socra Account session |
| `socra scr repository` | OCI repositories (created automatically on first push) |
| `socra scr image` | Immutable image manifests and indexes |
| `socra scr tag` | Mutable names pointing to images |

## socra scr configure-docker

Configure Docker to use your current Socra Account session

```text
socra scr configure-docker
```

## socra scr repository

OCI repositories (created automatically on first push)

| Command | Purpose |
| --- | --- |
| `socra scr repository list` | List project repositories |
| `socra scr repository get` | Show a repository |
| `socra scr repository enable` | Allow pushes to a repository |
| `socra scr repository disable` | Reject pushes to a repository |
| `socra scr repository delete` | Delete an empty repository |

## socra scr repository list

List project repositories

```text
socra scr repository list [options]
```

### Options

| Option | Input | Description |
| --- | --- | --- |
| `--project` | Value | Project slug or id |
| `--limit` | Value | Page size |
| `--after` | Value | Page cursor |

## socra scr repository get

Show a repository

```text
socra scr repository get <id>
```

### Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `id` | Yes | Repository id |

## socra scr repository enable

Allow pushes to a repository

```text
socra scr repository enable <id>
```

### Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `id` | Yes | Repository id |

## socra scr repository disable

Reject pushes to a repository

```text
socra scr repository disable <id>
```

### Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `id` | Yes | Repository id |

## socra scr repository delete

Delete an empty repository

```text
socra scr repository delete <id>
```

### Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `id` | Yes | Repository id |

## socra scr image

Immutable image manifests and indexes

| Command | Purpose |
| --- | --- |
| `socra scr image list` | List images |
| `socra scr image get` | Show an image |
| `socra scr image delete` | Delete an untagged image |

## socra scr image list

List images

```text
socra scr image list [options]
```

### Options

| Option | Input | Description |
| --- | --- | --- |
| `--repository` | Value | Repository id |
| `--limit` | Value | Page size |
| `--after` | Value | Page cursor |

## socra scr image get

Show an image

```text
socra scr image get <id>
```

### Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `id` | Yes | Image id |

## socra scr image delete

Delete an untagged image

```text
socra scr image delete <id>
```

### Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `id` | Yes | Image id |

## socra scr tag

Mutable names pointing to images

| Command | Purpose |
| --- | --- |
| `socra scr tag list` | List tags |
| `socra scr tag get` | Show a tag |
| `socra scr tag delete` | Delete a tag |

## socra scr tag list

List tags

```text
socra scr tag list [options]
```

### Options

| Option | Input | Description |
| --- | --- | --- |
| `--repository` | Value | Repository id |
| `--limit` | Value | Page size |
| `--after` | Value | Page cursor |

## socra scr tag get

Show a tag

```text
socra scr tag get <id>
```

### Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `id` | Yes | Tag id |

## socra scr tag delete

Delete a tag

```text
socra scr tag delete <id>
```

### Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `id` | Yes | Tag id |

## Next step

Return to the [Container Registry overview](/docs/scr).

---

Company: Socra — Multiply Your Judgment
Canonical URL: https://cloud.socra.com/docs/scr/reference/cli
