Use Devcontainers to prepare a fully automated working environment.
Generate the devcontainer.json executing:
cd .devcontainer
./generate_devcontainer.shNow you should see the file .devcontainer/devcontainer.json. At this point you can use your favorite IDE to run Devcontainers
Install the extension https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers
To open the repository with DevContainers do Ctrl + Shift + P and enter Dev Containers: Rebuild and Reopen in Container. For more options see the Extension documentations.
Docker defaults should work fine therefore there is nothing to do.
Start Podman service for a regular user (rootless) and make it listen to a socket:
systemctl --user enable --now podman.socketRestart your OS if necessary and verify that podman listens:
systemctl --user status podman.socketGo to the Extension Settings:
Dev › Containers: Docker Compose Pathsetpodman-composeDev › Containers: Docker PathsetpodmanDev › Containers: Docker Socket Pathset/run/podman/podman.sock