![]() |
![]()
| ![]() |
![]()
NAMEpodman-machine-list - List virtual machines SYNOPSISpodman machine list [options] podman machine ls [options] DESCRIPTIONList Podman managed virtual machines. Podman on MacOS and Windows requires a virtual machine. This is because containers are Linux - containers do not run on any other OS because containers' core functionality are tied to the Linux kernel. Podman machine must be used to manage MacOS and Windows machines, but can be optionally used on Linux. Rootless only. NOTE: The podman-machine configuration file is managed under the $XDG_CONFIG_HOME/containers/podman/machine/ directory. Changing the $XDG_CONFIG_HOME environment variable while the machines are running can lead to unexpected behavior. (see podman(1)) OPTIONS--all-providersShow machines from all providers --format=formatChange the default output format. This can be of a supported type like 'json' or a Go template. Valid placeholders for the Go template are listed below:
--helpPrint usage statement. --noheading, -nOmit the table headings from the listing. --quiet, -qOnly print the name of the machine. This also implies no table heading is printed. EXAMPLESList all Podman machines. $ podman machine list NAME VM TYPE CREATED LAST UP CPUS MEMORY DISK SIZE podman-machine-default qemu 2 weeks ago 2 weeks ago 1 2.147GB 10.74GB List all Podman machines using the specified table format. $ podman machine ls --format "table {{.Name}}\t{{.VMType}}\t{{.Created}}\t{{.LastUp}}" NAME VM TYPE CREATED LAST UP podman-machine-default qemu 2 weeks ago 2 weeks ago List all Podman machines in json format. $ podman machine ls --format json [ SEE ALSOpodman(1), podman-machine(1) HISTORYMarch 2021, Originally compiled by Ashley Cui acui@redhat.com ⟨mailto:acui@redhat.com⟩
|