I am new in Rancher.
I followed the quick-start guide to spin up the Rancher container, based on the guide, I only need to run the following command on my laptop:
$ sudo docker run --privileged -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher
I can see the container is running successfully:
~ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 871b54fb1003 rancher/rancher "entrypoint.sh" 1 hours ago Up 1 hours 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp youthful_villani
But when I try to access http://localhost:80 or https://localhost , there is no response:
Why is that? What am I missing to spin up Rancher in my local environment?