module Docker::Api::Images

Overview

API queries for image interaction.

Direct including types

Defined in:

docker/api/images.cr

Instance Method Summary

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.


[View source]
def images(all : Bool | Nil = nil, name : String | Nil = nil, filters : Hash | Nil = nil) #

List images.

Similar to the docker ps command.


[View source]
def inspect_image(id : String) #

Query image info.

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


[View source]