mirror of
https://github.com/rancher/os.git
synced 2025-09-03 15:54:24 +00:00
Support higher verion docker-ce as system-docker
This commit is contained in:
@@ -55,6 +55,9 @@ func (s *Service) missingImage() bool {
|
||||
}
|
||||
client := s.context.ClientFactory.Create(s)
|
||||
_, _, err := client.ImageInspectWithRaw(context.Background(), image, false)
|
||||
if err != nil {
|
||||
log.Errorf("Missing the image: %v", err)
|
||||
}
|
||||
return err != nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user