Companion::Docker::Client::CreateContainerOptions
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cmd
cmd=(cmd : Array(String))
env
exposed_ports
exposed_ports=(exposed_ports : Companion::Docker::Client::CreateContainerOptions::ExposedPorts)
host_config
host_config=(host_config : Companion::Docker::Client::CreateContainerOptions::HostConfig)
hostname
hostname=(hostname : String)
image
image=(image : String)
labels
labels=(labels : Hash(String, String) | Nil)
networking_config
networking_config=(networking_config : Companion::Docker::Client::CreateContainerOptions::NetworkingConfig)
user
user=(user : String)
volumes
volumes=(volumes : Companion::Docker::Client::CreateContainerOptions::Volumes)
Nested types
- Companion::Docker::Client::CreateContainerOptions::EndpointConfig
- Companion::Docker::Client::CreateContainerOptions::Env
- Companion::Docker::Client::CreateContainerOptions::ExposedPorts
- Companion::Docker::Client::CreateContainerOptions::HostConfig
- Companion::Docker::Client::CreateContainerOptions::NetworkingConfig
- Companion::Docker::Client::CreateContainerOptions::Volumes