Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/port-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Port bindings is done in two parts. Firstly, by providing a list of ports to
open inside the container in the `Client().create_container()` method.

```python
c.create_container('busybox', 'ls', ports=[1111, 2222])
container_id = c.create_container('busybox', 'ls', ports=[1111, 2222])
```

Bindings are then declared in the `Client.start` method.
Expand Down
2 changes: 1 addition & 1 deletion docs/volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down