Skip to content

Commit b9de225

Browse files
committed
Add basic documentation for TLS flags
1 parent a811845 commit b9de225

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ $ docker run -d --name nginx-gen --volumes-from nginx \
7373
### Usage
7474
```
7575
$ docker-gen
76-
Usage: docker-gen [-config file] [-watch=false] [-notify="restart xyz"] [-notify-sighup="nginx-proxy"] [-interval=0] [-endpoint tcp|unix://..] <template> [<dest>]
76+
Usage: docker-gen [-config file] [-watch=false] [-notify="restart xyz"] [-notify-sighup="nginx-proxy"] [-interval=0] [-endpoint tcp|unix://..] [-tlsverify] [-tlscert file] [-tlskey file] [-tlscacert file] <template> [<dest>]
7777
```
7878

7979
*Options:*
@@ -88,6 +88,10 @@ Usage: docker-gen [-config file] [-watch=false] [-notify="restart xyz"] [-notify
8888
-notify-sighup="": send HUP signal to container. Equivalent to `docker kill -s HUP container-ID`
8989
-only-exposed=false: only include containers with exposed ports
9090
-only-published=false: only include containers with published ports (implies -only-exposed)
91+
-tlscacert="": path to TLS CA certificate file
92+
-tlscert="": path to TLS client certificate file
93+
-tlskey="": path to TLS client key file
94+
-tlsverify=false: verify docker daemon's TLS certicate
9195
-version=false: show version
9296
-watch=false: run continuously and monitors docker container events. When containers are started
9397
or stopped, the template is regenerated.

0 commit comments

Comments
 (0)