From 8c87c7c1a8550ecaa9e19a155e33ea7e78c5dfaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20R=C3=A9mond?= Date: Tue, 18 Feb 2020 10:09:59 +0100 Subject: [PATCH] Document how to inspect container state --- ecs/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ecs/README.md b/ecs/README.md index a089b9e..b6bb352 100644 --- a/ecs/README.md +++ b/ecs/README.md @@ -68,6 +68,14 @@ mkdir database docker run -d --name ejabberd -v $(pwd)/ejabberd.yml:/home/ejabberd/conf/ejabberd.yml -v $(pwd)/database:/home/ejabberd/database -p 5222:5222 ejabberd/ecs ``` +### Inspecting the container state + +The container is packaging Alpine Linux. You can check the state with the command: + +```bash +docker exec -it ejabberd sh +``` + ### Checking ejabberd log files You can execute a Docker command to check the content of the log files from inside to container, even if you do not put it on a shared persistent drive: