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

Provide mapping between layer identifiers to docker images/containers #14

Open
jjobi opened this issue Feb 10, 2017 · 1 comment
Open

Comments

@jjobi
Copy link
Contributor

jjobi commented Feb 10, 2017

It would be good to provide a mapping from layer identifiers (the directories seen under /lcfs/lcfs) to actual image and container names/identifiers.

@jjobi
Copy link
Contributor Author

jjobi commented Feb 24, 2017

It looks like /lcfs/image/lcfs/repositories.json has an entry for every image present. From that, /lcfs/image/lcfs/imagdb/content/sha256/ can be located, from which diff-ids can be located. /lcfs/image/lcfs/layerdb/sha256//cache-id gives the layer name for the image layer.

It looks like there is a directory under /lcfs/containers for each container created and there are couple of files called init-id and mount-id under directory /lcfs/image/lcfs/layerdb/mounts/, with names of the layers created for that container.

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

No branches or pull requests

1 participant