Workload with Ingress Quick Start

I deployed Rancher in Docker following the official guide’s Option A at Installing Rancher on a Single Node Using Docker | Rancher.

I attempted the following quick start: Workload with Ingress Quick Start | Rancher, but did not get the expected results. Below is some information about my deployment.

Beyond that, I haven’t changed any other configurations, but when I access 127.0.0.1/hello, I get a 404 return.

But 127.0.0.1 is not the IP of the docker container running Rancher?
Have you tried with the IP of the rancher container?

Yes, I try the ip of the docker container, ip in the image above, 10.31.4.69

You did not read the quickstart carefully:

Prerequisites state: You have a running cluster with at least 1 node.

This means you should first create working downstream cluster (k3s is fine for this) with a working ingress and LB ( as you would get if creating a k3s cluster from rancher).

I think Option A at Installing Rancher on a Single Node Using Docker | Rancher. already satisfied the Prerequisites, a running cluster with at least 1 node.

No, the rancher (especially the single node docker version) is only suitable for running rancher, not any other workloads.