allow overriding docker repo and image tag
Signed-off-by: Ava Hahn <a.hahn@f5.com>
This commit is contained in:
parent
6cf99b26ec
commit
4e32355923
2 changed files with 29 additions and 5 deletions
|
|
@ -34,13 +34,16 @@ Unitctl has many functions.
|
|||
|
||||
### Starting a running Unit instance
|
||||
```
|
||||
λ target/debug/unitctl start
|
||||
λ unitctl start
|
||||
|
||||
Usage: unitctl start --socket <SOCKET>
|
||||
Usage: unitctl start [OPTIONS] --socket <SOCKET>
|
||||
|
||||
Options:
|
||||
-s, --socket <SOCKET> path to desired control socket
|
||||
-i, --image <IMAGE> image tag for the unit container [default: latest]
|
||||
-r, --repo <REPO> alternate docker repository for custom unit images [default: nginx/unit]
|
||||
-h, --help Print help
|
||||
|
||||
```
|
||||
|
||||
Unitctl will load and start a local Unit container.
|
||||
|
|
@ -202,4 +205,4 @@ Example of a search for endpoints:
|
|||
- /config/listeners/{listenerName}/forwarded/recursive
|
||||
- /config/listeners/{listenerName}/forwarded/source
|
||||
- /config/listeners/{listenerName}/forwarded/source/{arrayIndex}
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue