kernel
kernel
CCoder.com
Created by kernel on 6/11/2023 in #help
Web UI is not accessible with Docker installation
Hello, how do I open web access to coder running in a docker? I try to run it according to the manual:
docker run --rm -it -e CODER_ACCESS_URL="https://..." -e CODER_PG_CONNECTION_URL="postgresql://..." -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/coder/coder:latest
docker run --rm -it -e CODER_ACCESS_URL="https://..." -e CODER_PG_CONNECTION_URL="postgresql://..." -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/coder/coder:latest
Seems like it's running correctly:
Started HTTP listener at http://127.0.0.1:3000
View the Web UI: https://...
Started HTTP listener at http://127.0.0.1:3000
View the Web UI: https://...
The Web UI is not accessible.
Connecting to ...:443... failed: Connection refused.
Connecting to ...:443... failed: Connection refused.
I try to open ports for the docker container:
ufw-docker allow 64a809c45e28 443
"romantic_taussig" doesn't have any published ports.
ufw-docker allow 64a809c45e28 443
"romantic_taussig" doesn't have any published ports.
Stopping ufw didn't help. Adding -p 443:443 also didn't help. How to finalize the Docker installation correctly so that the Web UI is accessible?
11 replies