fenos
(Fabrizio)
April 24, 2021, 5:05pm
1
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
iluminae
(Kenan Kessler)
April 24, 2021, 6:14pm
2
Check out the release notes, it is no longer packaged in the same docker image, just use play.dgraph.io
It’s time for the first major Dgraph release of 2021. Dgraph v21.03 is also known as the Resilient Rocket release. The Dgraph team took inspiration from Rocket’s brilliant engineering and heavy armory while building the robust features of v21.03.
We heard from you, our community, that our v20.11 release was helpful in ending OOM issues and adding improved experiences and performance. Since the last major release, Dgraph has been focusing on bringing Dgraph Cloud to par…
1 Like
rja
(RJ)
May 6, 2021, 7:12am
3
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
fenos
(Fabrizio)
May 6, 2021, 7:55am
4
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
iluminae
(Kenan Kessler)
May 6, 2021, 3:30pm
5
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
chewxy
(chewxy)
May 7, 2021, 4:07am
7
I also agree with RJ. We’re planning to fix this soon though.
fenos
(Fabrizio)
May 7, 2021, 10:59am
8
I still don’t believe it can resolve my “localhost” DNS
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
MichelDiz
(Michel Diz)
May 14, 2021, 8:38pm
9
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
MichelDiz
(Michel Diz)
May 27, 2021, 1:08am
11
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
iluminae
(Kenan Kessler)
May 27, 2021, 3:33am
13
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
MichelDiz
(Michel Diz)
May 27, 2021, 12:52pm
14
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