Merge pull request #16619 from Briscoooe/patch-1

Update Docker Engine Python SDK example to use Python 3 syntax
This commit is contained in:
Usha Mandya 2023-03-07 14:22:47 +00:00 committed by GitHub
commit 5cc09b6b5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ func main() {
```python ```python
import docker import docker
client = docker.from_env() client = docker.from_env()
print client.containers.run("alpine", ["echo", "hello", "world"]) print(client.containers.run("alpine", ["echo", "hello", "world"]))
``` ```
</div> </div>