Mercurial > hg > orthanc-book
comparison Sphinx/source/users/docker.rst @ 825:e95713f90614 Orthanc-1.10.1
Orthanc 1.10.1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Mar 2022 18:04:53 +0100 |
parents | 01fa632daae9 |
children | c29ac12e3160 |
comparison
equal
deleted
inserted
replaced
824:c568ec32c1eb | 825:e95713f90614 |
---|---|
73 $ docker pull jodogne/orthanc | 73 $ docker pull jodogne/orthanc |
74 | 74 |
75 If more stability is required, you can select the official release of | 75 If more stability is required, you can select the official release of |
76 Orthanc to be run:: | 76 Orthanc to be run:: |
77 | 77 |
78 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc:1.10.0 | 78 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc:1.10.1 |
79 | 79 |
80 Passing additional command-line options (e.g. to make Orthanc verbose) | 80 Passing additional command-line options (e.g. to make Orthanc verbose) |
81 can be done as follows (note the ``/etc/orthanc`` option that is | 81 can be done as follows (note the ``/etc/orthanc`` option that is |
82 required for Orthanc to find its configuration files):: | 82 required for Orthanc to find its configuration files):: |
83 | 83 |
95 | 95 |
96 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins | 96 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins |
97 | 97 |
98 Or you can also start a specific version of Orthanc for more stability:: | 98 Or you can also start a specific version of Orthanc for more stability:: |
99 | 99 |
100 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins:1.10.0 | 100 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins:1.10.1 |
101 | 101 |
102 If you have an interest in the :ref:`Python plugin <python-plugin>`, | 102 If you have an interest in the :ref:`Python plugin <python-plugin>`, |
103 you can use the ``orthanc-python`` image. The latter image is a | 103 you can use the ``orthanc-python`` image. The latter image is a |
104 heavier version of the ``orthanc-plugins`` image, as it embeds the | 104 heavier version of the ``orthanc-plugins`` image, as it embeds the |
105 Python 3.7 interpreter. Here is how to start this image:: | 105 Python 3.7 interpreter. Here is how to start this image:: |
106 | 106 |
107 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python | 107 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python |
108 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python:1.10.0 | 108 $ docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-python:1.10.1 |
109 | 109 |
110 | 110 |
111 Fine-tuning the configuration | 111 Fine-tuning the configuration |
112 ----------------------------- | 112 ----------------------------- |
113 | 113 |
155 the `YAML file format <https://en.wikipedia.org/wiki/YAML>`__):: | 155 the `YAML file format <https://en.wikipedia.org/wiki/YAML>`__):: |
156 | 156 |
157 version: '3.1' # Secrets are only available since this version of Docker Compose | 157 version: '3.1' # Secrets are only available since this version of Docker Compose |
158 services: | 158 services: |
159 orthanc: | 159 orthanc: |
160 image: jodogne/orthanc-plugins:1.10.0 | 160 image: jodogne/orthanc-plugins:1.10.1 |
161 command: /run/secrets/ # Path to the configuration files (stored as secrets) | 161 command: /run/secrets/ # Path to the configuration files (stored as secrets) |
162 ports: | 162 ports: |
163 - 4242:4242 | 163 - 4242:4242 |
164 - 8042:8042 | 164 - 8042:8042 |
165 secrets: | 165 secrets: |
204 deleted once the container stops). You can make the Orthanc database | 204 deleted once the container stops). You can make the Orthanc database |
205 persistent by mapping the ``/var/lib/orthanc/db`` folder of the | 205 persistent by mapping the ``/var/lib/orthanc/db`` folder of the |
206 container to some path in the filesystem of your Linux host, e.g.:: | 206 container to some path in the filesystem of your Linux host, e.g.:: |
207 | 207 |
208 $ mkdir /tmp/orthanc-db | 208 $ mkdir /tmp/orthanc-db |
209 $ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc-db/:/var/lib/orthanc/db/ jodogne/orthanc:1.10.0 | 209 $ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc-db/:/var/lib/orthanc/db/ jodogne/orthanc:1.10.1 |
210 | 210 |
211 | 211 |
212 Whole-slide imaging support | 212 Whole-slide imaging support |
213 --------------------------- | 213 --------------------------- |
214 | 214 |
325 * The Orthanc source code can be found in folder ``/root/orthanc``. | 325 * The Orthanc source code can be found in folder ``/root/orthanc``. |
326 | 326 |
327 * The build artifacts can be found in folder ``/root/orthanc/Build``. | 327 * The build artifacts can be found in folder ``/root/orthanc/Build``. |
328 | 328 |
329 * This command launches the mainline version. To start a released version, | 329 * This command launches the mainline version. To start a released version, |
330 use e.g. ``jodogne/orthanc-debug:1.10.0``. | 330 use e.g. ``jodogne/orthanc-debug:1.10.1``. |