Podman 4.8.1 machine init fails with Error: existing machine configuration is corrupt, no image is defined #20921
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
machine
windows
issue/bug on Windows
Issue Description
I am using podman 4.8.1 on Windows 10 to initialize a machine with a
--user-mode-networking
mode enabled.I got this output:
Steps to reproduce the issue
Steps to reproduce the issue
podman machine init --user-mode-networking
Actual result: Error: existing machine configuration is corrupt, no image is defined
Describe the results you received
Describe the results you expected
Machine is created.
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
No
Additional environment details
Virtual Machine Platform feature enabled
Additional information
wsl --list
shows that there is apodman-net-usermode
WSL distribution avilable.Standard image initialization (without user-mode-networking) via
podman machine init
works well.Workaround
Possible workaround as suggested by @gbraad could be to create a machine first, then enable user mode networking:
The text was updated successfully, but these errors were encountered: