-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
level=fatal msg="Unable to instantiate service registry." error="no driver is capable of handling the given DSN" #1455
Comments
You did not set configuration variable |
For what it's worth, I've ran into the same issue when installing Hydra from the Helm chart, as I had put the |
$ docker run -d |
trying to build a hydra image using docker and then connecting it to postgres container running in docker in the same network.
but
This error comes:
level=fatal msg="Unable to instantiate service registry." error="no driver is capable of handling the given DSN"
This error keeps on coming when trying to run the image.
Built binary using
GO111MODULE=on GOOS=linux GOARCH=amd64 go build && docker build -t hydratest:v1 .
Dockerfile
FROM alpine:3.9
RUN apk add -U --no-cache ca-certificates
FROM scratch
COPY hydra /usr/bin/hydra
ENTRYPOINT ["hydra"]
CMD ["serve", "all"]
running image using:
docker run -d --name hydratest --network hydraguide -p 9000:4444 -p 9001:4445 -e SECRETS_SYSTEM=jayvcjaw5214521 -e URLS_SELF_ISSUER=https://localhost:9000/ -e URLS_CONSENT=http://localhost:3000/consent -e URLS_LOGIN=http://localhost:3000/login hydratest:v1 serve all
The text was updated successfully, but these errors were encountered: