jueves, 27 de agosto de 2015

OS X - Illegal instruction: 4 - Docker Compose



Hi!

The new age has arrived! I am posting in english and I've moved to the Mac world

Well.. The thing is that I have an old (and super cool) Macbook pro, I was playing with docker:

docker-compose build

And a wild pokemon error appeared:

Illegal instruction: 4

So after searching a while I found that it could be because of some issue related to my old Mac, docker-compose, fig and pip. What? So lets update all this shit :)

brew install python

When installing python with Homebrew, it will also install pip

If you have some issue with your PATH (maybe you don't have /usr/local/bin in PATH) pip is in /usr/local/bin/pip anyway

I've read something about installing directly with:sudo easy_install pip
so you wouldn't have any PATH issue, but it worked like a charm for me with brew.
Finally:
pip install docker-compose

That's it! Docker compose working here

No hay comentarios:

Publicar un comentario