comparison Sphinx/source/users/docker.rst @ 176:01684f60a8ba

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 03 Dec 2018 13:59:57 +0100
parents 2c87e18ace33
children 570f28208c5e
comparison
equal deleted inserted replaced
175:2c87e18ace33 176:01684f60a8ba
184 184
185 185
186 Debugging 186 Debugging
187 --------- 187 ---------
188 188
189 .. highlight:: text
190
189 For debugging purpose, you can start an interactive bash session as 191 For debugging purpose, you can start an interactive bash session as
190 follows:: 192 follows::
191 193
192 $ sudo docker run -i -t --rm --entrypoint=bash jodogne/orthanc 194 $ sudo docker run -i -t --rm --entrypoint=bash jodogne/orthanc
193 $ sudo docker run -i -t --rm --entrypoint=bash jodogne/orthanc-plugins 195 $ sudo docker run -i -t --rm --entrypoint=bash jodogne/orthanc-plugins
194 196
195 For developers, the images ``jodogne/orthanc-debug`` contain the 197 For developers and power users, the images ``jodogne/orthanc-debug``
196 Orthanc core compiled in debug mode (with runtime assertions enabled, 198 contain the Orthanc core compiled in debug mode (i.e. with runtime
197 and including debugging symbols). A ``gdb`` session can be started as 199 assertions enabled, and including debugging symbols). A ``gdb``
198 follows:: 200 session can be started as follows::
199 201
200 $ sudo docker run -i -t --rm --entrypoint=bash --cap-add=SYS_PTRACE -p 4242:4242 -p 8042:8042 orthanc-debug 202 $ sudo docker run -i -t --rm --entrypoint=bash --cap-add=SYS_PTRACE -p 4242:4242 -p 8042:8042 jodogne/orthanc-debug
201 # gdb --args Orthanc /etc/orthanc/ 203 # gdb --args Orthanc /etc/orthanc/ --verbose
204
205 Note that:
206
207 * The plugins are not available in this image yet.
208
209 * The Orthanc source code can be found in folder ``/root/orthanc``.
210
211 * The build artifacts can be found in folder ``/root/orthanc/Build``.
212
213 * This command launches the mainline version. To start a released version,
214 use e.g. ``jodogne/orthanc-debug:1.4.2``.