snippetbashTip
podman machine — Create and manage virtual machines running Podman. Included with Podman version 4 or greater. More i
Viewed 0 times
virtualcreatecommandandpodman machineclimanagemachines
Problem
How to use the
podman machine command: 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>.Solution
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|list]}}Create a new default machine:
podman machine initCreate 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}}Code Snippets
List existing machines
podman machine {{[ls|list]}}Create a new default machine
podman machine initCreate 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}}Context
tldr-pages: common/podman machine
Revisions (0)
No revisions yet.