diff options
author | Joffrey F <joffrey@docker.com> | 2014-05-28 01:31:42 +0200 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2014-05-28 01:31:42 +0200 |
commit | d0a448fc6e9364c42b7c46799a32399bf447cf9f (patch) | |
tree | 9cf33b2a6137452b1435158d93754d81da862909 /README.md | |
parent | 55b93d676be5d7dcca82e94b5c3bbae2a3266c7d (diff) | |
download | docker-py-d0a448fc6e9364c42b7c46799a32399bf447cf9f.tar.gz |
Added Client.ping() method
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) ``` |