Lane's Site

Home

❯

memos export

❯

2024 05 10 Got Gos Viper working in a container by mounting

2024-05-10-Got Gos Viper working in a container by mounting

May 10, 20241 min read

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 lk

Search 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

Created with Quartz v4.5.2 © 2026