-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.machine
Description
Issue Description
Unable to create a podman machine with user mode networking disabled on macOS
% podman machine init --cpus 5 --memory 8192 --user-mode-networking=false
Looking up Podman Machine image at quay.io/podman/machine-os:5.5 to create VM
Extracting compressed file: podman-machine-default-arm64.raw: done
Machine init complete
To start your machine run:
podman machine start
% podman machine inspect | grep -y networking
"UserModeNetworking": true,
%
Usage:
podman machine init [options] [NAME]
Examples:
podman machine init podman-machine-default
Options:
--cpus uint Number of CPUs (default 5)
--disk-size uint Disk size in GiB (default 100)
--ignition-path string Path to ignition file
--image string Bootable image for machine
-m, --memory uint Memory in MiB (default 2048)
--now Start machine now
--playbook string Run an Ansible playbook after first boot
--rootful Whether this machine should prefer rootful container execution
--timezone string Set timezone (default "local")
--usb stringArray USB Host passthrough: bus=$1,devnum=$2 or vendor=$1,product=$2
--user-mode-networking Whether this machine should use user-mode networking, routing traffic through a host user-space process
--username string Username used in image (default "core")
-v, --volume stringArray Volumes to mount, source:target (default [/Users:/Users,/private:/private,/var/folders:/var/folders])
Steps to reproduce the issue
Steps to reproduce the issue
- podman machine init --cpus 5 --memory 8192 --user-mode-networking=false
Describe the results you received
"UserModeNetworking": true,
Describe the results you expected
"UserModeNetworking": false,
podman info output
podman info
OS: darwin/arm64
buildOrigin: pkginstaller
provider: applehv
version: 5.5.2
installed from podman-desktop
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
No
Additional environment details
macOS 15.6
arm64
Additional information
Seems to be consistent
Trying without user mode networking to see if I can workaround another issue (will raise issue if relevant) but unable to create a podman machine on macOS without user mode networking. Am expecting to use vmnet
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.machine