summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2014-05-28 01:31:42 +0200
committerJoffrey F <joffrey@docker.com>2014-05-28 01:31:42 +0200
commitd0a448fc6e9364c42b7c46799a32399bf447cf9f (patch)
tree9cf33b2a6137452b1435158d93754d81da862909 /README.md
parent55b93d676be5d7dcca82e94b5c3bbae2a3266c7d (diff)
downloaddocker-py-d0a448fc6e9364c42b7c46799a32399bf447cf9f.tar.gz
Added Client.ping() method
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 33cdfcd..21246ac 100644
--- a/README.md
+++ b/README.md
@@ -171,6 +171,13 @@ instead if you want to fetch/stream container output without first
retrieving the entire backlog.
```python
+c.ping()
+```
+
+Hits the /_ping endpoint of the remote API and returns the result.
+An exception will be raised if the endpoint isn't responding.
+
+```python
c.port(container, private_port)
```