Search code examples
armraspberry-pidocker

Platform-dependent Docker images - how to?


I have installed Docker on a Raspberry Pi, but usually I am working on OS X on a MacBook Pro. So since the first is ARM-based, while the latter is X86-based, I have a problem when it comes to Docker images: They are not compatible.

Is there a way to build a Docker image using a Dockerfile on OS X that is meant to run on the ARM platform?


Solution

  • No, it is not possible. However, you can prepare your Dockerfile on OSX and once you are happy with it, you can build it on your ARM machine.

    The trusted build from index.docker.io might support this feature in the future.