Skip to main content

image_commit

Function image_commit 

Source
pub fn image_commit(
    container: &str,
    image_name: &str,
) -> Result<CommandResult, NerdctlError>
Expand description

Commit a container to an image

ยงArguments

  • container - Container ID or name
  • image_name - New name for the image