Kaydet (Commit) 144f11d4 authored tarafından kenden's avatar kenden

adding response container_id to make the example clearer.

Without this, c.start refers to container_id, which has not been introduced before
üst 6fac5fd4
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment