Eray Bartan
Eray Bartan Blog

Eray Bartan Blog

Reachjs and Algorand Tips for build web ap with NextJS

Reachjs and Algorand Tips for build web ap with NextJS

algorand and reachjs for build smart contract

Eray Bartan's photo
Eray Bartan
·Jul 8, 2022·

1 min read

Subscribe to my newsletter and never miss my upcoming articles

I'm working with GitHub on two different machines. one windows one ubuntu.

ebartan@ebartan-linux-three:~/nextjs-reach-myalgo-connect/pages$ ../reach version
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.24/images/json?filters=%7B%22reference%22%3A%7B%22reachsh%2Freach-cli%3Alatest%22%3Atrue%7D%7D":sudo chmod 666 /var/run/docker.sock dial unix /var/run/docker.sock: connect: permission denied
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=reachsh%2Freach-cli&tag=latest": dial unix /var/run/docker.sock: connect: permission denied

Ekran görüntüsü 2022-07-08 21-47-05.png How can I resolve the error message found above? I searched for this message in the Reach discord group. In this case, I switched to the admin position with the

$sudo su

command. Below is the error message I got.

Ekran görüntüsü 2022-07-08 21-50-09.png I have defined variables in sequence.

export REACH_ALLOW_SU=1
sudo chmod 666 /var/run/docker.sock

I got to add two line codes for successful results with this code on my ubuntu system.

Ekran görüntüsü 2022-07-08 21-57-35.png

I get root privilege in the windows system

export REACH_ALLOW_SU=1

this code works. Thanks

 
Share this