podman-machine-rm - Man Page

Remove a virtual machine


podman machine rm [options] [name]


Remove a virtual machine and its related files.  What is actually deleted depends on the virtual machine type.  For all virtual machines, the generated SSH keys and the podman system connection are deleted.  The ignition files generated for that VM are also removed as is its image file on the filesystem.

Users get a display of what will be deleted and are required to confirm unless the option --force is used.



Print usage statement.


Delete without confirmation


Do not delete the generated ignition file


Do not delete the VM image


Do not delete the SSH keys for the VM.  The system connection is always deleted.


Remove a VM named "test1"

$ podman machine rm test1

The following files will be deleted:


Are you sure you want to continue? [y/N] y

See Also

podman-machine (1)


March 2021, Originally compiled by Ashley Cui acui@redhat.com ⟨mailto:acui@redhat.com⟩

Referenced By


The man page docker-machine-rm(1) is an alias of podman-machine-rm(1).