Continental Innovates with Rancher and Kubernetes
RancherOS is available in the Digital Ocean portal. RancherOS is a member of container distributions and you can find it easily.
Note Deploying to Digital Ocean will incur charges.
To start a RancherOS Droplet on Digital Ocean:
cloud-config
You can access the host via SSH after the Droplet is booted. The default user is rancher.
rancher
Below is an example cloud-config file that you can use to initialize the Droplet with user data, such as deploying Rancher:
#cloud-config write_files: - path: /etc/rc.local permissions: "0755" owner: root content: | #!/bin/bash wait-for-docker export curlimage=appropriate/curl export jqimage=stedolan/jq export rancher_version=v2.2.2 for image in $curlimage $jqimage "rancher/rancher:${rancher_version}"; do until docker inspect $image > /dev/null 2>&1; do docker pull $image sleep 2 done done docker run -d --restart=unless-stopped -p 80:80 -p 443:443 -v /opt/rancher:/var/lib/rancher rancher/rancher:${rancher_version}