Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

apiman gets an error when running under Docker-Machine in Windows 7 #18

Open
merandall opened this issue Nov 4, 2015 · 0 comments
Open

Comments

@merandall
Copy link

I started the default apiman in Docker-Machine under Windows 7. I modified the hosts file in Windows to map to the docker ip: 192.168.99.100 dockerhost. The Keycloak admin console works fine using http://dockerhost:8080/auth/admin, and the Wildfly admin works fine using http://dockerhost:9990, but when I try to log on using http://dockerhost:8080/apimanui, I get an exception after entering the default uid and pwd. apiman is not recognizing dockerhost.

23:22:52,778 ERROR [org.keycloak.adapters.OAuthRequestAuthenticator](default task-11) failed to turn code into token: java.net.UnknownHostException: dockerhost

If I map the docker ip to localhost: 192.168.99.100 localhost it works, but causes problems for other apps that need localhost to point to the windows host.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant