MongoDB: The standard images come with arm64 support, no changes required.MySQL: Starting with version 8, the oracle version provides an arm64 build.LocalStack: Starting with version 0.13, LocalStack publishes multi-architecture Docker images.There are also community multi-architecture builds ( richardjkendall or mihaibob) available Keycloak: arm64 build for the jboss variant starting with v ersion 17.0.1.Webdriver images: Standalone arm64 support comes with seleniarm images.PostgreSQL: The standard images come with arm64 support, no changes required.For the most commonly used Docker images, these are potential alternatives: If the image itself doesn't provide arm64 support, we can look for an alternative. When running our test suite for the first time on an Apple M1, we have to identify the Docker containers that fail to start. # J 546 c2 (Ljava/lang/String )Ljava/lang/AbstractStringBuilder If we try to run this Docker image on our arm64 Apple M1 machine, we get the following warning: It only comes with support for 圆4 machines. The example above is a screenshot of the official Keycloak Docker image. We can identify the available platforms by looking at the OS/Arch column on Docker Hub for a particular Docker image: When it comes to running our integration tests that use Testcontainers, the first thing we stumble over with our M1 machine are potential test failures because of missing arm64 platform support.ĭocker images are built for specific processor architectures. Integration Tests with Docker and Testcontainers To further verify the compatibility and optimization for various other tools for Apple's M1, checkout out isapplesiliconready. Only try to get the 圆4 build running if there's no arm64 build available (yet). Rule one: Whenever there's a native arm64 build of any development tool for the M1, go for it. But having worked with it for almost a year now, many have been continuously fixed.Īll other development tools that we use on a daily basis either provide an arm64 build or the emulated 圆4 version works fine: IntelliJ IDEA, Visual Studio Code, Eclipse, Slack, Notion, Docker for Mac, Spotify, Firefox, Microsoft Teams, Postman. In the early days, there were some minor issues. Installing a recent Docker for Mac version comes with Apple M1 support. However, we may run into issues and/or won't get the expected performance. With Apple's Rosetta 2 emulation, we can also try to work with an 圆4 JDK build. For managing different Java versions, sdkman or jEnv is an excellent option.įor those lucky developers that have the chance to work and experiment with the GraalVM, the support for Apple M1 has also landed. The brew formula for openjdk is also installing a compatible Apple M1 JDK build.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |