Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Pierone does not store image correctly #9

Closed
kanuku opened this issue May 5, 2015 · 6 comments
Closed

Pierone does not store image correctly #9

kanuku opened this issue May 5, 2015 · 6 comments
Assignees
Labels

Comments

@kanuku
Copy link

kanuku commented May 5, 2015

It seems that pierone is omitting information from the image.

After uploading an image to the pierone registry the docker inspect command shows that many values are not stored correctly:

Another way to reproduce the problem
# First pull Jenkins image and inspect it
docker pull jenkins  
docker inspect jenkins (save the result)

# Rename and push it to pierone
docker tag jenkins pierone/test/jenkins
docker push pierone/test/jenkins

# Delete any copy from local registry, do not untag it only, but completly purge it
docker rmi -f ImageId 
docker pull pierone/test/jenkins

## Analyse it and compare it with the first
docker inspect pierone/test/jenkins (save the result)

You can see the difference in Exposed ports and Volume definitions.

Gist for before uploading the image

Gist for after uploading the image

@kanuku kanuku changed the title Image is not the same after pushing Pierone does not store image correctly May 11, 2015
@hjacobs
Copy link
Contributor

hjacobs commented Jun 2, 2015

I could not reproduce this problem yet (also nobody else reported anything like this)

@dryewo
Copy link
Contributor

dryewo commented Jun 22, 2015

I have this problem too.
Before pushing I have

"Volumes": {
            "/var/jenkins_home": {}
        },

then, after pushing, removing and pulling I have

"Volumes": {
            "var/jenkins_home": {}
        },

I've tried exactly the same scenario that @kanuku provides, and I've also tried to build my custom image based on jenkins, the "Volumes" property gets distorted in either case.

I insist, this is a bug :)

@s-soroosh
Copy link

Yea I had the same problem too.
@dryewo
If in Dockerfile you mention "//var/jenkins_home" this problem will be solved.
Definitely it's just an interim solution and I am agree that this is a bug!

@hjacobs hjacobs added the bug label Jun 24, 2015
@hjacobs
Copy link
Contributor

hjacobs commented Jun 24, 2015

verified as bug

@hjacobs
Copy link
Contributor

hjacobs commented Jun 24, 2015

relates to #24 too

@hjacobs
Copy link
Contributor

hjacobs commented Jun 24, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants