Skip to content

Commit

Permalink
Fix docker group verification in setup.sh #476
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonacox committed May 16, 2024
1 parent 003811d commit f5632c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fi

# Verify user in docker group (not required for Windows Git Bash)
if ! type winpty > /dev/null 2>&1; then
if ! $(id -Gn 2>/dev/null | grep -qE " docker( |$)"); then
if ! $(id -Gn 2>/dev/null | grep -qw "docker"); then
echo "WARNING: You do not appear to be in the docker group."
echo ""
echo "Please ensure your local user is in the docker group and run without sudo."
Expand Down

0 comments on commit f5632c3

Please sign in to comment.