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

Allow config files to be mounted #1387

Merged
merged 1 commit into from
Jun 16, 2022
Merged

Commits on Jun 15, 2022

  1. Allow config files to be mounted

    Because we wanted to reuse the layer uploading code, we wrap the config
    bytes up as a Layer. Unfortunately, the partial.ConfigLayer
    implementation doesn't preserve the fact that for mountable images, we
    can perform a cross-repo mount.
    
    This change updates partial.ConfigLayer to look for a ConfigLayer
    implementation on the given image to see if it can simply dispatch to
    that, falling back to calculating it from the config bytes otherwise.
    jonjohnsonjr committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    3e469c1 View commit details
    Browse the repository at this point in the history