Commit a73154bb authored by David Johnson's avatar David Johnson

Add uncommitted image_history dockerclient method.

parent 918e6f83
......@@ -649,6 +649,17 @@ sub image_inspect($$) {
return $self->_get("/images/$image/json");
}
$METHODS{'image_history'} = {
'required' => ['image'],
'help' => "Return a JSON dump of the given image",
'phelp' => { 'id' => "The image name or id" }
};
sub image_history($$) {
my ($self,$image) = @_;
return $self->_get("/images/$image/history");
}
$METHODS{'image_pull'} = {
'required' => ['image'],
'optional' => ['user','pass'],
......
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