By not specifying a specific tag, the example would download every Ubuntu tag that exists.

This oversight caused my machine to run out of disk space holding all the image diffs.

Signed-off-by: Brandon Jackson <usbrandon@gmail.com>
This commit is contained in:
Brandon Jackson 2017-07-18 09:35:31 -05:00 committed by Joffrey F
parent a23cd3d8e8
commit 9abcaccb89
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ client = docker.from_env()
You can run containers:
```python
>>> client.containers.run("ubuntu", "echo hello world")
>>> client.containers.run("ubuntu:latest", "echo hello world")
'hello world\n'
```