# Ratel not working?

**URL:** <https://discuss.dgraph.io/t/ratel-not-working/13860>\
**Category:** Ratel\
**Tags:** kind:question, ratel\
**Created:** [April 24, 2021, 5:05pm UTC](https://discuss.dgraph.io/t/ratel-not-working/13860 "2021-04-24T17:05:32Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![fenos](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/fenos/32/7699_2.png) [@fenos](https://discuss.dgraph.io/u/fenos)\
**Post date:** [April 24, 2021, 5:05pm UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/1 "2021-04-24T17:05:32Z")

</div>

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

```auto
 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](http://localhost:8000) trying to access RatelUI i get `ERR_EMPTY_RESPONSE`

Checking the docker logs I can see the following:

```auto
/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

---

<div class="post-metadata">

**Author:** ![iluminae](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/iluminae/32/7367_2.png) [@iluminae](https://discuss.dgraph.io/u/iluminae)\
**Post date:** [April 24, 2021, 6:14pm UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/2 "2021-04-24T18:14:26Z")

</div>

Check out the release notes, it is no longer packaged in the same docker image, just use [play.dgraph.io](http://play.dgraph.io)

> [@Dgraph v21.03: Resilient Rocket Release - Dgraph Blog](http://discuss.hypermode.com/t/dgraph-v21-03-resilient-rocket-release-dgraph-blog/13831):
>
> 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…

---

<div class="post-metadata">

**Author:** ![rja](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/rja/32/8046_2.png) [@rja](https://discuss.dgraph.io/u/rja)\
**Post date:** [May 6, 2021, 7:12am UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/3 "2021-05-06T07:12:37Z")

</div>

This is really poor form to not have the [getting started docs](https://dgraph.io/docs/get-started/) 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.

---

<div class="post-metadata">

**Author:** ![fenos](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/fenos/32/7699_2.png) [@fenos](https://discuss.dgraph.io/u/fenos)\
**Post date:** [May 6, 2021, 7:55am UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/4 "2021-05-06T07:55:01Z")

</div>

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](http://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

---

<div class="post-metadata">

**Author:** ![iluminae](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/iluminae/32/7367_2.png) [@iluminae](https://discuss.dgraph.io/u/iluminae)\
**Post date:** [May 6, 2021, 3:30pm UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/5 "2021-05-06T15:30:36Z")

</div>

> [@fenos](#):
>
> How am I supposed to connect to localhost with [play.dgraph.io](http://play.dgraph.io) ?

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](https://dgraph.io/docs/ratel/connection/)

---

<div class="post-metadata">

**Author:** ![chewxy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/chewxy/32/4339_2.png) [@chewxy](https://discuss.dgraph.io/u/chewxy)\
**Post date:** [May 7, 2021, 4:07am UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/7 "2021-05-07T04:07:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![fenos](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/fenos/32/7699_2.png) [@fenos](https://discuss.dgraph.io/u/fenos)\
**Post date:** [May 7, 2021, 10:59am UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/8 "2021-05-07T10:59:03Z")

</div>

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:

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

```

Then visit [http://localhost:8000](http://localhost:8000)

I’ve also raised a [PR](https://github.com/dgraph-io/ratel/pull/267) to the main repo, maybe they’ll be happy to make this official

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [May 14, 2021, 8:38pm UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/9 "2021-05-14T20:38:26Z")

</div>

Just an update - @joaquin has published the [Ratel image](https://hub.docker.com/r/dgraph/ratel) [Docker Hub](https://hub.docker.com/r/dgraph/ratel)

---

<div class="post-metadata">

**Author:** ![Pesudosybin](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/pesudosybin/32/8243_2.png) [@Pesudosybin](https://discuss.dgraph.io/u/Pesudosybin)\
**Post date:** [May 27, 2021, 12:08am UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/10 "2021-05-27T00:08:55Z")

</div>

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 😕

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [May 27, 2021, 1:08am UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/11 "2021-05-27T01:08:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Pesudosybin](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/pesudosybin/32/8243_2.png) [@Pesudosybin](https://discuss.dgraph.io/u/Pesudosybin)\
**Post date:** [May 27, 2021, 3:21am UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/12 "2021-05-27T03:21:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![iluminae](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/iluminae/32/7367_2.png) [@iluminae](https://discuss.dgraph.io/u/iluminae)\
**Post date:** [May 27, 2021, 3:33am UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/13 "2021-05-27T03:33:35Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [May 27, 2021, 12:52pm UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/14 "2021-05-27T12:52:56Z")

</div>

Yep, that was it. I gonna close this.

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

Cheers!

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [May 27, 2021, 12:53pm UTC](https://discuss.dgraph.io/t/ratel-not-working/13860/15 "2021-05-27T12:53:01Z")

</div>


