Got permission denied while trying to connect to the Docker daemon socket at
Docker to The socket at connect while denied
2023-09-11 14:17:16 时间
添加新用户后执行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组即可。
usermod -g docker test
相关文章
- docker 安装并运行phpMyAmdin
- The three top-paying tech roles in 2022 and the skills you need to land them
- 解决Maven打包时报错"The packaging for this project did not assign a file to the build artifact"
- Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
- docker-maven-plugin:自动构建Maven多模块的Docker镜像,并推送到Docker Registry或阿里云
- Docker swarm 通过 docker-compose 部署应用
- Docker 容器互联方法
- 在 Docker 中运行 OpenOffice
- docker 运行后端项目出错,查看日志,错误信息为:Error: Unable to access jarfile /xxx/xxx.jar
- Centos安装docker postgresql
- docker build时报错"failed to create endpoint xxxx on network bridge: failed to add the host (veth999999) <=> sandbox (vetha8888888) pair interfaces: operation not supported"
- Docker for Windows使用简介
- Docker - docker的安装部署 - docker常用命令 - 底层隔离机制
- docker push 时提示‘denied: requested access to the resource is denied’
- 使用Docker在本地搭建Hadoop分布式集群
- The cast to value type 'System.Decimal' failed because the materialized value is null. Either the result type's generic parameter or the query must use a nullable type.
- PHP错误:SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
- 浅析CentOS安装docker及遇到的问题:Failed to start docker.service: Unit not found或docker: command not found
- 金仓kingbase连接报错The authentication type 10 is not supported. Check that you have configured the sys_hba.conf file to include the client's IP address or subnet
- 配置Docker中国区官方镜像http://get.daocloud.io/ 很好的一个源http://get.daocloud.io/#install-docker
- Ubuntu下Jenkins(docker)配置Docker远程启动
- The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.