Skip to main content

create_bundle

Function create_bundle 

Source
pub async fn create_bundle(
    container_id: &ContainerId,
    spec: &ServiceSpec,
    rootfs_path: Option<PathBuf>,
) -> Result<PathBuf>
Expand description

Create a bundle for a container

Convenience function that creates a bundle in the default location.

ยงErrors

Returns an error if bundle creation fails.