Localhost:8000 connection refused

Are you sure you are using a native Docker installation? If not, you should try to get the machine’s (in general it is a hyper-v VM on Windows) IP. And access it via it’s IP. e.g: 192.168.99.1:8000

If it is a native installation, check your docker configs. Not sure how it works on Windows. In my mind, it should forward the port to the localhost automatically.

You can also do a test to check if the Ratel UI is really running.

Run:

docker ps

Get the container ID and then:

docker exec -it $ContainerID sh

So you gonna be inside the container. You can run:

curl localhost:8000

If you get a giant HTLM body in the response it means that it is running and the issue is related to Docker.

<!doctype html><html lang="en"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">

Cheers.