Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,15 @@ Tag an image into a repository. Identical to the `docker tag` command.

**Returns** (bool): True if successful

Here is an example for tagging ``ubuntu`` image in order to push it to a local registry :

```python
>>> from docker import Client
>>> cli = Client()
>>> cli.tag('ubuntu', 'localhost:5000/ubuntu', 'latest', True)
True
```

## top
Display the running processes of a container.

Expand Down