mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-28 11:46:20 -04:00
7515aa6513
Signed-off-by: Jess Frazelle <me@jessfraz.com>
70 lines
1.7 KiB
Markdown
70 lines
1.7 KiB
Markdown
# reg
|
|
|
|
Docker registry v2 client.
|
|
|
|
> **NOTE:** There is a way better, _maintained_ version of this @
|
|
> [`docker-ls`](https://github.com/mayflower/docker-ls)
|
|
|
|
**Auth**
|
|
|
|
`reg` will automatically try to parse your docker config credentials, but if
|
|
not present, you can pass through flags directly.
|
|
|
|
**List Repositories and Tags**
|
|
|
|
```console
|
|
# this command might take a while if you have hundreds of images like I do
|
|
$ reg -r r.j3ss.co ls
|
|
Repositories for r.j3ss.co
|
|
REPO TAGS
|
|
ab latest
|
|
android-tools latest
|
|
apt-file latest
|
|
atom latest
|
|
audacity latest
|
|
awscli latest
|
|
beeswithmachineguns latest
|
|
buttslock latest
|
|
camlistore latest
|
|
cathode latest
|
|
cf-reset-cache latest
|
|
cheese latest
|
|
chrome beta, latest, stable
|
|
...
|
|
```
|
|
|
|
**Usage**
|
|
|
|
```console
|
|
$ reg
|
|
NAME:
|
|
reg - Docker registry v2 client.
|
|
|
|
USAGE:
|
|
reg [global options] command [command options] [arguments...]
|
|
|
|
VERSION:
|
|
v0.2.0
|
|
|
|
AUTHOR(S):
|
|
@jfrazelle <no-reply@butts.com>
|
|
|
|
COMMANDS:
|
|
list, ls list all repositories
|
|
tags get the tags for a repository
|
|
manifest get the json manifest for the specific reference of a repository
|
|
help, h Shows a list of commands or help for one command
|
|
|
|
GLOBAL OPTIONS:
|
|
--debug, -d run in debug mode
|
|
--username value, -u value username for the registry
|
|
--password value, -p value password for the registry
|
|
--registry value, -r value URL to the provate registry (ex. r.j3ss.co)
|
|
--help, -h show help
|
|
--version, -v print the version
|
|
```
|
|
|
|
**Known Issues**
|
|
|
|
`reg` does not work to:
|
|
* output image history
|