1podman-machine-rm(1)()                                  podman-machine-rm(1)()
2
3
4

NAME

6       podman-machine-rm - Remove a virtual machine
7
8

SYNOPSIS

10       podman machine rm [options] [name]
11
12

DESCRIPTION

14       Remove  a  virtual  machine  and  its  related files.  What is actually
15       deleted depends on the virtual machine type.  For all virtual machines,
16       the  generated  SSH  keys and the podman system connection are deleted.
17       The ignition files generated for that VM are also removed as is its im‐
18       age file on the filesystem.
19
20
21       Users get a display of what will be deleted and are required to confirm
22       unless the option --force is used.
23
24

OPTIONS

26   --help
27       Print usage statement.
28
29
30   --force
31       Delete without confirmation
32
33
34   --save-ignition
35       Do not delete the generated ignition file
36
37
38   --save-image
39       Do not delete the VM image
40
41
42   --save-keys
43       Do not delete the SSH keys for the VM.  The system connection is always
44       deleted.
45
46

EXAMPLES

48       Remove a VM named "test1"
49
50
51              $ podman machine rm test1
52
53              The following files will be deleted:
54
55              /home/user/.ssh/test1
56              /home/user/.ssh/test1.pub
57              /home/user/.config/containers/podman/machine/qemu/test1.ign
58              /home/user/.local/share/containers/podman/machine/qemu/test1_fedora-coreos-33.20210315.1.0-qemu.x86_64.qcow2
59              /home/user/.config/containers/podman/machine/qemu/test1.json
60
61              Are you sure you want to continue? [y/N] y
62
63
64

SEE ALSO

66       podman-machine (1)
67
68

HISTORY

70       March   2021,   Originally   compiled  by  Ashley  Cui  acui@redhat.com
71       ⟨mailto:acui@redhat.com⟩
72
73
74
75                                                        podman-machine-rm(1)()
Impressum