From 7439083ed24dde7af4c85abdf2b3d0e294ad0f8d Mon Sep 17 00:00:00 2001 From: Michael McCracken Date: Wed, 13 Dec 2023 09:13:15 -0800 Subject: [PATCH] merge stacker.md files Signed-off-by: Michael McCracken --- doc/talks/stacker101/stacker.md | 74 ------------------ doc/talks/stacker101/stacker101.md | 119 ++++++++++++++++++++--------- 2 files changed, 81 insertions(+), 112 deletions(-) delete mode 100644 doc/talks/stacker101/stacker.md diff --git a/doc/talks/stacker101/stacker.md b/doc/talks/stacker101/stacker.md deleted file mode 100644 index d9244576..00000000 --- a/doc/talks/stacker101/stacker.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: Stacker 101 -marp: true -theme: gaia -transition: fade -paginate: true -_paginate: false -_footer: Stacker Maintainers - https://stackerbuild.io -... - -# Stacker 101 - - - -- What, Why and How -- Stacker Usecases with Examples -- Stacker eating Dockerfiles -- Stacker && SBOM Demo -- How to follow up & get help -- What's next for Stacker -- Q&A - ---- - -# What is Stacker - -* OCI Native Container Image builder -* Built by Cisco, Open Source and public since day 1 - -```bash -commit 0d25e66e287718979982487b7f8ae45a3a606321 -Author: Tycho Andersen -Date: Wed Nov 29 17:42:50 2017 -0700 - - initial commit - - Signed-off-by: Tycho Andersen -``` - -In heavy use by ACI, Nexus Dashboard and Nexus applications for years. - - - ---- - -# Why did we build this? - -Build, Distribute and Run software as containers - -![height:400 width:800](flow3.png) - ---- - -# `OCI` "Standards" - -* __image spec__: https://github.com/opencontainers/image-spec -* __distribution spec__: https://github.com/opencontainers/distribution-spec -* __runtime spec__: https://github.com/opencontainers/runtime-spec - ---- - -# `OCI` Ecosystem - -| Purpose | Redhat | Microsoft | Google | Docker| Cisco | -| --- | --- | --- | --- | --- | --- | -| Build | `buildah` | | `bazel` | `buildx` | `stacker` | -| Push/pull | `skopeo` | `oras` | `crane` | _`docker`_ | | -| Run | `podman` | | | `docker` | | -| Sign | `cosign` | `notation` | `cosign` | `notaryv1` | | -| Registry | _`quay`_ | `acr` | _`gar`_ | _`distribution`_ | `zot` | - ---- \ No newline at end of file diff --git a/doc/talks/stacker101/stacker101.md b/doc/talks/stacker101/stacker101.md index 5af4bc60..083114fc 100644 --- a/doc/talks/stacker101/stacker101.md +++ b/doc/talks/stacker101/stacker101.md @@ -16,41 +16,95 @@ patat: # Stacker 101 -- Terms -- How does it work -- How is it different -- Getting your base -- Importing things -- Making changes -- Debugging failures -- Minimizing Images +- What, Why and How +- Stacker Usecases with Examples +- Stacker eating Dockerfiles +- Stacker && SBOM Demo - How to follow up & get help +- What's next for Stacker +- Q&A --- +# What is Stacker + +* OCI Native Container Image builder +* Built by Cisco, Open Source and public since day 1 + +``` +commit 0d25e66e287718979982487b7f8ae45a3a606321 +Author: Tycho Andersen +Date: Wed Nov 29 17:42:50 2017 -0700 + + initial commit + + Signed-off-by: Tycho Andersen +``` + +In heavy use by ACI, Nexus Dashboard and Nexus applications for years. + + +--- + +# Why did we build this? + +Build, Distribute and Run software as containers + +--- + +![](flow3.png) + +--- + +# `OCI` "Standards" + +* __image spec__: https://github.com/opencontainers/image-spec +* __distribution spec__: https://github.com/opencontainers/distribution-spec +* __runtime spec__: https://github.com/opencontainers/runtime-spec + +--- + +# `OCI` Ecosystem + +| Purpose | Redhat | Microsoft | Google | Docker| Cisco | +| --- | --- | --- | --- | --- | --- | +| Build | `buildah` | | `bazel` | `buildx` | `stacker` | +| Push/pull | `skopeo` | `oras` | `crane` | _`docker`_ | | +| Run | `podman` | | | `docker` | | +| Sign | `cosign` | `notation` | `cosign` | `notaryv1` | | +| Registry | _`quay`_ | `acr` | _`gar`_ | _`distribution`_ | `zot` | + +--- + + +![](standards.png) + +--- + + # Terms - *container* - - a process tree running in a restricted environment + - a process tree running in a restricted environment - *image* - - a packaged* directory tree to be used as the root filesystem for a container + - a packaged* directory tree to be used as the root filesystem for a container - includes some config for how to run the container, often ignored in k8s - *base image* - - an existing image to start from when building a new image + - an existing image to start from when building a new image - *layer / content-addressed blob* - - implementation detail of current container images, coarse way to share storage + - implementation detail of current container images, coarse way to share storage - *runtime* - - software that unpacks and mounts images and starts containers + - software that unpacks and mounts images and starts containers - *OCI* - - Open Source Spec for container image and runtime tools and data formats - - includes a spec for on-disk image storage and for image repository API + - Open Source Spec for container image and runtime tools and data formats + - includes a spec for on-disk image storage and for image repository API - *OCI Layout* - - just a directory somewhere on disk with one or more container images + - just a directory somewhere on disk with one or more container images - *LXC* (not LXD) - - Open Source library for running and managing containers. Supports OCI among many image types. Builder agnostic. + - Open Source library for running and managing containers. Supports OCI among many image types. Builder agnostic. - *Docker* - - Open Source tool for building, running and managing containers, does many other things. - - OCI specs (but not code) overlap significantly with docker + - Open Source tool for building, running and managing containers, does many other things. + - OCI specs (but not code) overlap significantly with docker --- @@ -64,17 +118,6 @@ patat: - understandability & maintainability - --- @@ -92,19 +135,11 @@ tracing through many files and scripts - Save any changes as a new image in an OCI Layout - . . . Sounds a bit like "docker build," right? - --- @@ -511,3 +546,11 @@ paranoid? use the manifest hash of the layer: ```bash bat -n --decorations always 2.stacker.yaml ``` + + +--- + +# backup architecture slide + +![](arch.jpg) +