diff --git a/start_docker_with_current_user.sh b/start_docker_with_current_user.sh index 90dbfe5..8b15770 100755 --- a/start_docker_with_current_user.sh +++ b/start_docker_with_current_user.sh @@ -1,2 +1,3 @@ #!/usr/bin/env bash -CURRENT_UID=$(id -u):$(id -g) sudo docker-compose up ${@} +_CURRENT_UID=$(id -u):$(id -g) +sudo CURRENT_UID=${_CURRENT_UID} docker-compose up ${@}