From 4fd692fd08bbc911de652bd98f60b3910b7711eb Mon Sep 17 00:00:00 2001 From: Dominik Zajac Date: Wed, 6 Jul 2022 23:45:15 +0200 Subject: [PATCH 1/2] Added short instructions how to run the docker image with podman to the documentation. --- README.md | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cedf8f8..d11825b 100644 --- a/README.md +++ b/README.md @@ -112,8 +112,8 @@ cd galmon make ``` -Running in Docker ------------------ +Running in Docker or Podman +--------------------------- We publish official Docker images for galmon on [docker hub](https://hub.docker.com/r/berthubert/galmon) for multiple architectures. @@ -122,10 +122,12 @@ To run a container with a shell in there (this will also expose a port so you can view the UI too and assumes a ublox GPS device too - you may need to tweak as necessary): +Docker +====== + ``` docker run -it --rm --device=/dev/ttyACM0 -p 10000:10000 berthubert/galmon ``` - Running a daemonized docker container reporting data to a remote server might look like: @@ -136,6 +138,25 @@ docker run -d --restart=always --device=/dev/ttyACM0 --name=galmon berthubert/ga To make your docker container update automatically you could use a tool such as [watchtower](https://containrrr.github.io/watchtower/). +Podman +====== +With the default configuration you need to make podman trust docker.io images. On Debian add the following configuration /etc/containers/registries.conf.d/docker.conf and add the line: + +``` +unqualified-search-registries=["docker.io"] +``` +Now run + +``` +podman run -it --rm --device=/dev/ttyACM0 -p 10000:10000 berthubert/galmon +``` +Start the ubxtool and navparse within the interactive shell would look something like: + +``` +./ubxtool --wait --port /dev/ttyACM0 --station 1 --stdout --galileo | ./navparse --bind 0.0.0.0:10000 --html /galmon/share/package/galmon/html +``` +You then should be able to access the webinterface on port 10000 on the hosts ip. + Running ------- On u-blox: From d3a7c8ca53e4c1ec9842127a6b65b8eeaa6f5528 Mon Sep 17 00:00:00 2001 From: Dominik Zajac Date: Sun, 25 Sep 2022 11:18:06 +0200 Subject: [PATCH 2/2] fixed duplicated statement --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d11825b..412b5fb 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ To make your docker container update automatically you could use a tool such as Podman ====== -With the default configuration you need to make podman trust docker.io images. On Debian add the following configuration /etc/containers/registries.conf.d/docker.conf and add the line: +With the default configuration you need to make podman trust docker.io images. On Debian add the following configuration /etc/containers/registries.conf.d/docker.conf ``` unqualified-search-registries=["docker.io"]