Switch to Podman from docker
When switching from Docker to Podman one of the first issues you will encounter is the that Azure CLI wants docker to be installed when you authenticate to an Azure Container Registry. How to fix this?
- Uninstall docker (uninstall script available in
/Applications/Docker
) - Install podman:
brew install podman
(and if you wantbrew install --cask podman-desktop
) podman machine init
podman machine start
Now comes the "magic" part:
Alias docker by pointing to podman (export or add it to your .zshrc
): alias docker=podman
Add a symlink to docker: ln -s /usr/local/bin/podman /usr/local/bin/docker || true
Now you can login with Azure CLI:
&& az acr login --name <your-az-cr>