mik-laj commented on a change in pull request #15967:
URL: https://github.com/apache/airflow/pull/15967#discussion_r635968269



##########
File path: docs/apache-airflow/start/docker.rst
##########
@@ -79,6 +79,20 @@ On **Linux**, the mounted volumes in container use the 
native Linux filesystem u
 
 See:ref:`Docker Compose environment variables <docker-compose-env-variables>`
 
+
+.. warning::
+    Default amount of memory available for Docker on ``MacOS`` is often not 
enough to get Airflow up and running.
+    If you have not enough memory available it might lead to airflow webserver 
continuously restarting.
+    You should have at least 4GB memory allocated for the Docker Engine 
(ideally 8GB). You can check
+    and change the amount of memory in `Resources 
<https://docs.docker.com/docker-for-mac/#resources>`_
+
+    You can alsocheck if you have enough memory by running this command:
+
+    .. code-block:: bash
+
+        docker run --rm --entrypoint /bin/bash "debian:buster-slim" -c 'numfmt 
--to iec $(echo $(($(getconf _PHYS_PAGES) * $(getconf PAGE_SIZE))))'

Review comment:
       ```suggestion
           docker run --rm "debian:buster-slim" bash -c 'numfmt --to iec $(echo 
$(($(getconf _PHYS_PAGES) * $(getconf PAGE_SIZE))))'
   ```
   A little easier.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to