Mercurial > hg > orthanc-book
comparison Sphinx/source/users/docker.rst @ 175:2c87e18ace33
gdb and docker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 03 Dec 2018 13:38:00 +0100 |
parents | 3b80f348cc6b |
children | 01684f60a8ba |
comparison
equal
deleted
inserted
replaced
174:1e9764acdf95 | 175:2c87e18ace33 |
---|---|
189 For debugging purpose, you can start an interactive bash session as | 189 For debugging purpose, you can start an interactive bash session as |
190 follows:: | 190 follows:: |
191 | 191 |
192 $ sudo docker run -i -t --rm --entrypoint=bash jodogne/orthanc | 192 $ sudo docker run -i -t --rm --entrypoint=bash jodogne/orthanc |
193 $ sudo docker run -i -t --rm --entrypoint=bash jodogne/orthanc-plugins | 193 $ sudo docker run -i -t --rm --entrypoint=bash jodogne/orthanc-plugins |
194 | |
195 For developers, the images ``jodogne/orthanc-debug`` contain the | |
196 Orthanc core compiled in debug mode (with runtime assertions enabled, | |
197 and including debugging symbols). A ``gdb`` session can be started as | |
198 follows:: | |
199 | |
200 $ sudo docker run -i -t --rm --entrypoint=bash --cap-add=SYS_PTRACE -p 4242:4242 -p 8042:8042 orthanc-debug | |
201 # gdb --args Orthanc /etc/orthanc/ |