Docker Registry and Delivery

docker image import

Create a new filesystem image from archive content. Use a trusted local archive in a disposable engine; this is not image load. Imported images require independent identity and configuration checks.

Formal Syntax & Structure

docker syntaxdocker
docker image import [OPTIONS] file|URL|- [REPOSITORY[:TAG]]

Parameters & Attributes

NameTypeDescription
-c, --changestringApply supported image configuration instructions.

Return Value

CLI operation

Exit status indicates command outcome; verify the intended state separately.

Working Example

Example Snippetdocker
docker image import bm-rootfs.tar bm-imported:1
Docker Reference