Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
buildah [2025/11/27 17:56] jango |
buildah [2025/11/27 18:06] (aktuell) jango |
||
|---|---|---|---|
| Zeile 2: | Zeile 2: | ||
| <code bash> | <code bash> | ||
| + | buildah run $(buildah from ubuntu) -- bash | ||
| + | |||
| + | buildah rm < | ||
| + | buildah rmi < | ||
| + | |||
| buildah images | buildah images | ||
| # Image erstellen | # Image erstellen | ||
| buildah bud -t 192.168.1.2: | buildah bud -t 192.168.1.2: | ||
| + | |||
| + | # Image ansehen | ||
| + | buildah inspect 192.168.1.2: | ||
| # In die Registry pushen | # In die Registry pushen | ||
| Zeile 17: | Zeile 25: | ||
| {" | {" | ||
| </ | </ | ||
| + | |||
| + | * -t, --tty : allocate a pseudo-TTY (handy for interactive shells) | ||
| + | * -e, --env KEY=VALUE : set env vars for this run only (non-persistent) | ||
| + | * --workingdir DIR : set working directory for this run only | ||
| + | * --user user[: | ||
| + | * --network, --net MODE : host, none, slirp4netns, | ||
| + | * --volume/-v HOST: | ||
| + | * --mount type=bind|tmpfs|cache|secret, | ||
| + | * --cap-add/ | ||