From a7f7fbb0fdd1ad247c413170c354d08deb43dd32 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Tue, 10 Feb 2015 12:43:56 -0800 Subject: rename() tests and docs --- docs/api.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/api.md') diff --git a/docs/api.md b/docs/api.md index dba4cde..1d162e9 100644 --- a/docs/api.md +++ b/docs/api.md @@ -526,6 +526,15 @@ Remove an image. Similar to the `docker rmi` command. * force (bool): Force removal of the image * noprune (bool): Do not delete untagged parents +## rename + +Rename a container. Similar to the `docker rename` command. + +**Params**: + +* container (str): ID of the container to rename +* name (str): New name for the container + ## restart Restart a container. Similar to the `docker restart` command. -- cgit v1.2.1