Docker Got permission denied while trying to connect to the Docker daemon socket

Docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock

sudo groupadd docker  
sudo usermod -a -G docker $USER  

Then restart/ log out and log in


Back to top

Copyright © 2019 - 2024 Johnny Li. All contents licensed under CC BY-NC-SA 4.0 本站所有内容基于 CC BY-NC-SA 4.0 协议发布,转载需要署名.
Please read the LICENSE file for specific language governing permissions and limitations under the License.

Page last modified: Apr 11 2024 at 10:14 PM.

Edit this page on GitHub