diff --git a/docs/volumes.md b/docs/volumes.md index 38ab210f..4441b829 100644 --- a/docs/volumes.md +++ b/docs/volumes.md @@ -4,7 +4,7 @@ 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']) +container_id = c.create_container('busybox', 'ls', volumes=['/mnt/vol1', '/mnt/vol2']) ``` Volume mappings are then declared inside the `Client.start` method like this: