mirror of https://github.com/docker/docker-py.git
Merge pull request #146 from felixhummel/fix-readme-binds
fix "binds" docs: { host_dir: docker_dir }
This commit is contained in:
commit
3ad4a442be
|
@ -287,7 +287,7 @@ Volume mappings are then declared inside the `Client.start` method like this:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
c.start(container_id, binds={
|
c.start(container_id, binds={
|
||||||
'/mnt/vol2': '/home/user1/',
|
'/home/user1/': '/mnt/vol2',
|
||||||
'/mnt/vol1': '/var/www'
|
'/var/www': '/mnt/vol1'
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue