Browse Source

Fix: Fix non-effect env

pull/131/head
winkidney 6 years ago
parent
commit
08fc46e667
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      start_docker_with_current_user.sh

+ 2
- 1
start_docker_with_current_user.sh View File

@@ -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 ${@}

Loading…
Cancel
Save