Document how to inspect container state

pull/51/head^2
Mickaël Rémond 4 years ago committed by GitHub
parent 1a23caeaf6
commit 8c87c7c1a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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:

Loading…
Cancel
Save