Docker images are not like Java ByteCode

In general Docker nicely solves the problem „it works on my machine”. However, there is one caveat – your building and running platform must be same. By the same I mean if processors are architecturally the same (you can read more about it here).

Solutions

1. You take care of your build and run environments – they must be same.

2. You can use so-called Multi-platform builds. The idea is that you build images for each platform needed. See this for more.

Pozostaw komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *