Mercurial > hg > orthanc-book
comparison Sphinx/source/users/docker.rst.BAK @ 1008:23a54088d604
Docker image jodogne/orthanc-debug is not maintained anymore
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 03 Jan 2024 17:56:00 +0100 |
parents | |
children | a3436ae3709c |
comparison
equal
deleted
inserted
replaced
1007:7fbd7a6a1d56 | 1008:23a54088d604 |
---|---|
1 | |
2 For developers and power users, the images ``jodogne/orthanc-debug`` | |
3 contain the Orthanc core compiled in debug mode (i.e. with runtime | |
4 assertions enabled, and including debugging symbols). A ``gdb`` | |
5 command-line session can be started as follows:: | |
6 | |
7 $ docker run -i -t --rm --entrypoint=bash --network=host --cap-add=SYS_PTRACE -p 4242:4242 -p 8042:8042 jodogne/orthanc-debug | |
8 # gdb --args Orthanc /etc/orthanc/ --verbose | |
9 | |
10 Exceptions can be automatically caught by launching ``gdb`` as follows:: | |
11 | |
12 # gdb --ex 'catch t' --ex r --ex bt --args ./Orthanc /etc/orthanc/ --verbose | |
13 | |
14 Note that: | |
15 | |
16 * The plugins are not available in this image yet. | |
17 | |
18 * The Orthanc source code can be found in folder ``/root/orthanc``. | |
19 | |
20 * The build artifacts can be found in folder ``/root/orthanc/Build``. | |
21 | |
22 * This command launches the mainline version. To start a released version, | |
23 use e.g. ``jodogne/orthanc-debug:1.12.2``. |