Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 486 Bytes

docker-import.md

File metadata and controls

20 lines (12 loc) · 486 Bytes

Create image from tarball

Import the contents from a tarball to create a image

docker import {{FILE|URL}} {{IMAGE_NAME}}

  • FILE|URL: Path or url to the tarball
  • IMAGE_NAME: Name:tag of the newly created docker image

Example:

docker import /path/ak-cli.tar ak-cli:latest

Related Commands