https://github.com/mviereck/image2rootfs
Convert a Docker image to a rootfs tarball
https://github.com/mviereck/image2rootfs
converter docker docker-image image rootfs tar tarball
Last synced: 8 months ago
JSON representation
Convert a Docker image to a rootfs tarball
- Host: GitHub
- URL: https://github.com/mviereck/image2rootfs
- Owner: mviereck
- License: mit
- Created: 2022-01-26T06:55:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-30T21:52:11.000Z (over 4 years ago)
- Last Synced: 2025-04-21T04:37:57.850Z (about 1 year ago)
- Topics: converter, docker, docker-image, image, rootfs, tar, tarball
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# image2rootfs
Create a rootfs tarball from a Docker image.
Pulls an image and creates a tarball at `/tmp/image2rootfs/rootfs-.tar`.
Pulls from Docker hub by default or from elsewhere specified with
skopeo image name syntax (see `man skopeo`, section `IMAGE NAMES`).
## Syntax:
```
image2rootfs [OPTIONS] IMAGENAME
```
## Options:
```
-h, --help
-v, --verbose
--version
```
## Dependencies:
```
skopeo
python|python3
tar
gzip
file
```