Import a tarball as an image.
Section: Images
Import rootfs as image
bash
bash
docker image import rootfs.tar myimage:rootfsExplanation
Useful for creating simple images from exported root filesystems.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Images