Kaydet (Commit) fce9892e authored tarafından Ben Firshman's avatar Ben Firshman Kaydeden (comit) Joffrey F

Add example for tag()

Carrying #1120. Thanks @Faylixe!
Signed-off-by: 's avatarBen Firshman <ben@firshman.co.uk>
üst e814a39e
......@@ -469,6 +469,11 @@ class ImageApiMixin(object):
Raises:
:py:class:`docker.errors.APIError`
If the server returns an error.
Example:
>>> client.tag('ubuntu', 'localhost:5000/ubuntu', 'latest',
force=True)
"""
params = {
'tag': tag,
......
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