OS Manuals

/usr/bin/apko

Build OCI images using APK directly without Dockerfile

From apko 1.4.18-r0 (os), captured 2026-11-09 by running apko --help (exit 0). permalink

Also provided by 1 other package version
Usage:
  apko [command]

Available Commands:
  build            Build an image from a YAML configuration file
  build-minirootfs Build a minirootfs image from a YAML configuration file
  clean            Clean the apko cache directory
  completion       Generate the autocompletion script for the specified shell
  dot              Output a digraph showing the resolved dependencies of an apko config
  erofs            Mount, unmount, and inspect EROFS images produced by apko
  help             Help about any command
  install-keys     Discover and install keys for all repositories
  login            Log in to a registry
  publish          Build and publish an image
  show-config      Show the configuration derived from loading a YAML file
  show-packages    Show the packages and versions that would be installed by a configuration
  version          Prints the version

Flags:
  -h, --help               help for apko
      --log-level string   log level (e.g. debug, info, warn, error, fatal, panic) (default "INFO")
  -C, --workdir string     working dir (default is current dir where executed) (default "/tmp")

Use "apko [command] --help" for more information about a command.
Options (3)
OptionDescriptionSource
-h, --helphelp for apkohelp
--log-level stringlog level (e.g. debug, info, warn, error, fatal, panic) (default "INFO")help
-C, --workdir stringworking dir (default is current dir where executed) (default "/tmp")help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.