podman-machine-rm(1)

πŸ“¦
version 6.1.4 Β· 5 versions
, in arch rolling, fedora 43, fedora 44, ubuntu resolute

πŸ’– 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 🫢

podman(1), podman-machine(1)


πŸ“œ 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