Bug 1379633 - Didn't support cross-repo mount when using docker 1.9
Summary: Didn't support cross-repo mount when using docker 1.9
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Michal Minar
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-27 09:24 UTC by zhou ying
Modified: 2016-09-30 15:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-30 15:06:45 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description zhou ying 2016-09-27 09:24:27 UTC
Description of problem:
Firstly tag and push image 'openshift/hello-openshift:latest' to docker-registry/project/imagestream1, secondly  tag and push the same image to docker-registry/project/imagestream2, the data could be pushed to docker-registry,but the data shouldn't be pushed   for the second time.

Version-Release number of selected component (if applicable):
openshift v3.3.0.32
kubernetes v1.3.0+52492b4
etcd 2.3.0+git
docker 1.9.1

How reproducible:
Always

Steps to Reproduce:
1. Login OpenShift and create project;
2. Grant registry-admin role to user,  tag and push 'openshift/hello-openshift:latest' to the project;
  `docker tag openshift/hello-openshift:latest docker-registry-default.0926-g15.qe.rhcloud.com/zhouy/hello-openshift:latest`
   `docker push docker-registry-default.0926-g15.qe.rhcloud.com/zhouy/hello-openshift:latest`
3. Tag and push 'openshift/hello-openshift:latest' to the project as another imagestream;
 `docker tag openshift/hello-openshift:latest docker-registry-default.0926-g15.qe.rhcloud.com/zhouy/hello-openshift1:latest`
  `docker push docker-registry-default.0926-g15.qe.rhcloud.com/zhouy/hello-openshift1:latest`

Actual results:
3. The second  time also  push datas to docker-registry;

Expected results:
3. Should prompt the image only mounted from  the previous, don't push datas to docker-registry again.

Additional info:
No issue for docker 1.10

Comment 1 Michal Minar 2016-09-30 15:06:45 UTC
The support for cross-repository mount has been added to docker 1.10. It won't ever work with docker version prior to 1.10.

Closing this.


Note You need to log in before you can comment on or make changes to this bug.