The story for Docker on Mac has advanced a lot in recent years, and it is now a real, usable development solution for your Mac workstation. Docker CE for Mac requires OS X El Capitan 10.11 or newer macOS releases. The Docker CE app integrates with the hypervisor, network, and filesystem built into OS X. Docker on El Capitan. Apr 1, 02:35 PM. Categories WebDev. Docker is a tool that makes containers: local environments in which you can run certain versions of software (I haven’t explained this very well). This means that you can, for example, set up a local webserver with the specific versions of PHP, Apache and MySQL.
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: Format undangan pernikahan doc.
.. |
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 |
.. |
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:
My ‘pip install docker-compose’ command now works like a charm.
Docker El Capitan Update
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 |
.. |
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 Free
Otherwise:
Docker El Capitan Software
My ‘pip install docker-compose’ command now works like a charm.