Check the available versions of Dockerĭocker-ce | 17.12.1~ce-0~ubuntu | xenial/stable amd64 Packagesĭocker-ce | 17.12.0~ce-0~ubuntu | xenial/stable amd64 Packagesĭocker-ce | 17.09.1~ce-0~ubuntu | xenial/stable amd64 Packagesĭocker-ce | 17.09.0~ce-0~ubuntu | xenial/stable amd64 Packagesĭocker-ce | 17.06.2~ce-0~ubuntu | xenial/stable amd64 Packagesĭocker-ce | 17.06.1~ce-0~ubuntu | xenial/stable amd64 Packagesĭocker-ce | 17.06.0~ce-0~ubuntu | xenial/stable amd64 Packagesĭocker-ce | 17.03.2~ce-0~ubuntu-xenial | xenial/stable amd64 Packagesĭocker-ce | 17.03.1~ce-0~ubuntu-xenial | xenial/stable amd64 Packagesĭocker-ce | 17.03.0~ce-0~ubuntu-xenial | xenial/stable amd64 Packages If you are like me, and may have mutiple docker hosts, you want to run the same version. Sudo add-apt-repository "deb $(lsb_release -cs) stable" Sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common Sudo apt-get update & sudo apt-get upgrade -yĬonfigure apt to use a repository over HTTPS We first need to update and upgrade the VM. I would go ahead and SSH into the VM instead of VNC. Start the VM back up and verify with VNC that it boots the the login screen without issue. We need to create a new boot directory and copy the working grubx#.elf into itĬp /boot/efi/EFI/ubuntu/grub圆4.elf /boot/efi/EFI/BOOT/boot圆4.elf Enter the IP for the new host, copy the command and run it in the RancherOS shell Verify and save the Host Registration URL. Once that completes, go to and go to Add Host. Note: After it completes the pull and extract processes, it may take a few minutes before the WebUI is accessible! Sudo docker run -d -restart=unless-stopped -p 8080:8080 rancher/server Run the following to install the Rancher container so we can access the WebUI: You should be able to SSH into the VM now instead of going the FreeNAS's shell. First run ' ifconfig' to get your interface name ( eth0 be default.) Then run the following after modifying what you need to depending on your network configuration: Next you will want to configure a static IP. Login with the username ' rancher' and the password you configured earlier for the RAW device. You can pick and chose how you configure your docker environment. While I have things separated in stacks, you could have them all in the same one. I will try to assist in troubleshooting when time is available. This is all a work in progress and taken from my Homelab. I moved away from RancherOS as it was easier in my environment to centrally manage. I've since migrated to Ubuntu Server 16.04 OS w/ Docker/Rancher on two hosts managed from a single WebUI. Previously I was only working with RancherOS on a single host. Additionally, I will also be walking you through backing up and migrating your current Plex data from a Plugin or Jail install. ![]() In this guide we will install and configure a RacherOS or Ubuntu VM with Docker/Rancher. I run a Homelab & a dedicated VMHost (website and internal web apps) that I also want to migrate many of the apps to leverage many of the features of Rancher and Docker. I've spent the past couple weekends teaching myself Rancher and Docker for the intended purpose of migrating my Jails to Docker Containers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |