podman-machine-rm(1)
π NAME π
podman-machine-rm β bestie, this is the one that removes a whole virtual machine. bye bye VM π«Ά
β¨ SYNOPSIS β¨
podman machine rm [options] [name]
πΈ DESCRIPTION πΈ
Okay so here's the tea: this command removes a virtual machine and its related files. But β and this is important β what is actually deleted depends on the virtual machine type. Not every VM gets the same treatment, iykyk.
For all virtual machines though, the generated podman system connections get deleted. The ignition files generated for that VM are also removed, as is its image file on the filesystem. Gone. Poof. π
You, the user, get a display of what is deleted, and you're required to confirm β unless you use the option --force. So it's not just gonna nuke everything behind your back, she's polite like that. β¨
The default machine name is podman-machine-default. So if you don't pass a machine name as an argument, then podman-machine-default will be removed. π
Rootless only. That's the rule, periodt. π
π OPTIONS π
--force,-fβ Stop and delete without confirmation. No questions asked, no[y/N], just vibes. π--helpβ Print usage statement. Your little cheat sheet. π--save-ignitionβ Do not delete the generated ignition file. Keeping it, bestie. π¦--save-imageβ Do not delete the VM image. She stays. πΈ
π EXAMPLES π
Remove the specified Podman machine. π§
$ podman machine rm test1
The following files will be deleted:
/home/user/.config/containers/podman/machine/qemu/test1.ign
/home/user/.local/share/containers/podman/machine/qemu/test1_fedora-coreos-33.20210315.1.0-qemu.x86_64.qcow2
/home/user/.config/containers/podman/machine/qemu/test1.json
Are you sure you want to continue? [y/N] y
Remove the specified Podman machine even if it is running. π₯
$ podman machine rm -f test1
$
π«Ά SEE ALSO π«Ά
π HISTORY π
March 2021, originally compiled by Ashley Cui acui@redhat.com β¨mailto:acui@redhat.comβ© π
k that's literally it bestie π this was podman-machine-rm(1), part of the General Commands Manual energy, and yeah β she's serving March 2021 realness πΈ stay slaying, and remember: confirm before you delete, or -f if you're feeling brave π
β¨
π¦ where this page comes from
- alpine 3.24: podman-doc 5.8.9-r0 Β· Apache-2.0
- arch rolling: podman 6.1.4-1 Β· Apache-2.0
- centos-stream 10: podman 7:6.1.0-2.el10 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- centos-stream 9: podman 6:5.8.5-2.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman 5:5.8.4-1.fc43
- fedora 43: podman 5:5.8.8-1.fc43
- fedora 43: podman 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman 5:5.8.7-1.fc44
- fedora 44: podman 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- nixos 26.05: podman 5.8.9
- nixpkgs unstable: podman 6.1.4
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- ubuntu resolute: podman 5.7.0+ds2-3build1 Β· Apache-2.0
- ubuntu stonking: podman 5.8.6+ds1-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms