comparison Sphinx/source/users/docker.rst @ 678:17c1ff4e6ae4 Orthanc-1.9.3

Orthanc 1.9.3
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 May 2021 12:25:36 +0200
parents 767c2550fa00
children 8a247c645ac6
comparison
equal deleted inserted replaced
677:25e44dba9dba 678:17c1ff4e6ae4
71 $ docker pull jodogne/orthanc 71 $ docker pull jodogne/orthanc
72 72
73 If more stability is required, you can select the official release of 73 If more stability is required, you can select the official release of
74 Orthanc to be run:: 74 Orthanc to be run::
75 75
76 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc:1.9.2 76 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc:1.9.3
77 77
78 Passing additional command-line options (e.g. to make Orthanc verbose) 78 Passing additional command-line options (e.g. to make Orthanc verbose)
79 can be done as follows (note the ``/etc/orthanc`` option that is 79 can be done as follows (note the ``/etc/orthanc`` option that is
80 required for Orthanc to find its configuration files):: 80 required for Orthanc to find its configuration files)::
81 81
93 93
94 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins 94 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins
95 95
96 Or you can also start a specific version of Orthanc for more stability:: 96 Or you can also start a specific version of Orthanc for more stability::
97 97
98 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins:1.9.2 98 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins:1.9.3
99 99
100 If you have an interest in the :ref:`Python plugin <python-plugin>`, 100 If you have an interest in the :ref:`Python plugin <python-plugin>`,
101 you can use the ``orthanc-python`` image. The latter image is a 101 you can use the ``orthanc-python`` image. The latter image is a
102 heavier version of the ``orthanc-plugins`` image, as it embeds the 102 heavier version of the ``orthanc-plugins`` image, as it embeds the
103 Python 3.7 interpreter. Here is how to start this image:: 103 Python 3.7 interpreter. Here is how to start this image::
104 104
105 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python 105 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python
106 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python:1.9.2 106 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python:1.9.3
107 107
108 108
109 Fine-tuning the configuration 109 Fine-tuning the configuration
110 ----------------------------- 110 -----------------------------
111 111
153 the `YAML file format <https://en.wikipedia.org/wiki/YAML>`__):: 153 the `YAML file format <https://en.wikipedia.org/wiki/YAML>`__)::
154 154
155 version: '3.1' # Secrets are only available since this version of Docker Compose 155 version: '3.1' # Secrets are only available since this version of Docker Compose
156 services: 156 services:
157 orthanc: 157 orthanc:
158 image: jodogne/orthanc-plugins:1.9.2 158 image: jodogne/orthanc-plugins:1.9.3
159 command: /run/secrets/ # Path to the configuration files (stored as secrets) 159 command: /run/secrets/ # Path to the configuration files (stored as secrets)
160 ports: 160 ports:
161 - 4242:4242 161 - 4242:4242
162 - 8042:8042 162 - 8042:8042
163 secrets: 163 secrets:
202 deleted once the container stops). You can make the Orthanc database 202 deleted once the container stops). You can make the Orthanc database
203 persistent by mapping the ``/var/lib/orthanc/db`` folder of the 203 persistent by mapping the ``/var/lib/orthanc/db`` folder of the
204 container to some path in the filesystem of your Linux host, e.g.:: 204 container to some path in the filesystem of your Linux host, e.g.::
205 205
206 $ mkdir /tmp/orthanc-db 206 $ mkdir /tmp/orthanc-db
207 $ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc-db/:/var/lib/orthanc/db/ jodogne/orthanc:1.9.2 207 $ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc-db/:/var/lib/orthanc/db/ jodogne/orthanc:1.9.3
208 208
209 209
210 Whole-slide imaging support 210 Whole-slide imaging support
211 --------------------------- 211 ---------------------------
212 212
323 * The Orthanc source code can be found in folder ``/root/orthanc``. 323 * The Orthanc source code can be found in folder ``/root/orthanc``.
324 324
325 * The build artifacts can be found in folder ``/root/orthanc/Build``. 325 * The build artifacts can be found in folder ``/root/orthanc/Build``.
326 326
327 * This command launches the mainline version. To start a released version, 327 * This command launches the mainline version. To start a released version,
328 use e.g. ``jodogne/orthanc-debug:1.9.2``. 328 use e.g. ``jodogne/orthanc-debug:1.9.3``.