Skip to main content

add

Function add 

Source
pub async fn add(
    container_id: String,
    mapping_opt: Option<String>,
    name: Option<String>,
    socket: impl AsRef<Path>,
    json: bool,
) -> Result<()>
Expand description

Adds a new port mapping via the daemon API.