Update cheatsheets

This commit is contained in:
ivuorinen
2024-09-15 00:18:20 +00:00
parent b65706ac27
commit 0097d6bbd1
5 changed files with 53 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# docker compose
> Run and manage multi container Docker applications.
> More information: <https://docs.docker.com/compose/reference/>.
> More information: <https://docs.docker.com/reference/cli/docker/compose/>.
- List all running containers:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# docker container diff
> This command is an alias of `docker diff`.
> More information: <https://docs.docker.com/engine/reference/commandline/diff>.
> More information: <https://docs.docker.com/reference/cli/docker/container/diff/>.
- View documentation for the original command:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# docker diff
> Inspect changes to files or directories on a container's filesystem.
> More information: <https://docs.docker.com/engine/reference/commandline/diff>.
> More information: <https://docs.docker.com/reference/cli/docker/container/diff/>.
- Inspect the changes to a container since it was created:

17
tldr/linux/mkfs.xfs Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# mkfs.xfs
> Create an XFS filesystem inside a partition.
> More information: <https://manned.org/mkfs.xfs>.
- Create an XFS filesystem inside partition 1 on a device (`X`):
`sudo mkfs.xfs {{/dev/sdX1}}`
- Create an XFS filesystem with a volume label:
`sudo mkfs.xfs -L {{volume_label}} {{/dev/sdX1}}`

33
tldr/pulumi-destroy Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pulumi destroy
> Destroy all existing resources in a stack.
> More information: <https://www.pulumi.com/docs/cli/commands/pulumi_destroy/>.
- Destroy all resources in the current stack:
`pulumi destroy`
- Destroy all resources in a specific stack:
`pulumi destroy --stack {{stack}}`
- Automatically approve and destroy resources after previewing:
`pulumi destroy --yes`
- Exclude protected resources from being destroyed:
`pulumi destroy --exclude-protected`
- Remove the stack and its configuration file after all resources in the stack are deleted:
`pulumi destroy --remove`
- Continue destroying the resources, even if an error is encountered:
`pulumi destroy --continue-on-error`