Update cheatsheets

This commit is contained in:
ivuorinen
2024-11-22 00:18:42 +00:00
parent ce8badee3a
commit 5f1374d09a
2 changed files with 51 additions and 0 deletions

22
tldr/podman-login Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# podman login
> Log in to a container registry.
> Note: the default authfile path on Linux is `$XDG_RUNTIME_DIR/containers/auth.json`, which is usually stored in a `tmpfs` (in RAM).
> More information: <https://docs.podman.io/en/latest/markdown/podman-login.1.html>.
- Log in to a registry (non-persistent on Linux; persistent on Windows/macOS):
`podman login {{registry.example.org}}`
- Log in to a registry persistently on Linux:
`podman login --authfile $HOME/.config/containers/auth.json {{registry.example.org}}`
- Log in to an insecure (HTTP) registry:
`podman login --tls-verify false {{registry.example.org}}`

29
tldr/pulumi-new Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pulumi new
> Create a new Pulumi project.
> More information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_new/>.
- Choose a template interactively:
`pulumi new`
- Create a project from a specific template (e.g `azure-python`):
`pulumi new {{provided-template}}`
- Create a project from a local file:
`pulumi new {{path/to/templates/aws-typescript}}`
- Create a project from a Git repository:
`pulumi new {{url}}`
- Use the specified secrets provider with the <pulumi.com> backend:
`pulumi new --secrets-provider={{passphrase}}`