mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 07:45:59 +00:00
Update cheatsheets
This commit is contained in:
22
tldr/podman-login
Normal file
22
tldr/podman-login
Normal 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
29
tldr/pulumi-new
Normal 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}}`
|
||||
Reference in New Issue
Block a user