Skip to content

Commit 9bf3efb

Browse files
committed
adding response container_id to make the example clearer.
Without it, c.start refer to container_id, which has not been introduced before.
1 parent 144f11d commit 9bf3efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/volumes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Volume declaration is done in two parts. First, you have to provide
44
a list of mountpoints to the `Client().create_container()` method.
55

66
```python
7-
c.create_container('busybox', 'ls', volumes=['/mnt/vol1', '/mnt/vol2'])
7+
container_id = c.create_container('busybox', 'ls', volumes=['/mnt/vol1', '/mnt/vol2'])
88
```
99

1010
Volume mappings are then declared inside the `Client.start` method like this:

0 commit comments

Comments
 (0)