component/toolinghelp wanted
Repository metrics
- Stars
- (1,253 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Originally filed by @bcwaldon at https://github.com/coreos/rocket/issues/633
I would like to be able to discover, download, verify and unpack a given ACI to a directory on my local filesystem. For example, an ACI with the following structure discoverable at aci.example.com/foo:
/manifest
/rootfs
/rootfs/bin/foo
...could be securely unpacked into a local directory like this:
$ actool fetch --unpack aci.example.com/foo
$ ls
bin/foo
Usage options:
actool fetch --unpack [-C <output-dir> ] <image> // default output-dir to cwd
actool fetch --unpack [-C <output-dir>] <image> [<rootfs-rel-path> ...] // maybe you can unpack specific files out of the ACI; take inspiration for -C from tar -x