module

Docker::Api::Images

API queries for image interaction.

Instance methods

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.

Source
images(all : Bool | Nil = nil, name : String | Nil = nil, filters : Hash | Nil = nil)

List images.

Similar to the docker ps command.

Source
inspect_image(id : String)

Query image info.

Identical to the docker inspect command, but only for image.

Source