From 8cce5fd0944c25ba3aa9162737931c14acb2be2e Mon Sep 17 00:00:00 2001 From: Dylan Ambauen Date: Wed, 13 Dec 2017 09:09:46 -0800 Subject: [PATCH] updated readme --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cad374f..eb8880d 100644 --- a/README.md +++ b/README.md @@ -92,4 +92,16 @@ From the outside, clients can connect to MMDVM servers on 50001 or 50002. ## Accessing log files written by hblink and dmrlink -Haven't built that in yet, but you can do it with Docker. One solution might be to mount a host folder from within the container, and write the log files there. Logs are in /tmp/hblink.log and /tmp/dmrlink.log. +Haven't built that in yet, but you can do it with Docker. One solution might be to mount a host folder from within the container, and write the log files there. Logs are in /tmp/hblink.log and /tmp/dmrlink.log. So, read a tutorial then try it. + + https://www.digitalocean.com/community/tutorials/how-to-share-data-between-the-docker-container-and-the-host + +Kill your running containers. can be id or name listed in the results of `docker ps` + + sudo docker ps + sudo docker kill + +Use a modified the `docker run -v :` command to bindmount a volume. + + sudo docker run -d -p 50001:22222/udp -v ~/MMDVM-A/Logs:/tmp IMAGE:TAG +