From 5e1301b092384683b81ed04559ff8cfb37f428ac Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 8 Nov 2019 17:26:01 -0400 Subject: [PATCH] Add Docker maintenance command example Signed-off-by: Roberto Rosario --- docs/chapters/docker.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/chapters/docker.rst b/docs/chapters/docker.rst index e9f00e2050..6bc448e736 100644 --- a/docs/chapters/docker.rst +++ b/docs/chapters/docker.rst @@ -367,3 +367,12 @@ stability is not guaranteed. They should never be used in production. If you want to try out the Docker images the development uses or want a sneak peek at the new features being worked on checkout the container registry at: https://gitlab.com/mayan-edms/mayan-edms/container_registry + + +Executing commands on a container +================================= + +To perform Mayan EDMS commands in a running container that will take all the +settings from the container, use the following command:: + + docker exec -ti /usr/local/bin/entrypoint.sh "/opt/mayan-edms/bin/mayan-edms.py "