class

SailContainers::Infrastructure::LxcCliDriver

Inherits SailContainers::Infrastructure::LxcDriver < Reference < Object

Constructors

new(lxc_base_path : String = "/var/lib/lxc", debug : Bool = false)

Allow injecting the base path so tests can isolate it

Source

Instance methods

create(name : String, template : String, release : String | Nil, local_template : Bool, storage_args : Array(String)) : Nil
Source
debug
Source
destroy(name : String) : Nil
Source
lxc_base_path
Source
running?(name : String) : Bool
Source
start(name : String) : Nil
Source
stop(name : String) : Nil
Source