-
Notifications
You must be signed in to change notification settings - Fork 645
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
docker registry option no longer works properly after 0.13.0 when performing a push #261
Comments
Could you please give me some more background information ? (I remember we talked about this last week but I lost the reference):
|
Fedora 21, Docker 1.6.2.fc21 Project in github: https://github.com/hawkular/hawkular-metrics/tree/master/containers/cassandra-docker |
Good news, I can reproduce the issue. I'm pretty sure, we can fix this, but it's not a no brainer. I already quite some hard time with Fedora's (asymmetric) way of the docker image name handling. E.g. see this issue which is still open. Please also note that the possibility to choose a registry with a system property is a feature of the plugin, since Docker doesn't provide this out of the box. For docker, the registry is a part of the name (which IMO is a misconception because the registry is some meta date while the name is often used as ID). So when
But because for Fedora says in the check the image exists but then complains for the push (see the bug above), its not that easy. |
The push thingy will be fixed for Fedora's rhatdan/moby1#111 + a fix in 0.13.4 within this plugin. |
|
This is related to #261, but still has to be tested.
There are issues when using the docker maven plugin after 0.13.0 when the -Ddocker.registry option is used when pushing an image.
In versions including at least 0.12.0 and 0.13.0, using -Ddocker.registry=docker.io would work properly.
After this version, the following error would occur:
[INFO] DOCKER> ... The push refers to a repository [docker.io/mwringe/hawkular-cassandra](len: 1)
[ERROR] DOCKER> Repository does not exist: docker.io/mwringe/hawkular-cassandra
[ERROR] DOCKER> Repository does not exist: docker.io/mwringe/hawkular-cassandra
Note that when -Ddocker.registry is not included as a build option, it was still defaulting to docker.io (if that was the default configured for the system)
The text was updated successfully, but these errors were encountered: