Skip to content

Instantly share code, notes, and snippets.

@baflo
Last active April 27, 2018 11:13
Show Gist options
  • Save baflo/96f2cf0dbef926ae1d3189458b657238 to your computer and use it in GitHub Desktop.
Save baflo/96f2cf0dbef926ae1d3189458b657238 to your computer and use it in GitHub Desktop.
Basic RancherOS config
#cloud-config
hostname: rancheros
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAALAuFA2ZAe1+Zmkr0Ge+idxEw== baflo@anpingen.de
rancher:
services:
rancher-agent1:
image: rancher/agent:latest
ports:
- "8080:8080"

$ sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment