File: crane_registry_serve.md

package info (click to toggle)
go-containerregistry 0.20.1%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 5,700 kB
  • sloc: sh: 183; makefile: 5
file content (37 lines) | stat: -rw-r--r-- 1,063 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## crane registry serve

Serve a registry implementation

### Synopsis

This sub-command serves a registry implementation on an automatically chosen port (:0), $PORT or --address

The command blocks while the server accepts pushes and pulls.

Contents are can be stored in memory (when the process exits, pushed data is lost.), and disk (--disk).

```
crane registry serve [flags]
```

### Options

```
      --address string   Address to listen on
      --disk string      Path to a directory where blobs will be stored
  -h, --help             help for serve
```

### Options inherited from parent commands

```
      --allow-nondistributable-artifacts   Allow pushing non-distributable (foreign) layers
      --insecure                           Allow image references to be fetched without TLS
      --platform platform                  Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default all)
  -v, --verbose                            Enable debug logs
```

### SEE ALSO

* [crane registry](crane_registry.md)	 -