...
1## crane registry serve
2
3Serve a registry implementation
4
5### Synopsis
6
7This sub-command serves a registry implementation on an automatically chosen port (:0), $PORT or --address
8
9The command blocks while the server accepts pushes and pulls.
10
11Contents are can be stored in memory (when the process exits, pushed data is lost.), and disk (--disk).
12
13```
14crane registry serve [flags]
15```
16
17### Options
18
19```
20 --address string Address to listen on
21 --disk string Path to a directory where blobs will be stored
22 -h, --help help for serve
23```
24
25### Options inherited from parent commands
26
27```
28 --allow-nondistributable-artifacts Allow pushing non-distributable (foreign) layers
29 --insecure Allow image references to be fetched without TLS
30 --platform platform Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default all)
31 -v, --verbose Enable debug logs
32```
33
34### SEE ALSO
35
36* [crane registry](crane_registry.md) -
37
View as plain text