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

@@ -7,9 +7,7 @@ layout: default
If you don't want to use the proxy, you can also launch
containers on to the Weave network using `weave run`:
~~~bash
$ weave run -ti ubuntu
~~~
The arguments after `run` are passed through to `docker run`. Therefore you
can freely specify whatever Docker options you need.
@@ -19,18 +17,14 @@ this example, it obtains an automatically allocated IP.
You can specify IP addresses manually instead:
~~~bash
$ weave run 10.2.1.1/24 -ti ubuntu
~~~
`weave run` rewrites `/etc/hosts` in the same way
[the proxy does](/site/weave-docker-api/name-resolution-proxy.md). If you need to keep
the original file, specify `--no-rewrite-hosts` when running
the container:
~~~bash
$ weave run --no-rewrite-hosts 10.2.1.1/24 -ti ubuntu
~~~
There are some limitations to starting containers using `weave run`: