Make devcontainers work on Fedora with SELinux / rootless podman
I needed to add the following to my .devcontainer.json to get it going: "runArgs": [
"--userns=keep-id:uid=1000,gid=1000",
"--security-opt=label=disable"
],
"containerUser": "vscode",
(Assuming your user ID is 1000. Find it by running …
Saving docker container image contents to local directory
You can use commands like docker save to export a container to a directory or tar archive, but the problem is that this saves the individual image layers, while what we typically want is to save files that are seen in the final, merged filesystem ima…
Troubleshooting Podman
Volume mounts on Mac Home should be mounted by default on init: $ podman machine init --help
# --snip--
-v, --volume stringArray Volumes to mount, source:target (default [$HOME:$HOME])
# --snip--
This currently (podman 4.3.1) mounts with se…