banish ~~~bash

Just use indenting, which is much easier on the eye.
This commit is contained in:
Matthias Radestock committed 2016-03-29 10:30:51 +01:00
1 parent a1eb940c51
commit 3453972ac4
30 files changed
+61 -307

No files matched your search

-8
View File
@@ -11,9 +11,7 @@ attempts to duplicate it.
In the standard auto-detection case you can launch a TLS-enabled proxy as follows:
~~~bash
host1$ weave launch-proxy
~~~
To disable auto-detection of TLS configuration, you can either pass
the `--no-detect-tls` flag, or you can manually configure the proxy's TLS using
@@ -23,10 +21,8 @@ daemon.
For example, if you generated your certificates and keys
into the Docker host's `/tls` directory, launch the proxy using:
~~~bash
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 as they exist on the Docker host.
@@ -41,20 +37,16 @@ for an example.
With the proxy running over TLS, you can configure the Docker
client to use TLS on a per-invocation basis by running:
~~~bash
$ docker --tlsverify --tlscacert=ca.pem --tlscert=cert.pem \
--tlskey=key.pem -H=tcp://host1:12375 version
~~~
or, [by default](https://docs.docker.com/articles/https/#secure-by-default), using:
~~~bash
$ mkdir -pv ~/.docker
$ cp -v {ca,cert,key}.pem ~/.docker
$ eval $(weave env)
$ export DOCKER_TLS_VERIFY=1
$ docker version
~~~
This is exactly the same configuration used when connecting to the
Docker daemon directly, except that the specified port is the Weave