Introduction
Installing Rancher 1.6 on your Macbook should be straight forward. In my case it was not as easy as I thought because of version compatibility between Docker and Rancher. Here are my steps, enjoy.Install Docker Toolbox in your Macbook
First of all Rancher 1.6 does not support Docker for Mac, so instead you need Docker Toolbox for Mac. Check this page for differences between Docker for Mac and Docker Toolbox for Mac.
One important point at the time you install Docker Toolbox for Mac: you need to get the correct version of the supported Docker. Rancher 1.6 supports some Docker versions. You can check the list on this support page. If you are trying for the first time please get the Community Edition (ce) of Docker. Here is a functional example:
- Docker Toolbox for Mac Version 17.06.0-ce. Download: https://github.com/docker/toolbox/releases/tag/v17.06.0-ce
- Get the .pkg file for Macbook
- Be careful: Docker Toolbox always downloads the current Docker version from Internet, so you won't get the version you need / want to install! Simple solution: turn off you WiFi so you can't reach Internet. After that Docker Toolbox will just use the correct local version as you downloaded it.
After the installation of Docker Toolbox for Mac can run Docker Terminal from Toolbox. Try "docker version" and you get something like this:
Be sure that you have the correct Docker version, which is supported by Rancher 1.6. and both client and server version should be identical. After this you can follow the installation steps from Rancher site. Last tip: if it's not working with "sudo docker ..." just use "docker ...".
Enjoy,
Lofi
Lofi
Comments