Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| f30_buildah [2019/04/03 04:00] – [Simple example] rpjday | f30_buildah [2019/04/03 08:23] (current) – [Basics] rpjday | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| ===== Basics ===== | ===== Basics ===== | ||
| + | |||
| + | '' | ||
| + | |||
| + | * OCI containers/ | ||
| + | * OCI containers/ | ||
| '' | '' | ||
| Line 71: | Line 76: | ||
| $ buildah run $fc bash | $ buildah run $fc bash | ||
| # | # | ||
| + | </ | ||
| + | |||
| + | ===== Running command in container ===== | ||
| + | |||
| + | < | ||
| + | $ buildah run ${fc} cat / | ||
| + | </ | ||
| + | ===== Building containers from scratch ===== | ||
| + | |||
| + | < | ||
| + | $ sc=$(buildah from scratch) | ||
| + | $ buildah containers | ||
| + | CONTAINER ID BUILDER | ||
| + | 6935a1961a34 | ||
| + | 4dd92fc19b8a | ||
| + | $ | ||
| </ | </ | ||