-
Notifications
You must be signed in to change notification settings - Fork 91
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
https protocol is not supported #20
Comments
Upgrading to the latest docker-java might already yield better results |
@francisdb I've just upgraded to 2.1.4. Unfortunately it doesn't provide any better error message. I think it is up to |
@viktortnk Have you found an upstream ticket on this? Otherwise I will create one. |
@francisdb No, sorry. Didn't check any |
I reported it upstream: docker-java/docker-java#419 |
Seems that without a PR this will not be solved in the near future |
Any workarounds for now? I'm running into this error but I did specify |
This seems to do something override implicit val docker : Docker =
new Docker(DockerClientConfig.createDefaultConfigBuilder()
.withUri("http://192.168.59.103:2375")
.withSSLConfig(null)
.build()) If I do |
I get repeatedly bitten by this. I understand the project's point that |
Sorry @akauppi I'm not sure I'm entirely understand what you are proposing |
@viktortnk could try docker-java-3.0.0-RC1 as docker-java/docker-java#419 has been fixed |
There is already build against this version on maven central. |
Ok, with this build I get the following when docker is not running:
which at least points to docker so I guess we can consider this ticket closed 👍 (everything works by default with the docker quickstart terminal om OSX) |
Hmm, now our jenkins build on Ubuntu fails when setting |
Next issue, this time on the docker-it-scala side with
|
Want me to create a new issue? |
seems to be related to docker-java/docker-java#537 and somehow #33 |
Meanwhile using override implicit val dockerFactory: DockerFactory = new SpotifyDockerFactory(DefaultDockerClient.fromEnv().build()) see https://github.com/whisklabs/docker-it-scala#docker-for-mac-setup Better to check the upstream issue for fixes |
If you forget to set up the
DOCKER_HOST
you get this error. This should probably fail with a more appropriate error.And it should probably default to
unix:///var/run/docker.sock
The text was updated successfully, but these errors were encountered: