-
Notifications
You must be signed in to change notification settings - Fork 234
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
User are reporting potential issues with using overlay2 #966
Conversation
types/options.go
Outdated
@@ -190,6 +190,10 @@ func getRootlessStorageOpts(rootlessUID int, systemOpts StoreOptions) (StoreOpti | |||
if driver := os.Getenv("STORAGE_DRIVER"); driver != "" { | |||
opts.GraphDriverName = driver | |||
} | |||
// override users selection of 'overlay2' with 'overlay' | |||
if opts.GraphDriverName == "overlay2" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lint is barfing, it wants a constant for "overlay2"
dc234da
to
09a2e99
Compare
@rhatdan looks like you need a rebase |
types/options.go
Outdated
@@ -190,6 +194,10 @@ func getRootlessStorageOpts(rootlessUID int, systemOpts StoreOptions) (StoreOpti | |||
if driver := os.Getenv("STORAGE_DRIVER"); driver != "" { | |||
opts.GraphDriverName = driver | |||
} | |||
// override users selection of 'overlay2' with 'overlay' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to leave behind a comment as to why the override is happening.
This is a Potentially breaking change, and should be held off until 4.0 of Podman. |
63003fd
to
fd652a2
Compare
We should just switch to overlay right away rather then handling the driver code lower in the stack. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rhatdan, I think it's time to get this one in.
We should just switch to overlay right away rather then
handling the driver code lower in the stack.
Signed-off-by: Daniel J Walsh dwalsh@redhat.com