OS Manuals

/usr/bin/undock

Extract contents of a container image in a local folder

From undock 0.14.1-r5 (os), captured 2026-11-07 by running undock --help (exit 0). permalink

Usage: undock <source> <dist> [flags]

Extract contents of a container image in a local folder. More info:
https://github.com/crazy-max/undock

Arguments:
  <source>    Source image. (eg. alpine:latest)
  <dist>      Dist folder. (eg. ./dist)

Flags:
  -h, --help                   Show context-sensitive help.
      --version
      --log-level="info"       Set log level ($LOG_LEVEL).
      --log-json               Enable JSON logging output ($LOG_JSON).
      --log-caller             Add file:line of the caller to log output ($LOG_CALLER).
      --log-nocolor            Disable colorized output ($LOG_NOCOLOR).
      --cachedir=STRING        Set cache path. (eg. ~/.local/share/undock/cache) ($UNDOCK_CACHE_DIR)
      --platform=STRING        Enforce platform for source image. (eg. linux/amd64)
      --all                    Extract all architectures if source is a manifest list.
      --include=INCLUDE,...    Include a subset of files/dirs from the source image.
      --insecure               Allow contacting the registry or docker daemon over HTTP, or HTTPS
                               with failed TLS verification.
      --rm-dist                Removes dist folder.
      --wrap                   For a manifest list, merge output in dist folder.
Options (13)
OptionDescriptionSource
-h, --helpShow context-sensitive help.help
--versionhelp
--log-level "info"Set log level ($LOG_LEVEL).help
--log-jsonEnable JSON logging output ($LOG_JSON).help
--log-callerAdd file:line of the caller to log output ($LOG_CALLER).help
--log-nocolorDisable colorized output ($LOG_NOCOLOR).help
--cachedir STRINGSet cache path.help
--platform STRINGEnforce platform for source image.help
--allExtract all architectures if source is a manifest list.help
--include INCLUDEInclude a subset of files/dirs from the source image.help
--insecureAllow contacting the registry or docker daemon over HTTP, or HTTPS with failed TLS verification.help
--rm-distRemoves dist folder.help
--wrapFor a manifest list, merge output in dist folder.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.