Skip to content

Commit

Permalink
add layout directory listing
Browse files Browse the repository at this point in the history
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
  • Loading branch information
mikemccracken committed Dec 13, 2023
1 parent 28171f5 commit 6c78270
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/talks/stacker101/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exampletarball:

%: %.stacker.yaml exampletarball
stacker --oci-dir $@ build $(BARG) -f $<
tree $@
tree -h $@
@echo "press enter to run oci-viewer"
@read a
~/bin/ociv $@
Expand Down
18 changes: 18 additions & 0 deletions doc/talks/stacker101/stacker101.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,24 @@ stacker convert

---

# OCI layouts: what exactly are we building?

```
tree -h mylayout
[4.0K] mylayout
├── [4.0K] blobs
│   └── [4.0K] sha256
│   ├── [ 82M] 1377df6593e020... # first layer of base image <──┐
│   ├── [1.9M] 27ac08e0731341... # top layer of base image we imported <──┤
│   ├── [ 142] 5aa530963e08fc... # layer added during build <──┤
│   ├── [1.0K] eea0dfeb15fd39... # image manifest ──>┐ ──>┘ <─┐
│   └── [ 988] fb47d876bd9bc6... # config blob for image <──┘ │
├── [ 301] index.json # index with tag "test" for image "eea0d" ──>┘
└── [ 31] oci-layout
```

---

# How is it different?

- Standalone, not a daemon
Expand Down

0 comments on commit 6c78270

Please sign in to comment.