From f2d504e9dbf093d70c29792176a6f77ae282d962 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 14:34:45 +0000 Subject: [PATCH] deploy: dc105a25b3e545458d585b6a3241e18f959339af --- 404.html | 2 +- assets/js/d4bf7e47.5a30ae89.js | 1 + assets/js/d4bf7e47.7fc2e7e3.js | 1 - ...n.5fbf9f91.js => runtime~main.3219848a.js} | 2 +- blog.html | 2 +- blog/5-things-to-know-for-a-docker-user.html | 2 +- blog/archive.html | 2 +- blog/develop-using-devcontainer.html | 2 +- blog/getting-started-with-compose.html | 2 +- blog/podman-desktop-release-0.10.html | 2 +- blog/podman-desktop-release-0.11.html | 2 +- blog/podman-desktop-release-0.12.html | 2 +- blog/podman-desktop-release-0.13.html | 2 +- blog/podman-desktop-release-0.14.html | 2 +- blog/podman-desktop-release-0.15.html | 2 +- blog/podman-desktop-release-1.0.html | 2 +- blog/podman-desktop-release-1.1.html | 2 +- blog/podman-desktop-release-1.2.html | 2 +- blog/podman-desktop-release-1.3.html | 2 +- blog/podman-desktop-release-1.4.html | 2 +- blog/podman-desktop-release-1.5.html | 2 +- blog/podman-desktop-release-1.6.html | 2 +- blog/podman-desktop-release-1.7.html | 2 +- ...ubernetes-cluster-with-podman-desktop.html | 2 +- ...podman-images-with-kubernetes-cluster.html | 2 +- blog/tags.html | 2 +- blog/tags/codespaces.html | 2 +- blog/tags/compose.html | 2 +- blog/tags/containerfile.html | 2 +- blog/tags/containers.html | 2 +- blog/tags/devcontainer.html | 2 +- blog/tags/docker-compose.html | 2 +- blog/tags/docker.html | 2 +- blog/tags/dockerfile.html | 2 +- blog/tags/extensions.html | 2 +- blog/tags/images.html | 2 +- blog/tags/kind.html | 2 +- blog/tags/kubernetes.html | 2 +- blog/tags/migrating.html | 2 +- blog/tags/multi-container.html | 2 +- blog/tags/onboarding.html | 2 +- blog/tags/openshift.html | 2 +- blog/tags/podman-desktop.html | 2 +- blog/tags/podman.html | 2 +- blog/tags/release.html | 2 +- blog/tags/settings.html | 2 +- blog/tags/story.html | 2 +- core-values.html | 2 +- docs/compose.html | 2 +- docs/compose/running-compose.html | 2 +- docs/compose/setting-up-compose.html | 2 +- docs/containers.html | 2 +- docs/containers/creating-a-pod.html | 2 +- docs/containers/images.html | 2 +- docs/containers/images/building-an-image.html | 2 +- docs/containers/images/pulling-an-image.html | 2 +- .../pushing-an-image-to-a-registry.html | 2 +- docs/containers/onboarding.html | 2 +- docs/containers/registries.html | 2 +- docs/containers/starting-a-container.html | 2 +- docs/extensions.html | 2 +- docs/extensions/install.html | 2 +- docs/extensions/publish.html | 2 +- docs/extensions/write.html | 2 +- docs/extensions/write/adding-icons.html | 2 +- .../extensions/write/onboarding-workflow.html | 2 +- .../extensions/write/when-clause-context.html | 2 +- docs/installation.html | 2 +- docs/installation/linux-install.html | 2 +- ...an-desktop-from-a-compressed-tar-file.html | 2 +- ...-podman-desktop-from-a-flatpak-bundle.html | 2 +- docs/installation/macos-install.html | 2 +- docs/installation/windows-install.html | 2 +- ...nd-podman-in-a-restricted-environment.html | 2 +- ...p-silently-with-the-windows-installer.html | 2 +- ...alling-podman-desktop-with-chocolatey.html | 2 +- .../installing-podman-desktop-with-scoop.html | 2 +- ...installing-podman-desktop-with-winget.html | 2 +- docs/intro.html | 2 +- docs/kind.html | 2 +- ...lding-an-image-and-testing-it-in-kind.html | 2 +- ...onfiguring-podman-for-kind-on-windows.html | 2 +- docs/kind/creating-a-kind-cluster.html | 2 +- docs/kind/deleting-your-kind-cluster.html | 2 +- docs/kind/installing.html | 2 +- docs/kind/pushing-an-image-to-kind.html | 2 +- docs/kind/restarting-your-kind-cluster.html | 2 +- .../working-with-your-local-kind-cluster.html | 2 +- docs/kubernetes.html | 2 +- .../deploying-a-container-to-kubernetes.html | 2 +- .../deploying-a-pod-to-kubernetes.html | 2 +- docs/kubernetes/existing-kubernetes.html | 2 +- .../kind/pushing-an-image-to-kind.html | 2 +- .../lima/pushing-an-image-to-lima.html | 2 +- .../pushing-an-image-to-minikube.html | 2 +- ...t-kubernete-context-in-the-status-bar.html | 2 +- ...d-selecting-current-kubernete-context.html | 2 +- docs/lima.html | 2 +- docs/lima/creating-a-kubernetes-instance.html | 2 +- docs/lima/creating-a-lima-instance.html | 2 +- docs/lima/customizing.html | 2 +- docs/lima/installing.html | 2 +- docs/migrating-from-docker.html | 2 +- .../emulating-docker-cli-with-podman.html | 2 +- .../importing-saved-containers.html | 2 +- .../using-podman-mac-helper.html | 2 +- ...-the-docker_host-environment-variable.html | 2 +- ...verifying-your-tools-are-using-podman.html | 2 +- docs/minikube.html | 2 +- ...g-an-image-and-testing-it-in-minikube.html | 2 +- ...guring-podman-for-minikube-on-windows.html | 2 +- .../minikube/creating-a-minikube-cluster.html | 2 +- .../deleting-your-minikube-cluster.html | 2 +- docs/minikube/installing.html | 2 +- .../pushing-an-image-to-minikube.html | 2 +- .../restarting-your-minikube-cluster.html | 2 +- ...king-with-your-local-minikube-cluster.html | 2 +- docs/openshift.html | 2 +- docs/openshift/developer-sandbox.html | 2 +- docs/openshift/openshift-local.html | 2 +- docs/podman.html | 2 +- docs/podman/creating-a-podman-machine.html | 2 +- ...odman-with-openshift-local-on-windows.html | 2 +- docs/podman/installing.html | 2 +- ...ing-podman-machine-default-connection.html | 2 +- docs/proxy.html | 2 +- .../using-a-proxy-in-your-containers.html | 2 +- docs/proxy/using-a-proxy-on-linux.html | 2 +- .../using-a-proxy-requiring-a-custom-ca.html | 2 +- docs/proxy/using-a-proxy.html | 2 +- docs/proxy/using-a-vpn-on-windows.html | 2 +- docs/tags.html | 2 +- docs/tags/chocolatey.html | 2 +- docs/tags/compose.html | 2 +- docs/tags/containers.html | 2 +- docs/tags/docker.html | 2 +- docs/tags/extension.html | 2 +- docs/tags/flathub.html | 2 +- docs/tags/flatpak.html | 2 +- docs/tags/icons.html | 2 +- docs/tags/images.html | 2 +- docs/tags/installing.html | 2 +- docs/tags/kind.html | 2 +- docs/tags/kubernetes.html | 2 +- docs/tags/lima.html | 2 +- docs/tags/linux.html | 2 +- docs/tags/mac-0-s.html | 2 +- docs/tags/mac-os.html | 2 +- docs/tags/macos.html | 2 +- docs/tags/migrating-from-docker.html | 2 +- docs/tags/migrating-to-kubernetes.html | 2 +- docs/tags/minikube.html | 2 +- docs/tags/onboarding.html | 2 +- docs/tags/openshift-local.html | 2 +- docs/tags/openshift.html | 2 +- docs/tags/podman-desktop.html | 2 +- docs/tags/podman.html | 2 +- docs/tags/pods.html | 2 +- docs/tags/proxy.html | 2 +- docs/tags/publishing.html | 2 +- docs/tags/restricted-environment.html | 2 +- docs/tags/scoop.html | 2 +- docs/tags/vpn.html | 2 +- docs/tags/when-clause.html | 2 +- docs/tags/windows.html | 2 +- docs/tags/winget.html | 2 +- docs/tags/writing.html | 2 +- docs/troubleshooting.html | 2 +- .../troubleshooting-openshift-local.html | 2 +- .../troubleshooting-podman-on-linux.html | 2 +- .../troubleshooting-podman-on-macos.html | 66 ++++++++++++++++++- .../troubleshooting-podman-on-windows.html | 2 +- .../troubleshooting-podman.html | 2 +- downloads.html | 2 +- downloads/linux.html | 2 +- downloads/macos.html | 2 +- downloads/windows.html | 2 +- extend.html | 2 +- features.html | 2 +- index.html | 2 +- search.html | 2 +- 181 files changed, 243 insertions(+), 181 deletions(-) create mode 100644 assets/js/d4bf7e47.5a30ae89.js delete mode 100644 assets/js/d4bf7e47.7fc2e7e3.js rename assets/js/{runtime~main.5fbf9f91.js => runtime~main.3219848a.js} (99%) diff --git a/404.html b/404.html index e2230eb3765..1b274b6d515 100644 --- a/404.html +++ b/404.html @@ -13,7 +13,7 @@ - +
diff --git a/assets/js/d4bf7e47.5a30ae89.js b/assets/js/d4bf7e47.5a30ae89.js new file mode 100644 index 00000000000..7b5b3002d82 --- /dev/null +++ b/assets/js/d4bf7e47.5a30ae89.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8989],{6177:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>d,contentTitle:()=>r,default:()=>h,frontMatter:()=>l,metadata:()=>a,toc:()=>t});var s=o(24246),i=o(71670);const l={sidebar_position:30},r="Troubleshooting Podman on macOS",a={id:"troubleshooting/troubleshooting-podman-on-macos",title:"Troubleshooting Podman on macOS",description:"Unable to set custom binary path for Podman on macOS",source:"@site/docs/troubleshooting/troubleshooting-podman-on-macos.md",sourceDirName:"troubleshooting",slug:"/troubleshooting/troubleshooting-podman-on-macos",permalink:"/docs/troubleshooting/troubleshooting-podman-on-macos",draft:!1,unlisted:!1,editUrl:"https://github.com/containers/podman-desktop/tree/main/website/docs/troubleshooting/troubleshooting-podman-on-macos.md",tags:[],version:"current",sidebarPosition:30,frontMatter:{sidebar_position:30},sidebar:"mySidebar",previous:{title:"Troubleshooting Podman on Windows",permalink:"/docs/troubleshooting/troubleshooting-podman-on-windows"},next:{title:"Troubleshooting Podman on Linux",permalink:"/docs/troubleshooting/troubleshooting-podman-on-linux"}},d={},t=[{value:"Unable to set custom binary path for Podman on macOS",id:"unable-to-set-custom-binary-path-for-podman-on-macos",level:2},{value:"Issue",id:"issue",level:4},{value:"Solution",id:"solution",level:4},{value:"Unable to locate Podman Engine",id:"unable-to-locate-podman-engine",level:2},{value:"Issue",id:"issue-1",level:4},{value:"Explanation",id:"explanation",level:4},{value:"Solution",id:"solution-1",level:4},{value:"Podman machine on Apple Silicon",id:"podman-machine-on-apple-silicon",level:2},{value:"Issue",id:"issue-2",level:4},{value:"Explanation",id:"explanation-1",level:4},{value:"Solution",id:"solution-2",level:4},{value:"Recovering from a failed start",id:"recovering-from-a-failed-start",level:2},{value:"Workaround",id:"workaround",level:4},{value:"Solution",id:"solution-3",level:4},{value:"Podman machine not starting with QEMU 8.1.0 from brew",id:"podman-machine-not-starting-with-qemu-810-from-brew",level:2},{value:"Solution",id:"solution-4",level:4},{value:"Workaround",id:"workaround-1",level:4},{value:"Additional resources",id:"additional-resources",level:4},{value:"On Apple Silicon, the Podman Machine does not start",id:"on-apple-silicon-the-podman-machine-does-not-start",level:2},{value:"Solution",id:"solution-5",level:4},{value:"Workaround",id:"workaround-2",level:4},{value:"Additional resources",id:"additional-resources-1",level:4}];function c(e){const n={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"troubleshooting-podman-on-macos",children:"Troubleshooting Podman on macOS"}),"\n",(0,s.jsx)(n.h2,{id:"unable-to-set-custom-binary-path-for-podman-on-macos",children:"Unable to set custom binary path for Podman on macOS"}),"\n",(0,s.jsx)(n.h4,{id:"issue",children:"Issue"}),"\n",(0,s.jsxs)(n.p,{children:["When setting a custom binary path (under Preferences -> Custom binary path), Podman is unable to find ",(0,s.jsx)(n.code,{children:"gvproxy"})," and ",(0,s.jsx)(n.code,{children:"podman-mac-helper"}),":"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:'Error: unable to start host networking: "could not find \\"gvproxy\\" in one of [/usr/local/opt/podman/libexec /opt/homebrew/bin /opt/homebrew/opt/podman/libexec /usr/local/bin /usr/local/libexec/podman /usr/local/lib/podman /usr/libexec/podman /usr/lib/podman $BINDIR/../libexec/podman]. To resolve this error, set the helper_binaries_dir key in the `[engine]` section of containers.conf to the directory containing your helper binaries."\n'})}),"\n",(0,s.jsx)(n.h4,{id:"solution",children:"Solution"}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["Download ",(0,s.jsx)(n.code,{children:"gvproxy"})," from the ",(0,s.jsx)(n.a,{href:"https://github.com/containers/gvisor-tap-vsock/releases",children:"gvisor-tap-vsock release page"}),"."]}),"\n",(0,s.jsxs)(n.li,{children:["Build the ",(0,s.jsx)(n.code,{children:"podman-mac-helper"})," from the source code on the ",(0,s.jsx)(n.a,{href:"https://github.com/containers/podman/tree/main/cmd/podman-mac-helper",children:"Podman GitHub page"}),"."]}),"\n",(0,s.jsxs)(n.li,{children:["Add the ",(0,s.jsx)(n.code,{children:"helpers_binaries_dir"})," entry to ",(0,s.jsx)(n.code,{children:"~/.config/containers/conf"}),":"]}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:'[containers]\n\nhelper_binaries_dir=["/Users/user/example_directory"]\n'})}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"NOTE"}),": A pre-built binary will be added to the Podman release page so you do not have to build ",(0,s.jsx)(n.code,{children:"podman-mac-helper"}),". An ",(0,s.jsx)(n.a,{href:"https://github.com/containers/podman/issues/16746",children:"issue is open for this"}),"."]}),"\n",(0,s.jsx)(n.h2,{id:"unable-to-locate-podman-engine",children:"Unable to locate Podman Engine"}),"\n",(0,s.jsx)(n.h4,{id:"issue-1",children:"Issue"}),"\n",(0,s.jsxs)(n.p,{children:["Despite having Podman Engine installed, you might receive an error as follows -\n",(0,s.jsx)(n.code,{children:"Error: No such keg: /usr/local/Cellar/podman"}),"\nor any similar error denoting that Podman Engine does not exist."]}),"\n",(0,s.jsx)(n.h4,{id:"explanation",children:"Explanation"}),"\n",(0,s.jsxs)(n.p,{children:["The Podman Installer and Homebrew use different locations to store the Podman Engine files in the file system. For example, Podman Installer installs Podman Engine in the path ",(0,s.jsx)(n.code,{children:"/opt/podman"})," whereas Homebrew uses the path ",(0,s.jsx)(n.code,{children:"/usr/local"})," for macOS Intel, ",(0,s.jsx)(n.code,{children:"/opt/homebrew"})," for Apple Silicon and ",(0,s.jsx)(n.code,{children:"/home/linuxbrew/.linuxbrew"})," for Linux."]}),"\n",(0,s.jsx)(n.h4,{id:"solution-1",children:"Solution"}),"\n",(0,s.jsx)(n.p,{children:"To check where exactly is your Podman Engine installed, run the command-"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"which podman\n"})}),"\n",(0,s.jsx)(n.p,{children:"This returns the path where the Podman Engine would be installed. This would help determine further action."}),"\n",(0,s.jsxs)(n.p,{children:["For example, if you\u2019re looking to completely uninstall Podman Engine from your system for a fresh installation, running ",(0,s.jsx)(n.code,{children:"which podman"})," returns the exact path where Podman still exists. This could be the path where Podman Installer stores Podman Engine, such as ",(0,s.jsx)(n.code,{children:"/opt/podman"}),". Once you know the path, run:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"sudo rm -rf /opt/podman\n"})}),"\n",(0,s.jsx)(n.p,{children:"Or"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"sudo rm -rf path-where-podman-exists\n"})}),"\n",(0,s.jsxs)(n.p,{children:["Here, you would replace ",(0,s.jsx)(n.code,{children:"path-where-podman-exists"})," with the output of ",(0,s.jsx)(n.code,{children:"which podman"}),"."]}),"\n",(0,s.jsx)(n.p,{children:"You can now proceed for a fresh installation of Podman Desktop"}),"\n",(0,s.jsx)(n.h2,{id:"podman-machine-on-apple-silicon",children:"Podman machine on Apple Silicon"}),"\n",(0,s.jsx)(n.h4,{id:"issue-2",children:"Issue"}),"\n",(0,s.jsx)(n.p,{children:"If you are using an Apple Silicon and brew, you might encounter the following error when starting Podman from Podman Desktop"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-shell-session",children:"Error: qemu exited unexpectedly with exit code 1, stderr: qemu-system-x86_64: invalid accelerator hvf\nqemu-system-x86_64: falling back to tcg\nqemu-system-x86_64: unable to find CPU model 'host'\n"})}),"\n",(0,s.jsx)(n.h4,{id:"explanation-1",children:"Explanation"}),"\n",(0,s.jsxs)(n.p,{children:["Podman machine is running as a ",(0,s.jsx)(n.code,{children:"x86_64"})," process and it could be due to a dual install of homebrew: one for ",(0,s.jsx)(n.code,{children:"x86_64"})," and one for ",(0,s.jsx)(n.code,{children:"arm64"}),"."]}),"\n",(0,s.jsx)(n.h4,{id:"solution-2",children:"Solution"}),"\n",(0,s.jsx)(n.p,{children:"You can"}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["Uninstall Podman machine on your ",(0,s.jsx)(n.code,{children:"x86_64"})," brew install (for example from a terminal running under rosetta) ",(0,s.jsx)(n.code,{children:"brew uninstall podman"})]}),"\n",(0,s.jsxs)(n.li,{children:["or uninstall brew ",(0,s.jsx)(n.code,{children:"x86_64"})," as most brew receipe have now arm64 support: follow ",(0,s.jsx)(n.a,{href:"https://github.com/homebrew/install#uninstall-homebrew",children:"these instructions"})," from a terminal running under rosetta"]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["Then run a terminal in native mode (default) and install Podman machine ",(0,s.jsx)(n.code,{children:"brew install podman"})]}),"\n",(0,s.jsx)(n.p,{children:"Finally clean the Podman machine VMs that had been previously created, and create new ones."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-shell-session",children:"$ podman machine rm podman-machine-default\n$ podman machine init\n"})}),"\n",(0,s.jsx)(n.p,{children:"You should be a happy camper from here."}),"\n",(0,s.jsx)(n.h2,{id:"recovering-from-a-failed-start",children:"Recovering from a failed start"}),"\n",(0,s.jsx)(n.p,{children:"After a failed start, the Podman machine might be unable to start because a QEMU process is still running and the PID file is in use."}),"\n",(0,s.jsx)(n.h4,{id:"workaround",children:"Workaround"}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"Kill the remaining QEMU process and stop the Podman machine:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-shell-session",children:"$ ps -edf | grep qemu-system | grep -v grep | awk '{print $2}' | xargs -I{} kill -9 {}; podman machine stop\n"})}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"Start the Podman machine."}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"solution-3",children:"Solution"}),"\n",(0,s.jsx)(n.p,{children:"Use Podman 4.6.1 or greater."}),"\n",(0,s.jsx)(n.h2,{id:"podman-machine-not-starting-with-qemu-810-from-brew",children:"Podman machine not starting with QEMU 8.1.0 from brew"}),"\n",(0,s.jsxs)(n.p,{children:["When you installed Podman and QEMU with brew, and QEMU version is 8.1.0, Podman machine might fail to start with an error such as:\n",(0,s.jsx)(n.code,{children:"Error: qemu exited unexpectedly with exit code -1, stderr: qemu-system-x86_64: Error: HV_DENIED"})]}),"\n",(0,s.jsx)(n.h4,{id:"solution-4",children:"Solution"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"/docs/installation/macos-install",children:"Install Podman Desktop and Podman using the .dmg installer"})," rather than brew.\nThe Podman installer has a QEMU binary that has been tested with Podman."]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"workaround-1",children:"Workaround"}),"\n",(0,s.jsx)(n.p,{children:"Keep your brew-based installation and apply one of these workarounds:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"Rollback the QEMU brew package to v8.0.3."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-shell-session",children:"$ brew uninstall qemu\n$ curl -OSL https://raw.githubusercontent.com/Homebrew/homebrew-core/dc0669eca9479e9eeb495397ba3a7480aaa45c2e/Formula/qemu.rb\n$ brew install ./qemu.rb\n"})}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"Alternatively, sign the QEMU brew binary locally:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-shell-session",children:'$ cat >entitlements.xml <On Apple Silicon, when Podman Machine starts, it stays indefinitely blocked with a Waiting for VM message.
+For M1 and M2 processors:
+For M3 processors:
+To get a clean environment, remove all Podman and qemu artifacts:
+Remove eventual installation from podman/podman desktop installer:
+$ sudo rm -rf opt/podman
Remove brew installations:
+$ brew uninstall podman-desktop
$ brew uninstall podman
$ brew uninstall qemu
Remove Podman files:
+$ rm -rf ~/.ssh/podman-machine-default
$ rm -rf ~/.ssh/podman-machine-default.pub
$ rm -rf ~/.local/share/containers
$ rm -rf ~/.config/containers
Reinstall Podman using brew:
+$ brew install podman
Install bunzip2:
+$ brew install bzip2
Install QEMU 8.2.0 to /opt/homebrew/Cellar/qemu/8.2.0:
$ curl -sL https://github.com/AkihiroSuda/qemu/raw/704f7cad5105246822686f65765ab92045f71a3b/pc-bios/edk2-aarch64-code.fd.bz2 | bunzip2 > /opt/homebrew/Cellar/qemu/8.2.0/share/qemu/edk2-aarch64-code.fd
Install patched EDK2. +Download EDK2 from lima-vm/edk2-patched.tmp/releases.
+Init podman machine.
+Find QEMU configuration directory to define qemu-config-directory in next step:
$ podman machine info | grep MachineConfigDir
Update podman machine config json:
+$ sed -i 's@file=.\*edk2-aarch64-code.fd@file=/path/to/downloaded/edk2-aarch64-code.fd@g' qemu-config-directory/podman-machine-default.json
Start Podman machine.
+