New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Podman Desktop Hangs at "Initializing Podman" on Mac Book M1 #1633
Comments
|
Workaround is something like: At HANG T+?, quit Podman Desktop. Relaunch Podman Desktop to find ready state. NB: HANG here and above represents no progress no completion of podman init process, but not a hang or unresponsiveness in the electron UI side. |
|
It could be interesting to know what is happening when you do in cli 'podman machine init' step and then 'podman machine starts step ( instead of launching podman desktop and clicking on the toggle to initiale podman ) Do you have errors ? |
|
I used the arm64 macos .pkg from podman-installer-macos-arm64.pkg. Note that sometimes -- cannot reliably repeat -- the GUI displays the same error Note that I removed |
|
I can confirm this happens to me as well. Podman 0.12.0 and macOS Ventura 13.3. The workaround is the same as others already mentioned: wait a few minutes, restart Podman Desktop. I checked This was already raised in #951 and supposedly fixed in #953 but I think the fix was only partial seeing as it continues to happen. |
|
if you are stuck please provide logs ( View / toggle developer tools and then console and paste all the logs) |
|
As I've already started, there was no error thrown in the developer tools. Unfortunately I have not saved the contents of the console. After restarting the Podman Desktop app, the VM was discovered and the app worked, so I cannot reproduce this issue anymore to get the logs. |
|
this is the main problem to fix without knowing the root cause. If you're able to reproduce please report the logs. Thanks |
|
Have you tried installing Podman Desktop on a clean macOS install? I might try uninstalling and reinstalling it later if that's enough to reproduce the issue. BTW I used Homebrew to install both Podman and Podman Desktop if that helps. I will let you know if I've managed to reproduce the error on my same machine after uninstalling and reinstalling Podman. |
|
@TomasHubelbauer let us know. Thanks |
|
Same situation. Fresh install from website. Asked to install podman, so did, it didn't refresh detection and switch to initialize.. so had to restart Podman Desktop, (filed separate ticket for that). Once quit and went back into PD, hit initialize and start, then got a good ol never ending infinite loading loop. |
|
Same as @ST33LDI9ITAL above, on Podman Desktop 0.15.0 and Podman Engine 4.5.0. |
|
I was able to try this again on a new machine. I am using macOS Ventura 13.4 (latest) on an MX series CPU. Docker was already installed and running on the machine. I installed Podman according to the instructions on https://podman-desktop.io/docs/Installation/macos-install and went through the process of fixing the detection checks (not being in PATH) as well, the other prerequisites were all met and the application is displaying that Docker is running:
I started it and clicked on the Initialize button and checked the Podman window dev tools. There are messages repeating in a loop, some containing names of existing containers (not created or maintained by Podman) that I have in my Docker Desktop instance. This is what I am seeing in the dev tools console: etc. It keeps looping like this with and so on. There is no one service/component that stands out, everything is just create-start-die forever and eventually the set starts looping. I have the logs locally so feel free to contact me out of band for the whole logs, I didn't want to copy them to the issue because there are private container names in there. BTW I have tried to set up Podman twice on two different machines and it failed each time. @benoitf now that there are logs and more info, can you try reproducing on a machine yourself and see if you run into the same issue? This seems quite reproducible at least in my experience. |
|
|
|
Thanks for your report @Lewiscowles1986 |
|
just had same issue with Podman 1.1.0 on macOS 13.4 (installed via homebrew) |
|
So, it turns out that Podman Desktop finally passed the "Initializing" phase while I was writing my previous comment, but it takes over a minute. I noticed that Podman Desktop can start up quickly (a few seconds) when I disable my Pi-Hole DNS. Is Podman Desktop reaching out to an analytics service on startup? If that analytics lookup fails does it stall Podman Desktop? Those are the only blocked DNS lookups in my Pi-Hole logs that correspond to when I launched Podman Desktop. EDIT: This might be the culprit? It might also require a separate issue? 😄 |
|
I put an intentional sleep in the code where the telemetry initializes and indeed it hung on Initializing screen as above. We can fix that and make it async, but I don't think everyone above is hitting this same issue. |
|
@deboer-tim I tried to change it to the code below, and it didn't work. The // Do not await init() complete, simply move along
telemetry.init().then(() => { console.log('telemetry init success') }).catch((err) => { console.error('telemetry init error', err) });The issue for me was this line of code. I noticed in the DevTools logs that I have a log line that states |
|
Thanks for narrowing this down, Evan. Agreed we need to reduce the timeout, make it async, or likely best: both. IMHO a delay in sending out the first telemetry event shouldn't block initialization either, but I'll consider that unrelated and follow up independently. |
|
Thanks, and agreed! 😃 |
|
Hello, I've installed the latest podman and podman-desktop 1.3.1 from brew on MacBook M1. I'm also seeing this issue on podman-desktop, able to manage containers using podman from terminal but podman-desktop hangs, and guessing the fix mentioned for async telemetry setup might be included now, so just wondering if this is still being worked on or if there is any workaround? Thank you in advance :) |
|
@Gauravtalreja1 when you say it hangs, do you see some UI or errors ? could you open the devtools windows (Command+Option+i ) |
|
Console errors I get: |
|
Any progress ? |
|
It also happens on Mac Intel (14.1). It also causes Mac to freeze! |
|
@Jap8nted could you go to settings (cog in left navbar) then resources then click on the podman machine and click on and here go to the logs tab |
|
Thanks for your response @benoitf , I was installing using:
I tried once installing the downloaded file from https://podman-desktop.io/downloads, it worked fine. I have to fix some issues, after I do that, will try to reproduce it and upload the logs! |
|
the recent comment was about the Qemu 8.2.0 issue and ARM processor/Silicon (fixed with qemu 8.2.1) else it looks we do not reproduce it, closing |






Bug description
Podman Desktop stuck in above state after install.
Operating system
macOS Ventura 13..2.1
Version
0.12.0
Steps to reproduce
Install Podman Desktop on a blank system.
you can reproduce the hang on initialize podman by deleting all the podman artifacts[1] and begining again with the installer disk image -> drag to applications -> run -> install podman -> quit -> restart podman desktop -> intialize podman -> HANG
[1]:
~ % rm -r .config/containers
~ % rm -rf .local/share/containers
~ % sudo rm -rf /opt/podman
~ % rm -rf Library/Application\ Support/Podman\ Desktop
~ % sudo rm -r /private/etc/paths.d/podman-pkg
~ % sudo rm -r /usr/local/podman
~ % sudo rm /Library/LaunchDaemons/com.github.containers.podman.helper-josh.plist
~ % mdfind -name podman|grep -v 'devel/go' /Users/josh/Downloads/podman-desktop-0.12.0-arm64.dmg
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: