Mercurial > hg > orthanc-book
view Sphinx/source/users/docker.rst.BAK @ 1034:bbcec5f44c34
PG 6.0
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 08 Feb 2024 16:46:35 +0100 |
parents | a3436ae3709c |
children | d2be251975d1 |
line wrap: on
line source
For developers and power users, the images ``jodogne/orthanc-debug`` contain the Orthanc core compiled in debug mode (i.e. with runtime assertions enabled, and including debugging symbols). A ``gdb`` command-line session can be started as follows:: $ docker run -i -t --rm --entrypoint=bash --network=host --cap-add=SYS_PTRACE -p 4242:4242 -p 8042:8042 jodogne/orthanc-debug # gdb --args Orthanc /etc/orthanc/ --verbose Exceptions can be automatically caught by launching ``gdb`` as follows:: # gdb --ex 'catch t' --ex r --ex bt --args ./Orthanc /etc/orthanc/ --verbose Note that: * The plugins are not available in this image yet. * The Orthanc source code can be found in folder ``/root/orthanc``. * The build artifacts can be found in folder ``/root/orthanc/Build``. * This command launches the mainline version. To start a released version, use e.g. ``jodogne/orthanc-debug:1.12.3``.