Mercurial > hg > orthanc-book
comparison Sphinx/source/users/docker.rst @ 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 | fd3ad1ac1482 |
children | a3436ae3709c |
comparison
equal
deleted
inserted
replaced
1007:7fbd7a6a1d56 | 1008:23a54088d604 |
---|---|
303 For debugging purpose, you can start an interactive bash session as | 303 For debugging purpose, you can start an interactive bash session as |
304 follows:: | 304 follows:: |
305 | 305 |
306 $ docker run -i -t --rm --entrypoint=bash jodogne/orthanc:1.12.2 | 306 $ docker run -i -t --rm --entrypoint=bash jodogne/orthanc:1.12.2 |
307 $ docker run -i -t --rm --entrypoint=bash jodogne/orthanc-plugins:1.12.2 | 307 $ docker run -i -t --rm --entrypoint=bash jodogne/orthanc-plugins:1.12.2 |
308 | |
309 For developers and power users, the images ``jodogne/orthanc-debug`` | |
310 contain the Orthanc core compiled in debug mode (i.e. with runtime | |
311 assertions enabled, and including debugging symbols). A ``gdb`` | |
312 command-line session can be started as follows:: | |
313 | |
314 $ docker run -i -t --rm --entrypoint=bash --network=host --cap-add=SYS_PTRACE -p 4242:4242 -p 8042:8042 jodogne/orthanc-debug | |
315 # gdb --args Orthanc /etc/orthanc/ --verbose | |
316 | |
317 Exceptions can be automatically caught by launching ``gdb`` as follows:: | |
318 | |
319 # gdb --ex 'catch t' --ex r --ex bt --args ./Orthanc /etc/orthanc/ --verbose | |
320 | |
321 Note that: | |
322 | |
323 * The plugins are not available in this image yet. | |
324 | |
325 * The Orthanc source code can be found in folder ``/root/orthanc``. | |
326 | |
327 * The build artifacts can be found in folder ``/root/orthanc/Build``. | |
328 | |
329 * This command launches the mainline version. To start a released version, | |
330 use e.g. ``jodogne/orthanc-debug:1.12.2``. |