comparison Sphinx/source/users/docker.rst @ 384:e4b0a4d69f42

note about memory usage
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 16 Apr 2020 12:13:49 +0200
parents 64b32cb19571
children 801db4e1828c
comparison
equal deleted inserted replaced
382:64b32cb19571 384:e4b0a4d69f42
115 Then, edit the just-generated file ``/tmp/orthanc.json`` and restart 115 Then, edit the just-generated file ``/tmp/orthanc.json`` and restart
116 Orthanc with your updated configuration:: 116 Orthanc with your updated configuration::
117 117
118 $ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc.json:/etc/orthanc/orthanc.json:ro jodogne/orthanc 118 $ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc.json:/etc/orthanc/orthanc.json:ro jodogne/orthanc
119 119
120 *Remark:* These Docker images automatically set the environment
121 variable ``MALLOC_ARENA_MAX`` to ``5`` in order to :ref:`control
122 memory usage <scalability-memory>`. This default setting can be
123 overriden by providing the option ``-e MALLOC_ARENA_MAX=1`` when
124 invoking ``docker run``.
125
120 126
121 .. _docker-compose: 127 .. _docker-compose:
122 128
123 Configuration management using Docker Compose 129 Configuration management using Docker Compose
124 --------------------------------------------- 130 ---------------------------------------------