fix adding docker group in psttrt fct

This commit is contained in:
Francois B. (Makoto) 2020-05-23 00:43:51 +02:00
parent 9e432ce0e0
commit fa7c843d9e

View file

@ -1096,7 +1096,7 @@ function dockerio_PostTrtFct () {
"start docker service" "start docker service"
runCmd "sudo systemctl enable docker" \ runCmd "sudo systemctl enable docker" \
"add docker service at boot" "add docker service at boot"
runCmd "sudo groupadd --quiet docker" \ runCmd "sudo groupadd --force docker" \
"add docker group" "add docker group"
cUser=$(whoami) cUser=$(whoami)
runCmd "sudo usermod -aG docker $cUser" \ runCmd "sudo usermod -aG docker $cUser" \