Skip to content

Instantly share code, notes, and snippets.

View leandroscardua's full-sized avatar

Leandro Scardua leandroscardua

View GitHub Profile
@leandroscardua
leandroscardua / script.sh
Created June 9, 2022 19:12 — forked from doodlesbykumbi/script.sh
Automation for single node Rancher in Docker
# TODO: inside any container consuming Rancher API
# echo "172.17.0.1 local.com" >> /etc/hosts
# Run single node
docker run -d --name rancher --restart=unless-stopped \
-p 80:80 -p 443:443 \
--privileged \
rancher/rancher:latest
# Wait for node to be ready