class

Hocker::Runtime::Container

Inherits JSON::Serializable < Reference < Object

Constants

CONTAINER_DIR = "/var/run/hocker"

Constructors

new(image : String, cmd : String, args : Array(String) = [] of String, network_mode : String = "none", name : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

name_taken?(name : String) : Bool
Source

Instance methods

args
Source
args=(args : Array(String))
Source
cmd=(cmd : String)
Source
container_file
Source
container_if
Source
container_if=(container_if : String | Nil)
Source
created_at
Source
created_at=(created_at : Time)
Source
delete
Source
host_if
Source
host_if=(host_if : String | Nil)
Source
id=(id : String)
Source
image
Source
image=(image : String)
Source
name
Source
name=(name : String | Nil)
Source
network_mode
Source
network_mode=(network_mode : String)
Source
pid=(pid : Int32)
Source
rootfs
Source
rootfs=(rootfs : String)
Source
save
Source
status
Source
status=(status : String)
Source
update_pid(pid : Int32)
Source
update_status(status : String)
Source