module

Companion::Docker::Client

Instance methods

create_container(options : CreateContainerOptions, name : String) : CreateContainerResponse
Source
create_network(options : CreateNetworkOptions) : CreateNetworkResponse

Creates a network.

Source
get_container_id(name : String) : String | Nil

Get a container's id.

Returns nil if the container is not found.

Source
get_logs(id : String, stdout : Bool, stderr : Bool, lines : Int32) : String

Get a container's logs

Source
images

Get images.

Source
pull_image(name, &block : CreateImageResponse -> )

Pull an image from Docker Hub.

Yield CreateImageResponse objects.

Source
start_container(id : String) : Nil

Start a container.

Source

Nested types