1podman-machine-set(1)() podman-machine-set(1)()
2
3
4
6 podman-machine-set - Sets a virtual machine setting
7
8
10 podman machine set [options] [name]
11
12
14 Change a machine setting.
15
16
18 --cpus=number
19 Number of CPUs. Only supported for QEMU machines.
20
21
22 --disk-size=number
23 Size of the disk for the guest VM in GB. Can only be increased. Only
24 supported for QEMU machines.
25
26
27 --help
28 Print usage statement.
29
30
31 --memory, -m=number
32 Memory (in MB). Only supported for QEMU machines.
33
34
35 --rootful=true|false
36 Whether this machine should prefer rootful (true) or rootless (false)
37 container execution. This option will also update the current podman
38 remote connection default if it is currently pointing at the specified
39 machine name (or podman-machine-default if no name is specified).
40
41
42 Unlike [podman system connection default] this option will also make
43 the API socket, if available, forward to the rootful/rootless socket in
44 the VM.
45
46
48 To switch the default VM podman-machine-default from rootless to root‐
49 ful:
50
51
52 $ podman machine set --rootful
53
54
55
56 or more explicitly:
57
58
59 $ podman machine set --rootful=true
60
61
62
63 To switch the default VM podman-machine-default from rootful to root‐
64 less:
65
66
67 $ podman machine set --rootful=false
68
69
70
71 To switch the VM myvm from rootless to rootful:
72
73
74 $ podman machine set --rootful myvm
75
76
77
79 podman(1), podman-machine(1)
80
81
83 February 2022, Originally compiled by Jason Greene jason.greene@red‐
84 hat.com ⟨mailto:jason.greene@redhat.com⟩
85
86
87
88 podman-machine-set(1)()