Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-23 00:19:06 +00:00
parent 8ba6f7fc9e
commit 94c28849c9
382 changed files with 1183 additions and 1056 deletions

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Create and start all containers in the background using a `docker-compose.yml` file from the current directory:
`docker compose up --detach`
`docker compose up {{[-d|--detach]}}`
- Start all containers, rebuild if necessary:
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Start all containers by specifying a project name and using an alternate compose file:
`docker compose -p {{project_name}} --file {{path/to/file}} up`
`docker compose {{[-p|--project-name]}} {{project_name}} {{[-f|--file]}} {{path/to/file}} up`
- Stop all running containers:
@@ -30,12 +30,12 @@ source: https://github.com/tldr-pages/tldr.git
- Stop and remove all containers, networks, images, and volumes:
`docker compose down --rmi all --volumes`
`docker compose down --rmi all {{[-v|--volumes]}}`
- Follow logs for all containers:
`docker compose logs --follow`
`docker compose logs {{[-f|--follow]}}`
- Follow logs for a specific container:
`docker compose logs --follow {{container_name}}`
`docker compose logs {{[-f|--follow]}} {{container_name}}`