Ignore `layer does not exist` error from `docker images`
Ignore `layer does not exist` error from `docker images`

Fix #31350

As we can see in `daemon.Images()`, there is a gap between
`allImages = daemon.imageStore.Map()` and `l, err :=
daemon.layerStore.Get(layerID)`, so images which still exist when we hit
`allImages = daemon.imageStore.Map()` may have already been deleted when we hit
`l, err := daemon.layerStore.Get(layerID)`.

```
	if danglingOnly {
        	allImages = daemon.imageStore.Heads()
	} else {
        	allImages = daemon.imageStore.Map()
	}

	...

	for id, img := range allImages {
		...

		layerID := img.RootFS.ChainID()
        	var size int64
	        if layerID != "" {
        	        l, err := daemon.layerStore.Get(layerID)
                	if err != nil {
                        	return nil, err
                	}
```

Signed-off-by: Yuanhong Peng <605597f567e7188f3c817a57f8e09c6e857f9d0b@huawei.com>

coolljt0725/docker,darrenstahlmsft/docker,SvenDowideit/docker,ndeloof/docker,prertik/docker,paralin/docker,rhatdan/docker,erikh/docker,naveed-jamil-tenpearls/moby,laijs/docker,KingEmet/docker,nawawi/docker,trebonian/docker,jvanz/docker,srust/docker,KarthikNayak/docker,x1022as/docker,bearstech/moby,madhanrm/docker,justincormack/docker,ibuildthecloud/docker,maxamillion/docker,sdurrheimer/docker,whuwxl/docker,Ramzec/docker,tianon/docker,kolyshkin/docker,laijs/moby,imkin/moby,rancher/docker,sterchelen/docker,mahak/docker,Mokolea/docker,alfred-landrum/docker,pradipd/moby,estesp/docker,scotttlin/docker,liaoqingwei/docker,dsheets/moby,flavio/docker,AkihiroSuda/docker,gjaskiewicz/moby,nalind/docker,jimjag/docker,amatsus/docker,darrenstahlmsft/moby,haveatry/docker,naveed-jamil-tenpearls/moby,jlhawn/docker,yosifkit/docker,rremer/moby,tonistiigi/docker,yosifkit/docker,pradipd/moby,dgageot/docker,duglin/docker,yummypeng/docker,konstruktoid/docker-1,JMesser81/docker,AkihiroSuda/docker,docker/docker,Ramzec/docker,djs55/docker,tophj-ibm/docker,haveatry/docker,nalind/docker,ibuildthecloud/docker,dsheets/moby,konstruktoid/docker-upstream,dccurtis/docker,shishir-a412ed/docker,pramodhkp/moby,jwhonce/docker,konstruktoid/docker-upstream,YuPengZTE/docker,konstruktoid/docker-upstream,mkumatag/docker,jthelin/docker,cpuguy83/docker,raja-sami-10p/moby,justincormack/docker,dperny/docker,thtanaka/docker,mstanleyjones/docker,JMesser81/docker,PatrickLang/moby,kojiromike/docker,mike1729/docker,darrenstahlmsft/moby,akira-baruah/docker,tianon/docker,alfred-landrum/docker,Mokolea/docker,ripcurld0/moby,miminar/docker,paralin/docker,nalind/docker,coreos/docker,shishir-a412ed/docker,jwhonce/docker,kojiromike/docker,djs55/docker,darrenstahlmsft/docker,diogomonica/docker,duglin/docker,jwhonce/docker,YuPengZTE/docker,bearstech/moby,bonczj/moby-json-file-logger,hqhq/moby,ndeloof/docker,justincormack/docker,duglin/docker,thaJeztah/docker,erikh/docker,moby/moby,thaJeztah/docker,noironetworks/docker,vdemeester/docker,PatrickLang/moby,gnailuy/docker,Ramzec/docker,trebonian/docker,kencochrane/docker,moypray/docker,erikh/docker,tophj-ibm/moby,jlhawn/docker,dims/docker,lixiaobing1/docker,kencochrane/docker,unclejack/docker,bearstech/moby,cpuguy83/docker,cyphar/docker,diogomonica/docker,madhanrm/docker,YuPengZTE/docker,shhsu/docker,gjaskiewicz/moby,mahak/docker,rancher/docker,konstruktoid/docker-1,mike1729/docker,KingEmet/docker,ibuildthecloud/docker,johnstep/moby-moby,dperny/docker,lixiaobing1/docker,trebonian/docker,naveed-jamil-tenpearls/moby,darrenstahlmsft/docker,danyalKhaliq10p/moby,johnstep/moby-moby,jimjag/docker,bearstech/moby,mstanleyjones/docker,dims/docker,thaJeztah/docker,scotttlin/docker,hqhq/moby,dgageot/docker,lixiaobing1/docker,michael-holzheu/docker,laijs/docker,liaoqingwei/docker,jvanz/docker,prertik/docker,jameszhan/docker,KarthikNayak/docker,pradipd/moby,sdurrheimer/docker,flavio/docker,ripcurld0/moby,fcrisciani/docker,thaJeztah/docker,noironetworks/docker,ffoysal/docker,prertik/docker,pramodhkp/moby,akira-baruah/docker,cpuguy83/docker,Syntaxide/docker,johnstep/moby-moby,nawawi/docker,flavio/docker,coolljt0725/docker,jameszhan/docker,jthelin/docker,x1022as/docker,paralin/docker,gnailuy/docker,allencloud/docker,cyphar/docker,liaoqingwei/docker,tophj-ibm/moby,mikebrow/docker,coreos/docker,sdurrheimer/docker,ColinHebert/docker,bonczj/moby-json-file-logger,konstruktoid/docker-upstream,moby/moby,moby/moby,shishir-a412ed/docker,tmp6154/docker,Mokolea/docker,dccurtis/docker,vdemeester/docker,rhatdan/docker,unclejack/docker,tmp6154/docker,alfred-landrum/docker,flavio/docker,mahak/docker,estesp/docker,sterchelen/docker,tophj-ibm/docker,fcrisciani/docker,charleszheng44/moby,PatrickLang/moby,laijs/docker,allencloud/docker,nalind/docker,moul/docker,POLJM242/docker,srust/docker,moypray/docker,nawawi/docker,estesp/docker,cyphar/docker,yongtang/docker,charleszheng44/moby,POLJM242/docker,rremer/moby,resin-io/docker,ibuildthecloud/docker,yosifkit/docker,gjaskiewicz/moby,whuwxl/docker,miminar/docker,tklauser/docker,diogomonica/docker,pramodhkp/moby,ndeloof/docker,mkumatag/docker,rhatdan/docker,whuwxl/docker,moypray/docker,darrenstahlmsft/moby,mahak/docker,scotttlin/docker,moul/docker,crosbymichael/docker,lixiaobing10051267/docker,jimjag/docker,vdemeester/docker,thtanaka/docker,SvenDowideit/docker,paralin/docker,mtesselH/docker,mikebrow/docker,kolyshkin/moby,srust/docker,docker/docker,gschaetz/moby,imkin/moby,madhanrm/docker,noironetworks/docker,dmcgowan/docker,tklauser/docker,michael-holzheu/docker,tophj-ibm/docker,kolyshkin/moby,yasiramin10p/moby,mkumatag/docker,miminar/docker,mike1729/docker,docker/docker,cpuguy83/docker,ibuildthecloud/docker,ColinHebert/docker,KarthikNayak/docker,jimjag/docker,dmcgowan/docker,jvanz/docker,haveatry/docker,gschaetz/moby,lixiaobing10051267/docker,coreos/docker,kolyshkin/moby,hqhq/moby,ripcurld0/moby,dccurtis/docker,mixja/docker,JMesser81/docker,bonczj/moby-json-file-logger,catinthesky/docker,trebonian/docker,kojiromike/docker,AkihiroSuda/docker,kencochrane/docker,ffoysal/docker,x1022as/docker,yasiramin10p/moby,laijs/moby,Syntaxide/docker,dmcgowan/docker,charleszheng44/moby,danyalKhaliq10p/moby,crosbymichael/docker,catinthesky/docker,rancher/docker,crosbymichael/docker,moul/docker,shhsu/docker,thtanaka/docker,moul/docker,tonistiigi/docker,jameszhan/docker,KingEmet/docker,danyalKhaliq10p/moby,amatsus/docker,maxamillion/docker,moby/moby,laijs/moby,dgageot/docker,Ramzec/docker,gnailuy/docker,imkin/moby,yasiramin10p/moby,Mokolea/docker,mixja/docker,sarnautov/moby,yummypeng/docker,michael-holzheu/docker,konstruktoid/docker-1,dsheets/moby,rremer/moby,resin-io/docker,lixiaobing10051267/docker,sarnautov/moby,mixja/docker,gnailuy/docker,mtesselH/docker,jlhawn/docker,yummypeng/docker,ColinHebert/docker,yongtang/docker,dperny/docker,sterchelen/docker,kolyshkin/docker,mstanleyjones/docker,mikebrow/docker,resin-io/docker,raja-sami-10p/moby,tophj-ibm/moby,AkihiroSuda/docker,amatsus/docker,coolljt0725/docker,tonistiigi/docker,sarnautov/moby,djs55/docker,unclejack/docker,nawawi/docker,raja-sami-10p/moby,ffoysal/docker,maxamillion/docker,gschaetz/moby,yongtang/docker,Syntaxide/docker,catinthesky/docker,allencloud/docker,SvenDowideit/docker,tmp6154/docker,mtesselH/docker,shhsu/docker,tklauser/docker,fcrisciani/docker,dims/docker,yosifkit/docker