Docker启动Get Permission Denied
本文转自: 作者: warm3snow ,原文链接:https://www.cnblogs.com/informatics/p/8276172.html 以下问题及解决方法都在Ubuntu16.04下,其他环境类似 问题描述 安装完docker后,执行docker相关命令,出现 ” Got permission denied while trying to connect to the Docker daemon socket at unix : ///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.26/images/json: dial unix /var/run/docker.sock: connect: permission denied“ 原因 摘自docker mannual上的一段话 Manage Docker as a non - root user The docker daemon binds to a Unix socket instead of a TCP port . By default that Unix socket is owned by the user root and other users can only access it using sudo . The