This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docker [2025/07/03 17:16] nightfly |
docker [2025/07/04 13:07] (current) nightfly |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Running WolfRecorder in docker | + | ====== Running WolfRecorder in Docker |
**Important: | **Important: | ||
Line 12: | Line 12: | ||
1. Create **docker-compose.yml** file with following content | 1. Create **docker-compose.yml** file with following content | ||
- | <file docker-compose.yml> | + | < |
services: | services: | ||
wolfrecorder: | wolfrecorder: | ||
Line 33: | Line 33: | ||
</ | </ | ||
- | 2. pull and run container with single command | + | 2. Just pull and run container with single command |
< | < | ||
docker compose up -d | docker compose up -d | ||
Line 39: | Line 39: | ||
- | ===== Building own image using composer ===== | + | ===== Building |
1. Clone the repository: | 1. Clone the repository: | ||
Line 55: | Line 55: | ||
< | < | ||
docker compose up -d | docker compose up -d | ||
- | </ | ||
- | |||
- | ===== Managing the Container ===== | ||
- | |||
- | To stop the container: | ||
- | < | ||
- | docker compose down | ||
- | </ | ||
- | |||
- | To restart the running container: | ||
- | < | ||
- | docker compose restart | ||
- | </ | ||
- | |||
- | To access container shell: | ||
- | < | ||
- | docker exec -it wolfrec bash | ||
</ | </ | ||
Line 111: | Line 94: | ||
</ | </ | ||
+ | ===== Managing the Container ===== | ||
- | ===== Verification ===== | + | To stop the container: |
+ | < | ||
+ | docker compose down | ||
+ | </ | ||
+ | |||
+ | To restart the running container: | ||
+ | < | ||
+ | docker compose restart | ||
+ | </ | ||
+ | |||
+ | To access container shell: | ||
+ | < | ||
+ | docker exec -it wolfrec bash | ||
+ | </ | ||
Check the container logs: | Check the container logs: |