podman-machine-init(1) General Commands Manual podman-machine-init(1) (NAME) podman-machine-init - (SYNOPSIS) podman machine init [options] [name] (DESCRIPTION) . podman-machine-default . podman-machine-default . (rootless). (MacOS) (Windows) -- . podman machine . podman machine init . SSH (root) . Fedora CoreOS quay.io/podman/machine-os ( ). WSL . : $ podman machine ssh 'sudo rpm-ostree upgrade --check' --check . podman machine stop && podman machine start . (Patch / Z) . (X.Y) podman machine os apply . : . podman info . . WSL dnf update : $ podman machine ssh dnf update [machine] containers.conf(5) . (OPTIONS) --cpus=number (CPU). --disk-size=number GiB. --help . --ignition-path ignition. ignition CONF_DIR . SSH . . --image URL . docker://registry/repo/image:version . : . --import-native-ca CA . true . (CA) . false . --memory, -m=number ( MiB). : 1024MiB = 1GiB. --now . --playbook (Ansible playbook) . : . . --playbook . . --provider . . --rootful (true) (false) . . API . --swap, -s=number ( MiB). : 1024MiB = 1GiB. zram-generator.conf zram-size --swap . --timezone . local America/Chicago . local . WSL . WSL . --tls-verify HTTPS (: true). true TLS . false TLS . TLS containers-registries.conf(5) . --update-connection, -u podman machine init --now podman machine start . -u -update-connection true . false --update- connection=false . stdin tty . true . false . . --usb=bus=number,devnum=number vendor=hexadecimal,product=hexadecimal USB USB (passthrough). QEMU . . (bus) (device number) . USB (vendor) (product) . --user-mode-networking WSL . true gvproxy ( ) . /WSL false WSL . true /WSL WSL . WSL . true . VPN . VPN . --username . FCOS core Fedora ( ) user . . --volume, -v=source:target[:options] (mount) . . /host- dir:/machine-dir *source:target* host-dir machine-dir . . : * ro: * rw: / () * security_model=[model]: 9p ( ) : : /bin, /boot, /dev, /etc, /home, /proc, /root, /run, /sbin, /sys, /tmp, /usr, /var. . 9p () 9p . none . mapped-xattr 9p (extended attributes) . . none . none . : -v "$HOME/git:$HOME/git:ro,security_model=none" containers.conf . $HOME:$HOME . (WSL) WSL /mnt --volume . C: /mnt/c/Users/ . (EXAMPLES) . $ podman machine init . $ podman machine init myvm . podman machine init --now (rootful). (rootless) . $ podman machine init --rootful . $ podman machine init --disk-size 50 . $ podman machine init --memory=1024 myvm /Users /Users . $ podman machine init -v /Users:/Users USB . QEMU . $ podman machine init --usb vendor=13d3,product=5406 USB . QEMU . $ podman machine init --usb bus=1,devnum=3 . $ podman machine init --provider applehv (SEE ALSO) podman(1), podman-machine(1), containers.conf(5) (HISTORY) Ashley Cui acui@redhat.com podman-machine-init(1)