1
0
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:
niusmallnan
2018-02-27 17:55:59 +08:00
committed by niusmallnan
parent a7ba5d045b
commit 43f483a5ef
5 changed files with 17 additions and 12 deletions

View File

@@ -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
}