From c44fb423778e3d40cbc9e309d253067a5b8d4a96 Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Wed, 8 Apr 2020 14:12:59 +0300 Subject: [PATCH] swagger: clarify the meaning of Image field in ContainerInspect endpoint "Container's image" term is rather ambiguous: it can be both a name and an ID. Looking at the sources[1], it's actually an image ID, so bring some clarity. [1]: https://github.com/moby/moby/blob/a6a47d1a4944799ffbe3657d4dae68e0829a0dc6/daemon/inspect.go#L170 Signed-off-by: Nikolay Edigaryev --- api/swagger.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/swagger.yaml b/api/swagger.yaml index 4167e16c6b..b7e714661f 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -5086,7 +5086,7 @@ paths: x-nullable: true $ref: "#/definitions/ContainerState" Image: - description: "The container's image" + description: "The container's image ID" type: "string" ResolvConfPath: type: "string"