OpenLPR/Rekor Scout container configuration best practices?

tomas21

Getting the hang of it
Aug 12, 2014
146
21
US
Been running the OpenLPR / Rekor Scout agent container in docker for a month with no issues... had a power outage and looks like container picked another local port that maps to a container port so my images stopped showing up in webhook due to the local port dynamically changing after power outage on Nas running docker container.

What is the best practice for those of us running the Rekor Scout agent container via Docker for all settings and where configs are stored?

Best way to configure Rekor Scout agent running in container... ?

1668705610291.png
 
Last edited:
Anyone have guidance how to get the Rekor Scout agent running in a container to retain its port settings after a restart ?
 
Any tips on the OpenLPR / Rekor Scout agent container in docker configuration to keep ports configured outside the container?
 
I don’t have any experience with this specific container yet but docker containers handle port mapping at creation using the -p switch. This documentation should help you:

it is possible to create the rules in iptables after container creation but the preferred method is to just recreate the container and map the ports you need during creation.

As another note, for persistent settings with any container you will need to most likely create a volume outside of the container that it can point to.