class Docr::Endpoints::Containers
- Docr::Endpoints::Containers
- Reference
- Object
Defined in:
endpoints/containers.crConstructors
Instance Method Summary
- #changes(id : String) : Array(Docr::Types::ContainerChangeResponseItem)
- #client : Docr::Client
- #create(name : String, config : Docr::Types::CreateContainerConfig) : Docr::Types::ContainerCreateResponse
- #delete(id : String, volumes = false, force = false, link = false)
- #inspect(id : String) : Docr::Types::ContainerInspectResponse
- #kill(id : String, signal = "SIGKILL")
- #list(all : Bool = false, limit : Int32 | Nil = nil, size : Bool = false, filters = Hash(String, Array(String)).new) : Array(Docr::Types::ContainerSummary)
- #logs(id : String, follow = false, stdout = false, stderr = false, since = 0, _until = 0, timestamps = false, tail = "all")
- #pause(id : String)
- #restart(id : String)
- #start(id : String)
- #stop(id : String)
- #top(id : String, ps_args = "-ef") : Docr::Types::ContainerTopResponse
- #unpause(id : String)
- #wait(id : String, condition = "not-running") : Docr::Types::ContainerWaitResponse
Constructor Detail
Instance Method Detail
def create(name : String, config : Docr::Types::CreateContainerConfig) : Docr::Types::ContainerCreateResponse
#
def list(all : Bool = false, limit : Int32 | Nil = nil, size : Bool = false, filters = Hash(String, Array(String)).new) : Array(Docr::Types::ContainerSummary)
#
def logs(id : String, follow = false, stdout = false, stderr = false, since = 0, _until = 0, timestamps = false, tail = "all")
#