IT-SDK-Podman

From wiki.samerhijazi.net
Jump to navigation Jump to search

ref

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.