https://rancher.com/ logo
c

clean-lawyer-76009

11/02/2022, 10:28 AM
Hello, i ran following command on my localhost to try out the rancher quick start, but when i want to access the page https://localhost i just get http 403 in the browser
Copy code
sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher
Can someone confirm this?
a

ancient-train-43506

11/02/2022, 11:42 AM
@clean-lawyer-76009
sudo docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \
--privileged \
rancher/rancher:latest
c

clean-lawyer-76009

11/02/2022, 1:05 PM
same problem with this command, still 403
a

ancient-train-43506

11/02/2022, 1:19 PM
Remove docker from your machine and install using this command
curl <https://releases.rancher.com/install-docker/20.10.sh> | sh
c

clean-lawyer-76009

11/03/2022, 10:26 AM
thanks Desmond, i already installed docker via this script i tried the very same command on a freshly created vm with Ubuntu-22.04.01 and this works no idea why it doesnt work on 20.04
a

ancient-train-43506

11/03/2022, 10:27 AM
Welcome @clean-lawyer-76009. It should also work fine on ubuntu 20.04