mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 14:53:31 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# docker compose
|
# docker compose
|
||||||
|
|
||||||
> Run and manage multi container Docker applications.
|
> 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:
|
- List all running containers:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# docker container diff
|
# docker container diff
|
||||||
|
|
||||||
> This command is an alias of `docker 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 documentation for the original command:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# docker diff
|
# docker diff
|
||||||
|
|
||||||
> Inspect changes to files or directories on a container's filesystem.
|
> 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:
|
- Inspect the changes to a container since it was created:
|
||||||
|
|
||||||
|
|||||||
17
tldr/linux/mkfs.xfs
Normal file
17
tldr/linux/mkfs.xfs
Normal 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
33
tldr/pulumi-destroy
Normal 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`
|
||||||
Reference in New Issue
Block a user