-
Notifications
You must be signed in to change notification settings - Fork 443
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
Cannot publish to http (or self-signed https) docker registry #412
Comments
So what you would like, would be a setting dockerDaemonArguments += "--insecure-registry 192.168.59.103:5000" |
I would like to pass daemon arguments in build.sbt, yes. But after making more investigations I'm not sure if it's possible. Currently docker supports They are going to enable passing it to
|
Ah okay. So if you run your daemon with |
Yep. |
There's been some frustration with the new TLS functionality in docker |
I'm with @mhamrah |
Hi.
I'm trying to start using docker infrastructure with sbt-native-packager and private docker registry https://github.com/docker/docker-registry
It's simple to do
sbt docker:publishLocal
, butsbt docker:publish
for private repo is impossible since it has no ssl certificate or have only self-signed one.It looks like it's simple to add an option to sbt just to tell docker that registry is insecure. Now the following error is shown:
If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add
--insecure-registry 192.168.59.103:5000to the daemon's arguments.
The text was updated successfully, but these errors were encountered: