rosetta error: mmap_anonymous_rw mmap failed, size=1000

I am trying to run docker and I am seeing following error:


limiting address space of processes...

your process address space limit is 1073741824 bytes (1024 MB)

your memory page size is 4096 bytes

detected max file descriptor number: 1048576

lock engine: pthread robust mutexes

unable to allocate 40 bytes (0MB)

rosetta error: mmap_anonymous_rw mmap failed, size=1000

exited with code 133



I am using MAC OS 14.1.1.

Posted on Nov 21, 2023 8:00 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 22, 2023 5:57 AM

I had this exact error, my containers are native ARM, but I had an amd64 app running through Rosetta. There is a setting to enable the use of Rosetta for x86/amd64 in Docker Desktop, which seems to be set by default. Clearing that allowed me to run my containers again.

Similar questions

2 replies

Nov 21, 2023 8:35 AM in response to Fast211

You’re here running both Docker, and running some macOS app intended for Intel on a Mac with Apple silicon running macOS 14.1.1.


Contact the folks supporting this app, then this particular container, and failing that then the folks supporting Docker.


Or find and run a native version of the app directly, and work then backwards to determine what within the app, within Rosetta, or within Docker is causing the issue.


As an unsubstantiated and utterly wild guess, I’d first guess that the address space for the container is configured too small. (But this community isn’t the best spot for Docker container issues with unspecified apps.)


Congrats, too, as this is seemingly also the first report of this particular Rosetta error on the whole of the ‘net. That doesn’t happen all that often.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

rosetta error: mmap_anonymous_rw mmap failed, size=1000

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.