Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

38
podman-machine Normal file
View File

@@ -0,0 +1,38 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# podman machine
> Create and manage virtual machines running Podman.
> Included with Podman version 4 or greater.
> More information: <https://docs.podman.io/en/latest/markdown/podman-machine.1.html>.
- List existing machines:
`podman machine ls`
- Create a new default machine:
`podman machine init`
- Create a new machine with a specific name:
`podman machine init {{name}}`
- Create a new machine with different resources:
`podman machine init --cpus={{4}} --memory={{4096}} --disk-size={{50}}`
- Start or stop a machine:
`podman machine {{start|stop}} {{name}}`
- Connect to a running machine via SSH:
`podman machine ssh {{name}}`
- Inspect information about a machine:
`podman machine inspect {{name}}`