mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-28 11:46:20 -04:00
parent
fd4a06bc88
commit
d5a3e96b0f
1 changed files with 7 additions and 10 deletions
17
README.md
17
README.md
|
@ -4,7 +4,7 @@
|
||||||
[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://godoc.org/github.com/genuinetools/reg)
|
[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://godoc.org/github.com/genuinetools/reg)
|
||||||
[![Github All Releases](https://img.shields.io/github/downloads/genuinetools/reg/total.svg?style=for-the-badge)](https://github.com/genuinetools/reg/releases)
|
[![Github All Releases](https://img.shields.io/github/downloads/genuinetools/reg/total.svg?style=for-the-badge)](https://github.com/genuinetools/reg/releases)
|
||||||
|
|
||||||
Docker registry v2 command line client.
|
Docker registry v2 command line client and listing generator with security checks.
|
||||||
|
|
||||||
* [Installation](README.md#installation)
|
* [Installation](README.md#installation)
|
||||||
* [Binaries](README.md#binaries)
|
* [Binaries](README.md#binaries)
|
||||||
|
@ -194,20 +194,17 @@ Medium: 3
|
||||||
High: 1
|
High: 1
|
||||||
```
|
```
|
||||||
|
|
||||||
### Running a Static UI Server for a Registry
|
### Generating Static Website for a Registry
|
||||||
|
|
||||||
|
`reg` bundles HTTP server that periodically generates static website
|
||||||
|
with list of registry images and serves it to the web.
|
||||||
|
|
||||||
The tool comes with a server which runs a static UI for a registry.
|
|
||||||
It will run vulnerability scanning if you
|
It will run vulnerability scanning if you
|
||||||
have a [CoreOS Clair](https://github.com/coreos/clair) server set up
|
have a [CoreOS Clair](https://github.com/coreos/clair) server set up
|
||||||
and pass the url with the `--clair` flag.
|
and pass the url with the `--clair` flag.
|
||||||
|
|
||||||
The server will generate the static assets and you can exit after with the
|
It is possible to run `reg server` just as one time static generator.
|
||||||
`--once` flag. By default it will run in a daemon mode and generate the
|
`--once` flag makes `server` exit after it builds HTML listing.
|
||||||
`index.html` and serve it as a static asset but the tags pages will be loaded
|
|
||||||
dynamically. This is so that vulnerability scanning can be done on the fly.
|
|
||||||
|
|
||||||
_However_, if you run with `--once` you will still get the static tags assets
|
|
||||||
as well.
|
|
||||||
|
|
||||||
There is a demo at [r.j3ss.co](https://r.j3ss.co).
|
There is a demo at [r.j3ss.co](https://r.j3ss.co).
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue