Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-11 00:21:58 +00:00
parent 9b844dc12b
commit f3773777cf
36 changed files with 230 additions and 99 deletions

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- List all containers (both running and stopped):
`podman ps --all`
`podman ps {{[-a|--all]}}`
- Create a container from an image, with a custom name:
@@ -31,7 +31,7 @@ source: https://github.com/tldr-pages/tldr.git
- Open a shell inside an already running container:
`podman exec --interactive --tty {{container_name}} {{sh}}`
`podman exec {{[-it|--interactive --tty]}} {{container_name}} {{sh}}`
- Remove a stopped container:
@@ -39,4 +39,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display the logs of one or more containers and follow log output:
`podman logs --follow {{container_name}} {{container_id}}`
`podman logs {{[-f|--follow]}} {{container_name}} {{container_id}}`