Closed khewweifeng closed 1 year ago
OS details
Found the solution = https://github.com/huan/docker-wechat/issues/55#issuecomment-648545331
This is the permission problem.You can use
sudo gpasswd -a $USER docker
to add your user to the group docker
so you can have permission to use docker pull
.
The other resolution is to to download dochat.sh
and run it with sudo
in your current machine.
Tried both command still same result (permissions denied)
curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | bash
curl -sL https://gitee.com/mirrors/dochat/raw/main/dochat.sh | bash
result as below
$ sudo curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | bash
🚀 Pulling the docker image...
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=zixia%2Fwechat&tag=3.3.0.115": dial unix /var/run/docker.sock: connect: permission denied kurinorton@poro:~ $ curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | bash
🚀 Pulling the docker image...
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=zixia%2Fwechat&tag=3.3.0.115": dial unix /var/run/docker.sock: connect: permission denied kurinorton@poro:~ $ curl -sL https://gitee.com/mirrors/dochat/raw/main/dochat.sh | bash
🚀 Pulling the docker image...
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=zixia%2Fwechat&tag=3.3.0.115": dial unix /var/run/docker.sock: connect: permission denied