Docker El Capitan

All right, everything is ready, so you can now install Docker with: apt-get install docker-ce docker-ce-cli containerd.io Then, to verify that Docker was installed correctly, you can run the command: docker run hello-world The last thing that you want to do before installing Hass.io is to make sure that Docker starts when the server boots. I have a platform with a PPC32 CPU linked to an FPGA via a local-bus. On that CPU, I need to run a bit of software as an interface for the rest of our systems to the FPGA, and a Docker container would be ideal. There will be several PPC32's, each with their own FPGA's.

Having upgraded to El Capitan a while back I recently ran into a problem with docker-compose from docker-toolbox 1.10.0:

  • Sep 19, 2016 — Serato DJ also had some hiccups with El Capitan – most of which were resolved. The main warning is for legacy Serato Scratch Live users. Nov 20, 2015 — Apple's latest version of OS X, El Capitan, has now been out for nearly two months. Drivers Serato DJ is not yet compatible when used with OS X El Capitan and the DJM.
  • Installing Docker on Mac is pretty straightforward. It has a Graphical installer.dmg file. The installation provides Docker Engine, Docker CLI client, Docker Compose, Docker Machine, and Kitematic. Pre-requisites for installing Docker on Mac. Docker requires OS X El Capitan 10.11 or newer macOS release running on a 2010 or newer Mac.
  • Install Docker on El Capitan. GitHub Gist: instantly share code, notes, and snippets.

The workaround quoted in that issue pointed using pip to install compose and unfortunately it was at this point at which I discovered that my python install had been affected by the upgrade to OSX 10.11. It’s recommended to use the homebrew install of python as opposed to the native OSX install but on running ‘brew install python’ I was met with the following error:

...
checking whether the C compiler works... no
configure: error: in`/private/tmp/python20160209-13211-1p5rdjv/Python-2.7.11':
configure: error: C compiler cannot create executables
See `config.log'for more details
...
Docker

After some digging I discovered that all that was needed was an upgrade of XCode to version 7. While this does make sense considering OSXs compilers are managed by XCode it wasn’t eluded to in the stacktrace and the homebrew stacktrace seemed to be flagging a wider compatibility issue with OSX 10.11 itself as the root cause, which would be far more worrying. Once I’d done this through the app store I was then able to fix my python build.

If you don’t already have the excellent homebrew package manager run this:

ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'
brew update

Docker El Capitan Download

Docker El Capitan

Install Docker El Capitan

Otherwise:

Docker El Capitan Update

My ‘pip install docker-compose’ command now works like a charm.