Private: Questions › How to fix Docker error: Got permission denied while trying to connect to the Docker daemon socket [solved] 0 Vote Up Vote Down asad Staff asked 7 months ago 1 Answers 0 Vote Up Vote Down asad Staff answered 7 months ago You can execute following command in terminalsudo usermod -a -G docker [user]replace [user] with your username, close terminal open a new one. Issue will be resolved.