Skip to content

Commit eeb1681

Browse files
authored
(DOCSP-46401) Adds install workaround for m4 chips. (#809) (#816)
* (DOCSP-46401) Adds install workaround for m4 chips. * Revises per tech review. (cherry picked from commit 75321bf)
1 parent 9348a0c commit eeb1681

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

source/atlas-cli-deploy-docker.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Create a Local |service| Deployment with Docker
4141
docker pull mongodb/mongodb-atlas-local:latest
4242

4343
.. step:: Run the Docker image.
44-
44+
4545
**Example:**
4646

4747
.. tabs::
@@ -53,13 +53,17 @@ Create a Local |service| Deployment with Docker
5353

5454
docker run -p 27017:27017 mongodb/mongodb-atlas-local
5555

56+
.. include:: /includes/fact-installation-workaround-m4chips.rst
57+
5658
.. tab:: Manually Connect with Auth
5759
:tabid: with-auth
5860

5961
.. code-block:: sh
6062

6163
docker run -e MONGODB_INITDB_ROOT_USERNAME=user -e MONGODB_INITDB_ROOT_PASSWORD=pass -p 27017:27017 mongodb/mongodb-atlas-local
6264

65+
.. include:: /includes/fact-installation-workaround-m4chips.rst
66+
6367
.. tab:: Automate Connection
6468
:tabid: automate-connection
6569

source/atlas-cli-deploy-local.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ Create a Local Atlas Deployment
9191
Use the ``atlas deployments`` command to create a local |service|
9292
deployment.
9393

94+
.. important::
95+
96+
If your local machine runs MacOS Sequoia 15.2 with the Apple Silicon M4 chip, follow the procedure for
97+
:ref:`creating a local Atlas deployment with Docker <atlas-cli-deploy-docker>`
98+
instead of this procedure to avoid the error: ``container configuration failed``.
99+
94100
You can run this command in the following ways:
95101

96102
- **Interactive Mode (Default)**: the command prompts you for the
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. important::
2+
3+
If your local machine runs MacOS Sequoia 15.2 with the Apple Silicon M4 chip, add the following
4+
:abbr:`JVM (Java Virtual Machine)` parameter to the ``docker run`` command
5+
to prevent your container from crashing upon startup. For example:
6+
7+
.. code-block:: sh
8+
9+
docker run -e JAVA_TOOL_OPTIONS="-XX:UseSVE=0" -p 27017:27017 mongodb/mongodb-atlas-local

0 commit comments

Comments
 (0)