comparison Sphinx/source/users/docker.rst @ 618:cfeb018b9150 Orthanc-1.9.1

Orthanc 1.9.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 25 Feb 2021 19:06:06 +0100
parents eaa6cdfa7ba6
children 0e9f934fff44
comparison
equal deleted inserted replaced
617:324ca8f236b8 618:cfeb018b9150
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.0 76 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc:1.9.1
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.0 98 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins:1.9.1
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.0 106 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python:1.9.1
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.0 158 image: jodogne/orthanc-plugins:1.9.1
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:
192 deleted once the container stops). You can make the Orthanc database 192 deleted once the container stops). You can make the Orthanc database
193 persistent by mapping the ``/var/lib/orthanc/db`` folder of the 193 persistent by mapping the ``/var/lib/orthanc/db`` folder of the
194 container to some path in the filesystem of your Linux host, e.g.:: 194 container to some path in the filesystem of your Linux host, e.g.::
195 195
196 $ mkdir /tmp/orthanc-db 196 $ mkdir /tmp/orthanc-db
197 $ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc-db/:/var/lib/orthanc/db/ jodogne/orthanc:1.9.0 197 $ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc-db/:/var/lib/orthanc/db/ jodogne/orthanc:1.9.1
198 198
199 199
200 Whole-slide imaging support 200 Whole-slide imaging support
201 --------------------------- 201 ---------------------------
202 202
313 * The Orthanc source code can be found in folder ``/root/orthanc``. 313 * The Orthanc source code can be found in folder ``/root/orthanc``.
314 314
315 * The build artifacts can be found in folder ``/root/orthanc/Build``. 315 * The build artifacts can be found in folder ``/root/orthanc/Build``.
316 316
317 * This command launches the mainline version. To start a released version, 317 * This command launches the mainline version. To start a released version,
318 use e.g. ``jodogne/orthanc-debug:1.9.0``. 318 use e.g. ``jodogne/orthanc-debug:1.9.1``.