Docker El Capitan

For Macs running OS X El Capitan 10.11 and newer macOS releases, Docker Desktop for Mac is the better solution. For Windows 10 systems that support Microsoft Hyper-V (Professional, Enterprise and Education), Docker Desktop for Windows is the better solution. Union file system: Union file systems implement a union mount and operate by creating. 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. The simplest, if you have any Mac, is to use the standard option which installs Datashare without Docker. Make sure you install Homebrew before by following these steps. If you have OS X El Capitan 10.11 or a more recent version: you can use the version which installs Datashare with Docker; it is a more powerful version. Having upgraded to El Capitan a while back I recently ran into a problem with docker-compose from docker-toolbox 1.10.0: The workaround quoted in that issue pointed using pip to install compose.

The only installation you are recommended to do is to install Anaconda3.5, so that you have a backup when the OIT version is flaky. The otherkernels and the Docker version are not required and you should onlydo so if you are comforatble with command line installs. Even theAnaconda 3.5 installation is optional if the OIT version works well foryou.

Note: I have only done this on OSX 10.11.2 (El Capitan) with XCode andcommand line compilers installed.

To install Anaconda for Python 3.5¶

Download and install Anaconda Python 3.5 fromhttps://www.continuum.io/downloads

Open a terminal

(OPTIONAL) To install Python 2.7 as well¶

Open a terminal

(OPTIONAL) To install R¶

  • If you want conda to manage your R packages
  • If you have an existing R installation that you want to use

Start R

(OPTIONAL) To install Julia¶

Download and install Julia from http://julialang.org/downloads/

Start Julia

Docker Desktop For Mac El Capitan

(OPTIONAL) To install pyspark

Open a terminal

Check¶

Open terminal

See if the installed kernels are found in the drop-down menu.

(OPTIONAL) Installing Spark via Docker¶

  • Install Docker (https://docs.docker.com/engine/installation/)
  • Launch the Docker Quickstart Terminal

Be patient - this can take a while the first time you do it

When done, it shouuld show something like this

Note the IP address given - you will need this to access thenotebook.

In the Docker terminal

For how to connect to a Spark cluster, see officialinstructions

Install Docker El Capitan

Testing the Docker installation¶

Check by typing in the Docker terminal

Be patient - this can take a while the first time you do it.

It shoudl show something like

Note the machine name (mine is big_kilby, yours will likely bedifferent).

Open your browser at the following URL http://192.168.99.100:8888 (Usethe IP given above)

This should bring you to a Jupyter notebook. Open a Python3 notebookfrom the drop dwon menu and test:

If successful, you should get a list of 5 integers after a short delay.

Save and exit the notebook.

Cleap up in the Docker terminal

Use the machine name foudnd with dockerps in place ofbig_kilby.

Capitan

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

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 Desktop El Capitan

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

Otherwise:

Docker Mac Os El Capitan

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