class Docker::Client

Included Modules

Defined in:

docker/client.cr
docker/client/containers.cr
docker/client/exception.cr
docker/client/info.cr

Constant Summary

DEFAULT_CERT_PATH = "#{ENV["HOME"]}/.docker"
DEFAULT_URL = "unix:///var/run/docker.sock"

Constructors

Instance Method Summary

Instance methods inherited from module Docker::Client::Containers

containers(all : Bool = false, limit : Int32 | Nil = nil, since : String | Nil = nil, before : String | Nil = nil, size : Bool = false, filters = {} of String => Array(String)) containers

Instance methods inherited from module Docker::Client::Info

info info

Constructor Detail

def self.new(raw_url : String = ENV.fetch("DOCKER_URL", ENV.fetch("DOCKER_HOST", DEFAULT_URL))) #

[View source]

Instance Method Detail

def cert_path=(cert_path : String | Nil) #

[View source]
def client #

[View source]
def get(*args, **options) #

[View source]
def get(*args, **options, &) #

[View source]
def head(*args, **options) #

[View source]
def head(*args, **options, &) #

[View source]
def patch(*args, **options) #

[View source]
def patch(*args, **options, &) #

[View source]
def post(*args, **options) #

[View source]
def post(*args, **options, &) #

[View source]
def put(*args, **options) #

[View source]
def put(*args, **options, &) #

[View source]
def url : URI #

[View source]
def url=(raw_url) #

[View source]
def verify_tls=(verify_tls : Bool | Nil) #

[View source]