I have this issue. This is what my terminal output looks like:
❯ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
08563dd52f61 dgraph/standalone:v21.03.0 "/run.sh" 13 minutes ago Up 13 minutes 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp, 0.0.0.0:9080->9080/tcp, :::9080->9080/tcp cranky_dirac
❯ docker exec -it 08563dd52f61 sh
# curl localhost:8000
curl: (7) Failed to connect to localhost port 8000: Connection refused
# ls
p t w zw
# pwd
/dgraph
# curl 0.0.0.0:8000
curl: (7) Failed to connect to 0.0.0.0 port 8000: Connection refused
# curl localhost:8080
Dgraph browser is available for running separately using the dgraph-ratel binary#
I assumed that dgraph-ratel
was included as part of the standalone docker image? This is what is specified by the docs: https://dgraph.io/docs/tutorial-1/
EDIT: Maybe this is the issue: Dgraph-ratel binary missing in docker image v21.03.0 - #4 by MichelDiz