module Docker::Api::Images
Overview
API queries for image interaction.
Direct including types
Defined in:
docker/api/images.crInstance Method Summary
-
#build(path : String, **opts)
Builds an image.
-
#images(all : Bool | Nil = nil, name : String | Nil = nil, filters : Hash | Nil = nil)
List images.
-
#inspect_image(id : String)
Query image info.
Instance Method Detail
def build(path : String, **opts)
#
Builds an image.
Contents of path will be compressed and forwarded to the underlying docker instance by this process, allowing for building on remote hosts or environments the docker daemon does not have direct read access to the target.
Returns an iterator of Models::BuildInfo
objects with the build output.
List images.
Similar to the docker ps
command.
def inspect_image(id : String)
#
Query image info.
Identical to the docker inspect
command, but only for image.