Difference between revisions of "IT-SDK-Podman"
Jump to navigation
Jump to search
Samerhijazi (talk | contribs) (→init) |
Samerhijazi (talk | contribs) (→init) |
||
| Line 7: | Line 7: | ||
=init= | =init= | ||
<pre class="code"> | <pre class="code"> | ||
| − | alias docker=podman | + | alias docker='podman' |
| + | export KIND_EXPERIMENTAL_PROVIDER=podman | ||
------------------------------------------- | ------------------------------------------- | ||
podman system connection list | podman system connection list | ||
Latest revision as of 18:35, 30 July 2024
ref
- https://www.redhat.com/sysadmin/run-containers-mac-podman
- https://medium.com/rahasak/switching-from-docker-desktop-to-podman-on-macos-m1-m2-arm64-cpu-7752c02453ec
- https://dev.to/kanekotic/replace-docker-desktop-with-podman-in-osx-29cl
- /etc/containers/registries.conf
init
alias docker='podman' export KIND_EXPERIMENTAL_PROVIDER=podman ------------------------------------------- podman system connection list podman machine init podman machine ls podman machine start podman machine stop podman machine set --rootful ### switch to rootful mode (non-podman) podman machine rm -f podman-machine-default ------------------------------------------- podman machine init --cpus 4 --memory 2048 --disk-size 100 --now sandbox podman machine start sandbox podman system connection default sandbox ### Set the machine "sandbox" as the default connection. ------------------------------------------- sudo /opt/homebrew/Cellar/podman/4.7.2/bin/podman-mac-helper install podman machine stop/opt/homebrew/Cellar/podman/4.7.2/bin/podman-mac-helper; podman machine start/opt/homebrew/Cellar/podman/4.7.2/bin/podman-mac-helper export DOCKER_HOST='unix:///Users/FEZSDZ7/.local/share/containers/podman/machine/qemu/podman.sock' ------------------------------------------- API forwarding listening on: /var/run/docker.sock Docker API clients default to this address. You do not need to set DOCKER_HOST.