Skip to content
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 image MAINTAINER Author field containes tmp.<RandomString> #5

Closed
WhisperingChaos opened this issue Mar 10, 2016 · 0 comments
Closed
Labels
Milestone

Comments

@WhisperingChaos
Copy link
Owner

A bug in docker 1.8 would prevent deletion of an image if a container included a layer referencing an image's topmost layer even though the container was derived from another image that was different but included this same image layer.

To advert this problem, the initial SCRATCH image, used when creating an image's first layer is differentiated by executing MAINTAINER $(basename $(mktemp -u)) resulting in a unique top image layer for each image created by the dkrcp.

As a workaround, use the --change 'MAINTAINER <MaintainerName>' to set the Author field to a desired value.

This workaround strictly applies to Docker 1.8. In derivative Docker versions, dkrcp doesn't execute the MAINTAINER instruction, therefore, the Author field is unassigned.

@WhisperingChaos WhisperingChaos added this to the 0.5 milestone Mar 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant