I gave up with the container.... for anyone curious I decided to use RancherOS in a VM for my setup. Here are the steps I used...
1) Download RancherOS ISO
2) Setup a VM with RancherOS ISO as CD.
3) Boot
4) From Console
- sudo /bin/bash
- password rancher
5) SSH to rancher@<host>
- vi cloud-config.yml
Code:
hostname: <hostname>
rancher:
network:
interfaces:
eth*:
dhcp: false
eth0:
dhcp: true
eth1:
address: 10.0.254.140/24
gateway: 10.0.254.1
dns:
nameservers:
- 10.0.0.1
ssh_authorized_keys:
- ssh-rsa <your SSH id_pub.rsa)
Of note... eth0 is bridged to vmbr0 on Proxmox which is my main 1G network. Eth1 is bridged to vmbr1 on Proxmox which is my 10G network between my proxmox servers and my QNAP. Eventually I'm planning to merge that half of the network and only use the SFP+ cards once I have a switch... (on my list).
- Run
sudo ros install -c cloud-config.yml -d /dev/sda
- Remove CD Image from VM, and then reboot.
6) SSH back into RancherOS (rancher@<IP>)
7) Install Whatever.... I'm using Rancher and Portainer... so I ran
sudo docker run -d --name rancher --privileged -v /var/run/docker.sock:/var/run/docker.sock --restart=unless-stopped -p 8080:8080 rancher/server
sudo docker run -d --name portainer --privileged -v /var/run/docker.sock:/var/run/docker.sock --restart=unless-stopped -p 9000:9000 portainer/portainer
Seems like it's working well... Next step is maybe TLS/SWARM....
Swarm vs Kubernetes ...
Then I'll have a proxmox cluster with RancherOS inside of a VM running a Docker Cluster....
-Eric