Skip to content

Commit

Permalink
Disable SELinux enforcement on dev containers
Browse files Browse the repository at this point in the history
On SELinux-enforcing systems, such as stock Fedora (to be more precise,
in my case, Fedora Silverblue), running `scripts/setup` fails with a
"Permission Denied" error. Fixing the root cause here seemingly
requires mucking around in the devcontainers CLI source, so we just
bail out and use a workaround.

Upstream bug: devcontainers/cli#914
  • Loading branch information
strugee committed Oct 7, 2024
1 parent 4721f8e commit b6ce880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
// Port 5683 udp is used by Shelly integration
"appPort": ["8123:8123", "5683:5683/udp"],
"runArgs": ["-e", "GIT_EDITOR=code --wait"],
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--security-opt", "label=disable"],
"customizations": {
"vscode": {
"extensions": [
Expand Down

0 comments on commit b6ce880

Please sign in to comment.