Fix docker logs a dead container
Fix docker logs a dead container

If a container is dead or marked for removal, the json log
file could have been removed, so docker logs will return
`<id>-json.log: no such file or directory`.

Signed-off-by: Lei Jitang <9ac444d2b5df3db1f31aa1c6462ac8e9e2bde241@huawei.com>

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