pub async fn remove(
force: bool,
packages: Vec<(String, Version)>,
docker_opts: DockerOptions,
) -> Result<(), PackageError>
Expand description
Edited: now working with new versions.
Removes the given list of packages from the local repository.
§Arguments
force
: Whether or not to force removal (remove the image from the Docker daemon even if there are still containers using it).packages
: The list of (name, Version) pairs to remove.docker_opts
: Configuration for how to connect to the local Docker daemon.
§Returns
Nothing on success, or else an error.