Public API
DockerSandbox.DockerConfig
— TypeDockerConfig(; 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
Base.run
— Methodrun(container::DockerContainer, config::DockerConfig, user_cmd::Cmd; kwargs...)
Base.success
— Methodsuccess(container::DockerContainer, config::DockerConfig, user_cmd::Cmd; kwargs...)
DockerSandbox.with_container
— Methodwith_container(f::Function, ::Type{<:DockerContainer} = DockerContainer; kwargs...)