comparison Sphinx/source/users/docker.rst @ 392:0fb9369e893e

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