CrystaLXD::Container::Configuration
Inherits JSON::Serializable < CrystaLXD::Container::Base < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
new(architecture : String = "x86_64", config : Config | Nil = nil, devices : Hash(String, Hash(String, String)) | Nil = nil, ephemeral : Bool = false, instance_type : String | Nil = nil, profiles : Array(String) = ["default"])
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance methods
architecture
config
Config override.
devices
Optional list of devices the container should have.
ephemeral
Whether to destroy the container on shutdown.
instance_type
An optional instance type to use as basis for limits.
profiles
List of profiles.