Skip to content

Commit 2a8f833

Browse files
chriscrosstalkclaude
authored andcommitted
fix(security): disable Dozzle web shell access
Dozzle's DOZZLE_ENABLE_SHELL=true on an unauthenticated port allows anyone on the LAN to open a shell into containers, including nomad_admin which has the Docker socket mounted — creating a path to host root. Disables shell access while keeping log viewing and container actions (restart/stop) enabled. Closes #278 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e847c6b commit 2a8f833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/management_compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ services:
5252
- /var/run/docker.sock:/var/run/docker.sock # Allows Dozzle to read logs from the Host's Docker daemon
5353
environment:
5454
- DOZZLE_ENABLE_ACTIONS=true # Enables the action buttons (restart, stop, etc.)
55-
- DOZZLE_ENABLE_SHELL=true # Enables web-based shell access
55+
- DOZZLE_ENABLE_SHELL=false # Disabled — shell access + Docker socket = privilege escalation
5656
mysql:
5757
image: mysql:8.0
5858
container_name: nomad_mysql

0 commit comments

Comments
 (0)