Public API

DockerSandbox.DockerConfigType
DockerConfig(; kwargs...)

Required Keyword Arguments:

  • base_image::String

Optional Keyword Arguments:

  • verbose::Bool = false
  • env::Union{Dict{String, String}, Nothing} = nothing
  • platform::Symbol = :linux
  • read_only_maps::Union{Dict{String, String}, Nothing} = nothing
  • read_write_maps::Union{Dict{String, String}, Nothing} = nothing
  • stdin::IO = Base.devnull
  • stdout::IO = Base.stdout
  • stderr::IO = Base.stderr
  • docker_build_stdout::Union{IO, Nothing} = nothing
  • docker_build_stderr::Union{IO, Nothing} = nothing
  • add_capabilities::Union{Vector{String}, Nothing} = nothing
source
Base.runMethod
run(container::DockerContainer, config::DockerConfig, user_cmd::Cmd; kwargs...)
source
Base.successMethod
success(container::DockerContainer, config::DockerConfig, user_cmd::Cmd; kwargs...)
source