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

Too many layers in OSG docker containers #71

Open
DrDaveD opened this issue May 19, 2023 · 0 comments
Open

Too many layers in OSG docker containers #71

DrDaveD opened this issue May 19, 2023 · 0 comments

Comments

@DrDaveD
Copy link
Contributor

DrDaveD commented May 19, 2023

Every RUN or COPY line in a Dockerfile ends up creating another docker layer. For apptainer that isn't a very big deal because it collapses all the layers when it downloads from dockerhub, but for docker and podman that requires another overlayfs level which will affect runtime performance. I think the OSG docker containers should be converted to use a single RUN command, so the only layers are from inherited containers.

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

No branches or pull requests

1 participant