Skip to content

Commit

Permalink
fix - adjust docker permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
chaddyc committed Dec 31, 2024
1 parent 9b9d705 commit 62f9b27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ fi
# Ensure sudo is used for docker commands
# alias docker='sudo docker'

docker() {
sudo /usr/bin/docker "$@"
}

# # Configure Docker permissions if /var/run/docker.sock is mounted
# if [ -e /var/run/docker.sock ]; then
# DOCKER_GID=$(stat -c '%g' /var/run/docker.sock)
Expand Down

0 comments on commit 62f9b27

Please sign in to comment.