comparison Sphinx/source/users/docker.rst @ 461:a10f0e5be459

Orthanc 1.7.2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 08 Jul 2020 16:34:29 +0200
parents c2ae93c562d2
children 4f076a3b9934
comparison
equal deleted inserted replaced
460:b2e237331fcc 461:a10f0e5be459
65 $ docker pull jodogne/orthanc 65 $ docker pull jodogne/orthanc
66 66
67 If more stability is required, you can select the official release of 67 If more stability is required, you can select the official release of
68 Orthanc to be run:: 68 Orthanc to be run::
69 69
70 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc:1.7.1 70 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc:1.7.2
71 71
72 Passing additional command-line options (e.g. to make Orthanc verbose) 72 Passing additional command-line options (e.g. to make Orthanc verbose)
73 can be done as follows (note the ``/etc/orthanc`` option that is 73 can be done as follows (note the ``/etc/orthanc`` option that is
74 required for Orthanc to find its configuration files):: 74 required for Orthanc to find its configuration files)::
75 75
87 87
88 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins 88 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins
89 89
90 Or you can also start a specific version of Orthanc for more stability:: 90 Or you can also start a specific version of Orthanc for more stability::
91 91
92 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins:1.7.1 92 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins:1.7.2
93 93
94 If you have an interest in the :ref:`Python plugin <python-plugin>`, 94 If you have an interest in the :ref:`Python plugin <python-plugin>`,
95 you can use the ``orthanc-python`` image. The latter image is a 95 you can use the ``orthanc-python`` image. The latter image is a
96 heavier version of the ``orthanc-plugins`` image, as it embeds the 96 heavier version of the ``orthanc-plugins`` image, as it embeds the
97 Python 3.7 interpreter. Here is how to start this image:: 97 Python 3.7 interpreter. Here is how to start this image::
98 98
99 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python 99 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python
100 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python:1.7.1 100 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python:1.7.2
101 101
102 102
103 Fine-tuning the configuration 103 Fine-tuning the configuration
104 ----------------------------- 104 -----------------------------
105 105
147 the `YAML file format <https://en.wikipedia.org/wiki/YAML>`__):: 147 the `YAML file format <https://en.wikipedia.org/wiki/YAML>`__)::
148 148
149 version: '3.1' # Secrets are only available since this version of Docker Compose 149 version: '3.1' # Secrets are only available since this version of Docker Compose
150 services: 150 services:
151 orthanc: 151 orthanc:
152 image: jodogne/orthanc-plugins:1.7.1 152 image: jodogne/orthanc-plugins:1.7.2
153 command: /run/secrets/ # Path to the configuration files (stored as secrets) 153 command: /run/secrets/ # Path to the configuration files (stored as secrets)
154 ports: 154 ports:
155 - 4242:4242 155 - 4242:4242
156 - 8042:8042 156 - 8042:8042
157 secrets: 157 secrets:
186 deleted once the container stops). You can make the Orthanc database 186 deleted once the container stops). You can make the Orthanc database
187 persistent by mapping the ``/var/lib/orthanc/db`` folder of the 187 persistent by mapping the ``/var/lib/orthanc/db`` folder of the
188 container to some path in the filesystem of your Linux host, e.g.:: 188 container to some path in the filesystem of your Linux host, e.g.::
189 189
190 $ mkdir /tmp/orthanc-db 190 $ mkdir /tmp/orthanc-db
191 $ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc-db/:/var/lib/orthanc/db/ jodogne/orthanc:1.7.1 191 $ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc-db/:/var/lib/orthanc/db/ jodogne/orthanc:1.7.2
192 192
193 193
194 Whole-slide imaging support 194 Whole-slide imaging support
195 --------------------------- 195 ---------------------------
196 196
307 * The Orthanc source code can be found in folder ``/root/orthanc``. 307 * The Orthanc source code can be found in folder ``/root/orthanc``.
308 308
309 * The build artifacts can be found in folder ``/root/orthanc/Build``. 309 * The build artifacts can be found in folder ``/root/orthanc/Build``.
310 310
311 * This command launches the mainline version. To start a released version, 311 * This command launches the mainline version. To start a released version,
312 use e.g. ``jodogne/orthanc-debug:1.7.1``. 312 use e.g. ``jodogne/orthanc-debug:1.7.2``.