Home Rancher in a Docker container
Post
Cancel

Rancher in a Docker container

source: https://docs.ranchermanager.rancher.io/pages-for-subheaders/rancher-on-a-single-node-with-docker

1
2
3
4
5
6
7
sudo docker run -d --restart=unless-stopped \
  -p 80:80 -p 443:443 \
  --privileged \
  rancher/rancher:latest

IP=$(hostname -I | cut -d " " -f 1)
echo "Now log into https://$IP"

Yes, it is that easy.

This post is licensed under CC BY 4.0 by the author.