DEV Community

jhohny
jhohny

Posted on

Docker for silicon M1/M2/M3 Chips

Installing Desktop App for Silicon Ships
Docker Desktop

  1. Open the Desktop App settings.

  2. Navigate to the "Features in development" section.

  3. Enable "Use Rosetta for x86/amd64 emulation on Apple Silicon."

Docker Commands:

When using docker-compose build, ensure you specify the platform to avoid Docker building the image based on the local system platform. Use the following command:

DOCKER_DEFAULT_PLATFORM=linux/amd64 docker-compose build
Enter fullscreen mode Exit fullscreen mode

Top comments (0)