- IPv6 is not yet supported on Docker Desktop.
The Mac Activity Monitor reports that Docker is using twice the amount of memory it's actually using. This is due to a bug in MacOS. We have written a detailed reportopen_in_new on this.
You might encounter errors when using
docker-compose upwith Docker Desktop (
ValueError: Extra Data). We've identified this is likely related to data and/or events being passed all at once rather than one by one, so sometimes the data comes back as 2+ objects concatenated and causes an error.
Docker.appfrom it can cause the whale icon to become unresponsive, Docker tasks to show as not responding in the Activity Monitor, and for some processes to consume a large amount of CPU resources. Reboot and restart Docker to resolve these issues.
Docker doesn't auto-start after sign in even when it's enabled in Settings. This is related to a set of issues with Docker helper, registration, and versioning.
Docker Desktop uses the
HyperKithypervisor ( https://github.com/docker/hyperkitopen_in_new) in macOS 10.10 Yosemite and higher. If you are developing with tools that have conflicts with
HyperKit, such as Intel Hardware Accelerated Execution Manager (HAXM)open_in_new, the current workaround is not to run them at the same time. You can pause
HyperKitby quitting Docker Desktop temporarily while you work with HAXM. This allows you to continue work with the other tools and prevent
If you are working with applications like Apache Mavenopen_in_new that expect settings for
DOCKER_CERT_PATHenvironment variables, specify these to connect to Docker instances through Unix sockets. For example:
$ export DOCKER_HOST=unix:///var/run/docker.sock
There are a number of issues with the performance of directories bind-mounted into containers. In particular, writes of small blocks, and traversals of large directories are currently slow. Additionally, containers that perform large numbers of directory operations, such as repeated scans of large directory trees, may suffer from poor performance. Applications that behave in this way include:
- Zend Framework
- PHP applications that use
Composeropen_in_new to install
dependencies in a
As a workaround for this behavior, you can put vendor or third-party library directories in Docker volumes, perform temporary file system operations outside of bind mounts, and use third-party tools like Unison or
rsyncto synchronize between container directories and bind-mounted directories. We are actively working on performance improvements using a number of different techniques. To learn more, see the topic on our roadmapopen_in_new.
On Apple silicon in native
arm64containers, older versions of
centos:8will segfault when connected to some TLS servers, for example,
curl https://dl.yarnpkg.com. The bug is fixed in newer versions of
Some command line tools do not work when Rosetta 2 is not installed.
- The old version 1.x of
docker-compose. Use Compose V2 instead. Either type
docker composeor enable the Use Docker Compose V2 option in the General preferences tab.
- The old version 1.x of
Some images do not support the ARM64 architecture. You can add
--platform linux/amd64to run (or build) an Intel image using emulation.
However, attempts to run Intel-based containers on Apple silicon machines under emulation can crash as qemu sometimes fails to run the container. In addition, filesystem change notification APIs (
inotify) do not work under qemu emulation. Even when the containers do run correctly under emulation, they will be slower and use more memory than the native equivalent.
In summary, running Intel-based containers on Arm-based machines should be regarded as "best effort" only. We recommend running arm64 containers on Apple silicon machines whenever possible, and encouraging container authors to produce arm64, or multi-arch, versions of their containers. This issue should become less common over time, as more and more images are rebuilt supporting multiple architecturesopen_in_new.
pingfrom inside a container to the Internet does not work as expected. To test the network, use
wget. See docker/for-mac#5322open_in_new.
Users may occasionally experience data drop when a TCP stream is half-closed.