docker-archive / docker-registry

This is **DEPRECATED**! Please go to https://github.com/docker/distribution
Apache License 2.0
2.88k stars 877 forks source link

Simultaneous push of two images with the same name but different tag results in an error #994

Closed montgomery1944 closed 9 years ago

montgomery1944 commented 9 years ago

The exact message we are getting is: "Error response from daemon: push image_name is already in progress".

The reason we are pushing two images at the same time with different tags is because we use docker registry to keep our images built by Jenkins, which can of course build different branches of our project at the same time.

Is this issue going to be fixed in the old version of registry? Is this issue fixed in the registry 2.0?

dmp42 commented 9 years ago

Hi @montgomery1944

IMO this is a docker engine issue (not registry). Nevertheless, I would be happy to investigate.

I think that should work with a registry2. If it's not, that should be fixed.

montgomery1944 commented 9 years ago

@dmp42, is there any update on this issue?

dmp42 commented 9 years ago

@montgomery1944 have you tried registry:2 ? cc @stevvooe

stevvooe commented 9 years ago

@montgomery1944 This is a daemon issue. Please file in github.com/docker/docker.