From 2e39af0a86d82edc124b899bba806785467f5e35 Mon Sep 17 00:00:00 2001 From: David Scott Date: Tue, 23 Mar 2021 11:17:42 +0000 Subject: [PATCH] Apple Silicon: inotify APIs don't work under qemu Signed-off-by: David Scott --- docker-for-mac/apple-m1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-for-mac/apple-m1.md b/docker-for-mac/apple-m1.md index 8300254ad4..20874f8e03 100644 --- a/docker-for-mac/apple-m1.md +++ b/docker-for-mac/apple-m1.md @@ -33,7 +33,7 @@ The following issues are not expected to be resolved in the final GA build for A - Not all images are available for ARM64 architecture. You can add `--platform linux/amd64` to run an Intel image under emulation. In particular, the [mysql](https://hub.docker.com/_/mysql?tab=tags&page=1&ordering=last_updated) image is not available for ARM64. You can work around this issue by using a [mariadb](https://hub.docker.com/_/mariadb?tab=tags&page=1&ordering=last_updated) image. - However, attempts to run Intel-based containers on Apple Silicon machines can crash as QEMU sometimes fails to run the container. Therefore, we recommend that you run ARM64 containers on Apple Silicon machines. These containers are also faster and use less memory than Intel-based containers. + However, attempts to run Intel-based containers on Apple Silicon machines can crash as QEMU sometimes fails to run the container. Filesystem change notification APIs (e.g. `inotify`) do not work under QEMU emulation, see [docker/for-mac#5321](https://github.com/docker/for-mac/issues/5321). Therefore, we recommend that you run ARM64 containers on Apple Silicon machines. These containers are also faster and use less memory than Intel-based containers. We expect this issue to become less common over time, as more and more images are rebuilt [supporting multiple architectures](https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/).