Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1699 from /issues/1693-fix-proxy-docs-tls-args
Browse files Browse the repository at this point in the history
Fix erroneously hyphenated Docker TLS arguments; Fixes #1693.
LGTM
  • Loading branch information
bboreham committed Nov 20, 2015
2 parents 02b7fd5 + 9263d3e commit 2a2c602
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
launch the proxy with:

host1$ weave launch-proxy --tls-verify --tls-cacert=/tls/ca.pem \
--tls-cert=/tls/server-cert.pem --tls-key=/tls/server-key.pem
host1$ weave launch-proxy --tlsverify --tlscacert=/tls/ca.pem \
--tlscert=/tls/server-cert.pem --tlskey=/tls/server-key.pem

The paths to your certificates and key must be provided as absolute
paths which exist on the docker host.
Expand All @@ -254,8 +254,8 @@ for an example.
With the proxy running over TLS, we can configure our regular docker
client to use TLS on a per-invocation basis with

$ docker --tls-verify --tls-cacert=ca.pem --tls-cert=cert.pem \
--tls-key=key.pem -H=tcp://host1:12375 version
$ docker --tlsverify --tlscacert=ca.pem --tlscert=cert.pem \
--tlskey=key.pem -H=tcp://host1:12375 version
...

or,
Expand Down

0 comments on commit 2a2c602

Please sign in to comment.