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 …
SSH authorized_keys permission denied on Fedora until SELinux labels were reloaded
Ran into this on February 14th, 2022 where I couldn't authenticate to localhost with public keys on Fedora. Setting up: # /etc/systemd/system/sshd.service.d/override.conf
[Service]
ExecStart=
ExecStart=/usr/sbin/sshd -D $OPTIONS -d
..and restarting …