changeset 1015:f263cd65a754

docker logs
author Alain Mazy <am@osimis.io>
date Fri, 19 Jan 2024 09:04:37 +0100
parents fcfd53aa7446
children 02e04288bbeb
files Sphinx/source/faq/log.rst
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/faq/log.rst	Thu Jan 11 09:02:40 2024 +0100
+++ b/Sphinx/source/faq/log.rst	Fri Jan 19 09:04:37 2024 +0100
@@ -106,7 +106,14 @@
 Under Docker
 ^^^^^^^^^^^^
 
-The command-line to be used is::
+With ``osimis/orthanc`` images, simply define the ``VERBOSE_ENABLED`` environment 
+variable to ``true`` when starting your container and then, run this command to 
+retrieve the logs in a file::
+
+  $ sudo docker logs your_container_name &> /tmp/orthanc.log
+
+
+With ``jodogne/orthanc`` images, use this command line::
 
   $ sudo docker run -a stderr -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc --verbose /etc/orthanc > Orthanc.log 2>&1