そろそろmsys2なりVMからwsl2に移行しても良いかなとおもってPodmanも試してみた
概ね Run Podman on Windows 10 | Windows Server 2019 with WSL2 | ComputingForGeeks のとおりで良いのですが、最新版のPodmanの仕様に合わせて最後だけ変更します
Rootless configuration file changes If you plan to run podman as a non-root user, you should start with a simple podman command like: $ podman info This action will create the Podman configuration file $HOME/.config/containers/libpod.conf. Simply edit this file and change the value of events_logger to <file>.
最近のPodmanは podman info しても $HOME/.config/containers/libpod.conf は作成されません。
そこで以下の手順に変えます
# /etc/containers/containers.conf で events_logger = file に変更する
sudo sed -i.bak '/events_logger/{s/^# //; s/journald/file/}' /etc/containers/containers.conf