DocsReleasesCommunityGuidesBlog

kraft pkg remove

Removes selected local packages

Remove a Unikraft component.

kraft pkg remove [FLAGS] [PACKAGE]

Examples#

# Remove all packages
kraft pkg remove --all
# Remove only select OCI index packages
kraft pkg remove --format=oci unikraft.org/nginx:latest

Options#

-a, --all Prunes all the packages available on the host machine
-f, --format string Set the package format. (default "any")
-h, --help help for remove
-n, --name string Specify the package name that has to be pruned

Options inherited from parent commands#

-K, --kraftfile string Set an alternative path of the Kraftfile

See Also#

  • kraft pkg: Package and distribute Unikraft unikernels and their dependencies
Edit this page on GitHub

Connect with the community

Feel free to ask questions, report issues, and meet new people.

Join us on Discord!
®

Getting Started

What is a unikernel?Install CLI companion toolUnikraft InternalsRoadmap

© 2024  The Unikraft Authors. All rights reserved. Documentation distributed under CC BY-NC 4.0.