Replies: 1 comment 2 replies
-
When using via |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I followed the doc from coder.com to try to install via docker compose with root, but get an error: permission denied.
How can I deal with this issue? Thanks!
Here are the error messages for client and webui:
console:
[node1] (local) root@192.168.0.18 ~/coder$ whoami
root
##step 2 clone
[node1] (local) root@192.168.0.18 ~/coder$ git clone https://github.com/coder/coder.git
Cloning into 'coder'...
Updating files: 100% (7087/7087), done.
##step 3 up
[node1] (local) root@192.168.0.18 ~/coder$ cd coder
[node1] (local) root@192.168.0.18 ~/coder/coder$ docker compose up
[+] Running 20/20 layers ...
##step 4 login & check health: all ✔
##step 5 use a starter template "docker" ...
coder-coder-1 | 2024-02-16 02:10:37.524 [info] provisionerd-83ea99bf345e-1.runner: dry-run provision failure job_id=41aee34e-b418-49bd-9e8b-1449213afa15 error="terraform plan: exit status 1"
coder-coder-1 | 2024-02-16 02:10:37.531 [info] terraform: recv done on Session session_id=8e6fe6fd-ea86-41c6-931e-72334e4be1dd error=EOF
webui:
10:30:28.256 (UTC+8)
Error: Error pinging Docker server: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied
on main.tf line 19, in provider "docker":
19: provider "docker" {
Beta Was this translation helpful? Give feedback.
All reactions