class Docr::RunCommandBuilder

Defined in:

builder/run_builder.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(api : API) #

[View source]

Instance Method Detail

def autoremove(autoremove : Bool) #

[View source]
def autoremove #

[View source]
def autoremove=(autoremove : Bool) #

[View source]
def cmd(cmd : String) #

[View source]
def cmds(cmds : Array(String)) #

[View source]
def cmds : Array(String) | Nil #

[View source]
def cmds=(cmds : Array(String) | Nil) #

[View source]
def env(name : String, val : String | Nil) #

[View source]
def env : Hash(String, String?) #

[View source]
def env=(env : Hash(String, Nil | String)) #

[View source]
def envs(envs : Hash(String, String | Nil)) #

[View source]
def execute #

[View source]
def image(image : String) #

[View source]
def image : String #

[View source]
def image=(image : String) #

[View source]
def name(name : String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def port(host_port, container_port, host_ip = "127.0.0.1") #

[View source]
def port_bindings : Hash(String, Array(Docr::Types::PortBinding)) #

[View source]
def port_bindings=(port_bindings : Hash(String, Array(Docr::Types::PortBinding))) #

[View source]
def rm(autoremove : Bool) #

[View source]
def rm #

[View source]