Skip to content

Commit

Permalink
docker-for-win: fix --group-add error message #165
Browse files Browse the repository at this point in the history
  • Loading branch information
mviereck committed Jun 25, 2019
1 parent f4d98dd commit 7d17eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x11docker
Original file line number Diff line number Diff line change
Expand Up @@ -3792,6 +3792,7 @@ create_dockercommand() { # create command to run docker
getent group ${Line:-nonsense} >/dev/null && Dockercommand="$Dockercommand \\
--group-add $(getent group $Line | cut -d: -f3)"
done
:
} || {
note "Your docker version does not support option --group-add.
Could not add container user to groups: $Containerusergroups
Expand Down

0 comments on commit 7d17eb4

Please sign in to comment.