LinuxCommandLibrary

podman-machine

Create and manage virtual machines running Podman.

TLDR

List existing machines

$ podman machine ls
copy


Create a new default machine
$ podman machine init
copy


Create a new machine with a specific name
$ podman machine init [name]
copy


Create a new machine with different resources
$ podman machine init --cpus=[4] --memory=[4096] --disk-size=[50]
copy


Start or stop a machine
$ podman machine [start|stop] [name]
copy


Connect to a running machine via SSH
$ podman machine ssh [name]
copy


Inspect information about a machine
$ podman machine inspect [name]
copy

Copied to clipboard