Fix erroneously hyphenated Docker TLS arguments
This commit is contained in:
1 parent
02b7fd53ed
commit
9263d3e82c
1 file changed
+4
-4
+4
-4
@@ -237,8 +237,8 @@ supplied to the docker daemon. For example, if you have generated your
|
|||||||
certificates and keys into the docker host's `/tls` directory, we can
|
certificates and keys into the docker host's `/tls` directory, we can
|
||||||
launch the proxy with:
|
launch the proxy with:
|
||||||
|
|
||||||
host1$ weave launch-proxy --tls-verify --tls-cacert=/tls/ca.pem \
|
host1$ weave launch-proxy --tlsverify --tlscacert=/tls/ca.pem \
|
||||||
--tls-cert=/tls/server-cert.pem --tls-key=/tls/server-key.pem
|
--tlscert=/tls/server-cert.pem --tlskey=/tls/server-key.pem
|
||||||
|
|
||||||
The paths to your certificates and key must be provided as absolute
|
The paths to your certificates and key must be provided as absolute
|
||||||
paths which exist on the docker host.
|
paths which exist on the docker host.
|
||||||
@@ -254,8 +254,8 @@ for an example.
|
|||||||
With the proxy running over TLS, we can configure our regular docker
|
With the proxy running over TLS, we can configure our regular docker
|
||||||
client to use TLS on a per-invocation basis with
|
client to use TLS on a per-invocation basis with
|
||||||
|
|
||||||
$ docker --tls-verify --tls-cacert=ca.pem --tls-cert=cert.pem \
|
$ docker --tlsverify --tlscacert=ca.pem --tlscert=cert.pem \
|
||||||
--tls-key=key.pem -H=tcp://host1:12375 version
|
--tlskey=key.pem -H=tcp://host1:12375 version
|
||||||
...
|
...
|
||||||
|
|
||||||
or,
|
or,
|
||||||
|
|||||||
Reference in new issue
Block a user