File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ bazel- *
Original file line number Diff line number Diff line change 1+ # layer
2+
3+ Print info about container image tarballs.
4+
5+ ## Installation
6+
7+ ``` sh
8+ go get github.com/stackb/layer
9+ ```
10+
11+ ## Usage
12+
13+ Show layers in an image:
14+
15+ ``` sh
16+ layer info myimage.tar
17+ ```
18+
19+ List files in an image:
20+
21+ ``` sh
22+ layer ls myimage.tar # all layers
23+ layer ls -S myimage.tar # sorted
24+ layer ls myimage.tar 1 # first layer
25+ layer ls myimage.tar sha256:8fdc131ec4308d2b9196a38855550dc347e83cc0f47d739754ddeb6e03ac2cbe # by diff ID
26+ ```
Original file line number Diff line number Diff line change 1+ module github.com/stackb/layer
2+
3+ go 1.16
4+
5+ require (
6+ github.com/dustin/go-humanize v1.0.0
7+ github.com/google/go-containerregistry v0.8.0
8+ github.com/urfave/cli/v2 v2.6.0
9+ )
You can’t perform that action at this time.
0 commit comments