go run cmd/main.go
Building the docker image
docker build -t "go-microservice" .
Run the docker image without a config file. This will use some defaults.
docker run "go-microservice"
Run docker immage with a config file.
docker run --mount type=bind,source=<ABSOLUTE PATH>/config.yaml,target=/config/config.yaml "go-microservice"