DocsReleasesCommunityGuidesBlog

kraft pkg pull

Pull a Unikraft unikernel and/or its dependencies

Pull a Unikraft unikernel, component microlibrary from a remote location

kraft pkg pull [FLAGS] [PACKAGE|DIR]

Examples#

# Pull the dependencies for a project in the current working directory
$ kraft pkg pull
# Pull dependencies for a project at a path
$ kraft pkg pull path/to/app
# Pull a source repository
$ kraft pkg pull github.com/unikraft/app-nginx.git
# Pull from a manifest
$ kraft pkg pull nginx:1.21.6
# Pull from a registry
$ kraft pkg pull unikraft.org/nginx:1.21.6

Options#

-A, --all Pull all versions
-m, --arch string Specify the desired architecture
-f, --as string Set the package format (default "auto")
-h, --help help for pull
-k, --kconfig strings Request a package with specific KConfig options.
-K, --kraftfile string Set an alternative path of the Kraftfile
-C, --no-checksum Do not verify package checksum (if available)
-o, --output string Save the package contents to the provided directory
-p, --plat string Specify the desired platform
-u, --update Perform an update which gathers remote sources
-w, --workdir string Set a path to working directory to pull components to

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.