mirror of
https://github.com/containers/podman.git
synced 2025-05-21 09:05:56 +08:00
runtime: make error clearer
make the error clearer and state that images created by other tools might not be visible to Podman when it overrides the graph driver. Closes: https://github.com/containers/podman/issues/13970 [NO NEW TESTS NEEDED] Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -1123,7 +1123,7 @@ func (r *Runtime) mergeDBConfig(dbConfig *DBConfig) {
|
|||||||
if !r.storageSet.GraphDriverNameSet && dbConfig.GraphDriver != "" {
|
if !r.storageSet.GraphDriverNameSet && dbConfig.GraphDriver != "" {
|
||||||
if r.storageConfig.GraphDriverName != dbConfig.GraphDriver &&
|
if r.storageConfig.GraphDriverName != dbConfig.GraphDriver &&
|
||||||
r.storageConfig.GraphDriverName != "" {
|
r.storageConfig.GraphDriverName != "" {
|
||||||
logrus.Errorf("User-selected graph driver %q overwritten by graph driver %q from database - delete libpod local files to resolve",
|
logrus.Errorf("User-selected graph driver %q overwritten by graph driver %q from database - delete libpod local files to resolve. May prevent use of images created by other tools",
|
||||||
r.storageConfig.GraphDriverName, dbConfig.GraphDriver)
|
r.storageConfig.GraphDriverName, dbConfig.GraphDriver)
|
||||||
}
|
}
|
||||||
r.storageConfig.GraphDriverName = dbConfig.GraphDriver
|
r.storageConfig.GraphDriverName = dbConfig.GraphDriver
|
||||||
|
Reference in New Issue
Block a user