Reachjs and Algorand Tips for build web ap with NextJS
algorand and reachjs for build smart contract
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
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.
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.
I get root privilege in the windows system
export REACH_ALLOW_SU=1
this code works. Thanks