Merge pull request #127 from daniellawrence/patch-1

Updated using volumes (binds)
This commit is contained in:
Maxime Petazzoni 2013-12-22 18:18:50 -08:00
commit 20a2c23bc2
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ c.create_container('busybox', 'ls', volumes=['/mnt/vol1', '/mnt/vol2'])
Volume mappings are then declared inside the `Client.start` method like this:
```python
c.start(container_id, bindings={
c.start(container_id, binds={
'/mnt/vol2': '/home/user1/',
'/mnt/vol1': '/var/www'
})