Try another way
This commit is contained in:
parent
fd44cb82c4
commit
7ff68fd29b
|
@ -76,9 +76,9 @@ add_user_to_docker_group() {
|
||||||
# based on https://superuser.com/a/345051
|
# based on https://superuser.com/a/345051
|
||||||
#orig_group_id=$(id -gn)
|
#orig_group_id=$(id -gn)
|
||||||
#echo "===== orig_group_id = ${orig_group_id}"
|
#echo "===== orig_group_id = ${orig_group_id}"
|
||||||
#newgrp docker
|
newgrp docker
|
||||||
|
newgrp -
|
||||||
#newgrp "${orig_group_id}"
|
#newgrp "${orig_group_id}"
|
||||||
su - ${ADMIN_USERNAME}
|
|
||||||
|
|
||||||
echo "===== Groups: "
|
echo "===== Groups: "
|
||||||
groups
|
groups
|
||||||
|
|
Loading…
Reference in New Issue