Ratel not working?

I’m trying to run the standalone container with the provided command:

 docker run -it -p 5080:5080 -p 6080:6080 -p 8080:8080 -p 9080:9080 -p 8000:8000 -v ~/dgraph:/dgraph --name dgraph dgraph/standalone:v21.03.0

When i visit http://localhost:8000 trying to access RatelUI i get ERR_EMPTY_RESPONSE

Checking the docker logs I can see the following:

/run.sh: line 16: dgraph-ratel: command not found

Apparently, the image doesn’t run Ratel successfully for some reason.
I’ve tried this with 2 different machines (just in case) and the issue is the same.

How are you guys able to access Ratel locally with the standalone image?

Regards

Check out the release notes, it is no longer packaged in the same docker image, just use play.dgraph.io

1 Like

This is really poor form to not have the getting started docs up to date. As someone who is evaluating this software trying to debug why Ratel is not available via docker on localhost is not acceptable as you have taken away an hour of my time. Please ensure this is up to date.

2 Likes

I absolutely agree with RJ.

Also the fact that Ratel is not packaged on the getting started image any longer is very disappointing.

How am I supposed to connect to localhost with play.dgraph.io ?

At least provide another docker image with ratel ready to be launched.

Don’t remove tooling to the developers or make it hard to access, that’s not a great experience

Thanks

The button in the top left with the dgraph symbol and the currently connected host allows you to connect to any host you want, try that out.
Here are the docs about the connection panel in ratel: Connection - Ratel

I also agree with RJ. We’re planning to fix this soon though.

I still don’t believe it can resolve my “localhost” DNS :grinning_face_with_smiling_eyes:

For the people like me that want to have ratel locally, I’ve created a temporary docker image.
You can simply use it as following:

docker run -p 8000:8000 fenos/ratel-ui

Then visit http://localhost:8000

I’ve also raised a PR to the main repo, maybe they’ll be happy to make this official

2 Likes

Just an update - @joaquin has published the Ratel image Docker Hub

2 Likes

Pulling the Ratel image from docker after docker run dgraph/Ratel

I get listening on :8000…

But localhost:8000
Does nothing and 8080 is the dgraph browser is available for running separately message.

This while the dgraph docker image is running.

Kind of a hassle for a quick start :confused:

Please, share the commands used. You may forgot to expose the port to the host.

Possibly
Terminal 1: docker run --rm -it -p 8000:8000 -p 8080:8080 -p 9080:9080 dgraph/standalone
Terminal 2: docker run dgraph/ratel

Browser: 127.0.0.1:8000

Move the -p 8000:8000 to the ratel docker run command, that is the one that has hosts the ratel website. The 8080 port is the database http API port.

1 Like

Yep, that was it. I gonna close this.

Just a reminder, always open a new topic. To avoid sending unwanted emails to participants.

Cheers!

1 Like