Mopsior
Mopsior
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
/home/coder/docker $ /opt/coder login http://-:7080
Open the following in your browser:

http://-:7080/cli-auth

> Paste your token here:
> Welcome to Coder, Mopsior! You're authenticated.
/home/coder/docker $ /opt/coder templates create
> Create and upload "~/docker"? (yes/no)
✔ Queued [284ms]
✔ Setting up [57ms]
✔ Adding README.md... [57ms]
✔ Parsing template parameters [113ms]
⧗ Detecting persistent resources
Terraform 1.2.1
data.coder_workspace.me: Refreshing...
data.coder_provisioner.me: Refreshing...
data.coder_provisioner.me: Refresh complete after 0s [id=05ee3e6b-0e55-471a-a480-d2ca5f72cbb8]
data.coder_workspace.me: Refresh complete after 0s [id=a8fc2fee-dda9-47b3-94ad-4d0ce7197225]
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

✔ Detecting persistent resources [5472ms]
✘ Cleaning Up [107ms]
template import provision for start: recv import provision: plan terraform: terraform plan: exit status 1
Run 'coder templates create --help' for usage.
/home/coder/docker $ /opt/coder login http://-:7080
Open the following in your browser:

http://-:7080/cli-auth

> Paste your token here:
> Welcome to Coder, Mopsior! You're authenticated.
/home/coder/docker $ /opt/coder templates create
> Create and upload "~/docker"? (yes/no)
✔ Queued [284ms]
✔ Setting up [57ms]
✔ Adding README.md... [57ms]
✔ Parsing template parameters [113ms]
⧗ Detecting persistent resources
Terraform 1.2.1
data.coder_workspace.me: Refreshing...
data.coder_provisioner.me: Refreshing...
data.coder_provisioner.me: Refresh complete after 0s [id=05ee3e6b-0e55-471a-a480-d2ca5f72cbb8]
data.coder_workspace.me: Refresh complete after 0s [id=a8fc2fee-dda9-47b3-94ad-4d0ce7197225]
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

✔ Detecting persistent resources [5472ms]
✘ Cleaning Up [107ms]
template import provision for start: recv import provision: plan terraform: terraform plan: exit status 1
Run 'coder templates create --help' for usage.
I set coder_access_url to facing url, in command i use server ip but still dont work
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
No description
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
Okay
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
yes, nginx but now im connecting via ip and unlocked port
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
No description
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
how i can open shell? /bin/bash dont work
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
No description
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
okay, so i think i'm want still oss
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
okay, i have a other question, because i dont know if i do it right. Does coder oss is something like "manager to code-server"?
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
i want to use code-server for it
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
oh wait, did it will allow me to use terminal in vsc?
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
no
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
i need it when i using docker?
30 replies
CCoder.com
Created by Mopsior on 9/9/2022 in #help
Coder CLI in docker
i put everything in docker (docker-compose) and i dont have cli in my machine. In quickstart i need to run commands, but i cant. When i'm in docker i have logs stream
30 replies