Apple Silicon / darwin-arm64 / m1 Support
sammcj opened this issue Β· comments
As noted in your readme it would be great to have Apple Silicon / M1 support.
I'd be happy to test it out if you have a build but not the hardware.
Actually Iβve been talking about this issue at the #2.
Discussed in #2
Originally posted by simnalamburt September 5, 2021
Hi @heyvito! I have patched and packaged qemu and podman to make it work with Apple Silicon, and now I'm looking for the way to integrate it with podman-macos.
This is how to use patched version of podman in the CLI:
brew install simnalamburt/x/podman-apple-silicon
# Example
podman machine init
podman machine start
podman run -p 8080:80 docker.io/nginx
I tried to use it with podman-macos and this is the issues I get:
-
podman-macos do not search podman binary in
/opt/homebrew/bin
You can workaround this issue by
sudo ln -s /opt/homebrew/bin/podman /usr/local/bin/podman
, but it would be better if podman-macos checks the/opt/homebrew/bin
. Maybe we can fix this by appending/opt/homebrew/bin
at the end of the result ofPMManager::paths
. -
podman-macos successfully reads states from podman but fails to write.
After you deal with locating the podman binary, you'll find podman-macos successfully reads information from podman.
But unfortunately any operation that tries to write something fails. For example, podman-macos is unable to stop podman VM.
I'm wiling to fix these issues but I don't know how to build or debug this project. Is there any chance for us to cooperate with these issues?