Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 953
Golo Roden Avatar asked Feb 27 '14 20:02

Golo Roden


1 Answers

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.

like image 114
creack Avatar answered Oct 19 '22 20:10

creack