Got Go’s Viper working in a container by mounting a config file instead of environment variables.
docker run -v C:\users\looni\.lk.yaml:/config/.lk.yaml lkSearch history:
- loonison101/lk Tags | Docker Hub
- docker - How to mount a single file in a volume - Stack Overflow
- go viper in container - Google Search
- map file to home debian container - Google Search
- Linux Directory Structure Explained for Beginners
- viper automaticenv - Google Search
- linux - start docker container interactively - Stack Overflow
- Docker ‘run’ command to start an interactive BaSH session