Open5
Podman で devcontainer
podman 4.7 系から公式にサブコマンドとして compose がサポート
brew install podman-desktop
podman-desktop のGUI上、ステータスバーの "Compose" から docker-compose をインストールできる。
add the following two values into your .devcontainer/devcontainer.json:
"runArgs": ["--userns=keep-id"],
"containerUser": "vscode", // the value needs to match the value of "remoteUser"
これで割と動く (変更後は rebuild が必要)
err: exec: "docker-credential-osxkeychain": executable file not found in $PATH
brew install docker-credential-helper
compose 使用時に
"runArgs": ["--userns=keep-id"],
相当の設定をする方法がなく、おそらくそれが原因で mysql イメージが起動しない