class

SailContainers::Client

Inherits Reference < Object

Constructors

new(env : String = "local", driver : Infrastructure::LxcDriver | Nil = nil, resources : Core::ResourceManager | Nil = nil, lxc_base_path : String = "/var/lib/lxc")
Source

Instance methods

create(name : String, template : String, release : String | Nil = nil, local_template : Bool = false, cpus : Int32 = 1, ram : String | Int32 = "512M", disk : String | Int32 = "10G", networks : Array(Models::Network) = [] of Models::Network, autostart : Bool = true) : Nil
Source
destroy(name : String) : Nil
Source
info(name : String) : Models::Container
Source
list
Source
lxc_base_path
Source
restart(name : String) : Nil
Source
start(name : String) : Nil
Source
stop(name : String) : Nil
Source