Kaydet (Commit) bf077ace authored tarafından Joffrey F's avatar Joffrey F

Removed trailing whitespace in docs

üst 8df3a3f5
This diff is collapsed.
# Contributing
See the [Docker contributing guidelines](https://github.com/docker/docker/blob/master/CONTRIBUTING.md).
See the [Docker contributing guidelines](https://github.com/docker/docker/blob/master/CONTRIBUTING.md).
The following is specific to docker-py.
## Running the tests & Code Quality
......@@ -14,7 +14,7 @@ $ tox
```
## Building the docs
Docs are built with [MkDocs](http://www.mkdocs.org/). For development, you can
Docs are built with [MkDocs](http://www.mkdocs.org/). For development, you can
run the following in the project directory:
```
$ pip install -r docs-requirements.txt
......@@ -32,5 +32,5 @@ Before a new release, please go through the following checklist:
## Vulnerability Reporting
For any security issues, please do NOT file an issue or pull request on github!
Please contact [security@docker.com](mailto:security@docker.com) or read [the
Please contact [security@docker.com](mailto:security@docker.com) or read [the
Docker security page](https://www.docker.com/resources/security/).
......@@ -12,5 +12,4 @@ Our latest stable is always available on PyPi.
Full documentation is available in the `/docs/` directory.
## License
Docker is licensed under the Apache License, Version 2.0. See LICENSE for full
license text
Docker is licensed under the Apache License, Version 2.0. See LICENSE for full license text
......@@ -29,8 +29,8 @@ like such in both the `create_container()` and `start()` calls:
```python
container_id = c.create_container(
'busybox',
'ls',
'busybox',
'ls',
ports=[(1111, 'udp'), 2222]
)
c.start(container_id, port_bindings={'1111/udp': 4567, 2222: None})
......
......@@ -28,7 +28,7 @@ https://docs.python.org/3.4/library/ssl.html#ssl.PROTOCOL_TLSv1)
client = docker.Client(base_url='<https_url>', tls=True)
```
Equivalent CLI options:
Equivalent CLI options:
```bash
docker --tls ...
```
......@@ -48,7 +48,7 @@ tls_config = docker.tls.TLSConfig(ca_cert='/path/to/ca.pem')
client = docker.Client(base_url='<https_url>', tls=tls_config)
```
Equivalent CLI options:
Equivalent CLI options:
```bash
docker --tlsverify --tlscacert /path/to/ca.pem ...`
......
# Using volumes
Volume declaration is done in two parts. First, you have to provide a list of
mountpoints to the `Client().create_container()` method.
Volume declaration is done in two parts. First, you have to provide
a list of mountpoints to the `Client().create_container()` method.
```python
c.create_container('busybox', 'ls', volumes=['/mnt/vol1', '/mnt/vol2'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment