Don't dereference HostConfig.MemorySwapiness if nil
Don't dereference HostConfig.MemorySwapiness if nil

Signed-off-by: Darren Shepherd <39afb6cb2f84a5645c2345b80cbfe0b45648600b@rancher.com>

ailispaw/docker,gdevillele/docker.github.io,AkihiroSuda/docker,danix800/docker.github.io,icecrime/docker,willmtemple/docker,ivansaracino/docker,s7v7nislands/docker,yosifkit/docker,alexisbellido/docker.github.io,twaugh/docker,shhsu/docker,bonczj/moby-json-file-logger,docker/docker.github.io,shin-/docker.github.io,kyle-wang/docker,aditirajagopal/docker,icaoweiwei/docker,lixiaobing10051267/docker,shubheksha/docker.github.io,resin-io/docker,nalind/docker,Morsicus/docker,aaronlehmann/docker,sterchelen/docker,Microsoft/docker,splunk/docker,estesp/docker,jwhonce/docker,lixiaobing1/docker,BrianBland/docker,bearstech/moby,docker/docker.github.io,cr7pt0gr4ph7/docker,joaofnfernandes/docker.github.io,dsau/docker,akira-baruah/docker,darrenstahlmsft/docker,raja-sami-10p/moby,docker-zh/docker.github.io,kolyshkin/docker,Morsicus/docker,tbonza/docker,thaJeztah/docker.github.io,inatatsu/docker,zhangjianfnst/docker,carolfh/docker,mkumatag/docker,13W/docker,jlebon/docker,endophage/docker,lixiaobing1/docker,anortef/docker,thaJeztah/docker,resin-io/docker,joeuo/docker.github.io,mariusGundersen/docker,rremer/moby,srust/docker,AkihiroSuda/docker,ndeloof/docker,anweiss/docker.github.io,Shopify/docker,HideoYamauchi/docker,Tenk42/docker,isubuz/docker,prertik/docker,containers/storage,BSWANG/denverdino.github.io,hustcat/docker,rhardih/docker,docker-zh/docker.github.io,justincormack/docker,rickyzhang82/docker,mathewkoshy493/docker,pramodhkp/moby,jwhonce/docker,dongjoon-hyun/docker,nguyentm83/docker,Akasurde/docker,icecrime/docker,JimGalasyn/docker.github.io,geekylucas/docker,pragyasardana/Docker-cr-combined,prertik/docker,nawawi/docker,miminar/docker,csfrancis/docker,troy0820/docker.github.io,gjaskiewicz/moby,aidanhs/docker,tianon/docker,jlhawn/docker,mathewkoshy493/docker,mariusGundersen/docker,cloudflare/docker,jloehel/docker,toli/docker,YujiOshima/docker,SvenDowideit/docker,mgoelzer/docker,pradipd/moby,jwhonce/docker,ivansaracino/docker,aaronlehmann/docker,thaJeztah/docker,jzwlqx/denverdino.github.io,djs55/docker,ripcurld0/moby,jlhawn/docker,stainboy/docker,icaoweiwei/docker,liaoqingwei/docker,nigelpoulton/docker,tonistiigi/docker,dongjoon-hyun/docker,shin-/docker.github.io,zhuguihua/docker,Jimmy-Xu/hypercli,TrumanLing/docker,mahak/docker,YujiOshima/docker,sunyuan3/docker,swasd/baleno,asbjornenge/docker,x1022as/docker,HackToday/docker,cpswan/docker,Mashimiao/docker,darrenstahlmsft/moby,imkin/moby,cpuguy83/docker,trebonian/docker,ripcurld0/moby,kojiromike/docker,cloudflare/docker,nigelpoulton/docker,Collinux/docker,charleszheng44/moby,AkihiroSuda/docker,vdemeester/docker,tophj-ibm/moby,TrumanLing/docker,rhardih/docker,gnailuy/docker,gao-feng/docker,cr7pt0gr4ph7/docker,xiaods/docker,anweiss/docker.github.io,zhangjianfnst/docker,supasate/docker,bdwill/docker.github.io,ckeyer/docker,PatrickLang/moby,13W/docker,michelvocks/docker,HideoYamauchi/docker,ColinHebert/docker,nalind/docker,Altiscale/docker,anusha-ragunathan/docker,ckeyer/docker,Mashimiao/docker,paralin/docker,twaugh/docker,rhatdan/docker,ItsVeryWindy/docker,qudongfang/docker,projectatomic/docker,kolyshkin/moby,johnstep/docker.github.io,Ramzec/docker,medallia/docker,gschaetz/moby,msabansal/docker,msabansal/docker,projectatomic/docker,pramodhkp/moby,yasiramin10p/moby,willmtemple/docker,runcom/docker,sheimi/docker,hypriot/docker,luxas/docker,unclejack/docker,xuxinkun/docker,jimjag/docker,flavio/docker,POLJM242/docker,imeoer/hypercli,anweiss/docker.github.io,izarov/docker,jhorwit2/docker,aduermael/docker.github.io,rillig/docker.github.io,Neverous/docker,gigidwan/docker,docker/docker,pecameron/docker,ailispaw/docker,yosifkit/docker,containers/storage,shishir-a412ed/docker,mahak/docker,mbanikazemi/docker,stainboy/docker,angryxlt/docker,ffoysal/docker,ajneu/docker,joeuo/docker.github.io,konstruktoid/docker-upstream,alfred-landrum/docker,moypray/docker,flavio/docker,izarov/docker,laijs/docker,duglin/docker,phiroict/docker,kojiromike/docker,dongjoon-hyun/docker,estesp/docker,cyphar/docker,JMesser81/docker,hqhq/moby,diogomonica/docker,wenchma/docker,LuisBosquez/docker.github.io,vijaykilari/docker,jvanz/docker,errordeveloper/docker,mstanleyjones/docker,tpounds/docker,alexisbellido/docker.github.io,gao-feng/docker,anortef/docker,dnephin/docker,flavio/docker,trebonian/docker,bluebreezecf/docker,cr7pt0gr4ph7/docker,denverdino/denverdino.github.io,maxamillion/docker,yongtang/docker,nguyentm83/docker,aaronlehmann/docker,tkopczynski/docker,mikedougherty/docker,rillig/docker.github.io,skatsuta/docker,aduermael/docker.github.io,nghiant2710/docker,erikh/docker,hustcat/docker,mbanikazemi/docker,containers/storage,docker/docker.github.io,moypray/docker,crosbymichael/docker,KingEmet/docker,clintonskitson/docker,cmehay/docker-1,AkihiroSuda/docker,michael-holzheu/docker,ibuildthecloud/docker,estesp/docker,cyli/docker,sanscontext/docker.github.io,crosbymichael/docker,pradipd/moby,bdwill/docker.github.io,shin-/docker.github.io,gdevillele/docker.github.io,JeffBellegarde/docker,vdemeester/docker,catinthesky/docker,Shopify/docker,inatatsu/docker,jameszhan/docker,ZJU-SEL/docker,kyle-wang/docker,yosifkit/docker,konstruktoid/docker-upstream,bearstech/moby,denverdino/docker.github.io,hypriot/docker,Mokolea/docker,vincentwoo/docker,aidanhs/docker,ndeloof/docker,projectatomic/docker,cmehay/docker-1,mike1729/docker,whuwxl/docker,BSWANG/denverdino.github.io,gdevillele/docker.github.io,yasiramin10p/moby,tklauser/docker,carolfh/docker,abhinavdahiya/docker,erikh/docker,rickyzhang82/docker,scotttlin/docker,jimjag/docker,LuisBosquez/docker.github.io,coolljt0725/docker,ajaymdesai/docker,runcom/docker,srust/docker,zhuguihua/docker,pragyasardana/Docker-cr-combined,PatrickLang/moby,umerazad/docker,anweiss/docker.github.io,JimGalasyn/docker.github.io,rremer/moby,solganik/docker,isubuz/docker,dbonev/docker,harche/docker,dsheets/moby,HuKeping/docker,solganik/docker,Mokolea/docker,13W/docker,stevvooe/docker,tophj-ibm/docker,johnstep/moby-moby,pecameron/docker,ndeloof/docker,whuwxl/docker,konstruktoid/docker-upstream,tpounds/docker,Akasurde/docker,jzwlqx/denverdino.github.io,LuisBosquez/docker.github.io,moul/docker,imkin/moby,mtrmac/docker,gnailuy/docker,xiekeyang/docker,bluebreezecf/docker,yongtang/docker,duglin/docker,thtanaka/docker,xiekeyang/docker,michael-holzheu/docker,zhuohual/docker,justyntemme/docker,Morsicus/docker,ktraghavendra/docker,rhatdan/storage,bfirsh/docker,maxamillion/docker,mstanleyjones/docker,ColinHebert/docker,tonistiigi/docker,YuPengZTE/docker,charleswhchan/docker,bearstech/moby,13W/docker,crosbymichael/docker,noironetworks/docker,upmio/docker,cyli/docker,cloudflare/docker,trebonian/docker,arun-gupta/docker,csfrancis/docker,menglingwei/denverdino.github.io,sterchelen/docker,madhanrm/docker,fangyuan930917/docker,haveatry/docker,gnailuy/docker,softprops/docker,sarnautov/moby,SaiedKazemi/docker,danyalKhaliq10p/moby,allencloud/docker,denverdino/docker.github.io,BrianBland/docker,scollier/docker,JMesser81/docker,mohmost12/docker,danix800/docker.github.io,q384566678/docker,hallyn/docker,tkopczynski/docker,kerneltime/docker,scotttlin/docker,troy0820/docker.github.io,jzwlqx/denverdino.github.io,thtanaka/docker,portworx/docker,brahmaroutu/docker,pramodhkp/moby,BSWANG/denverdino.github.io,denverdino/denverdino.github.io,errordeveloper/docker,rancher/docker,BenHall/docker,alexisbellido/docker.github.io,xuxinkun/docker,coolljt0725/docker,jthelin/docker,dmcgowan/docker,shhsu/docker,ncdc/docker,rancher/docker,duglin/docker,yp-engineering/docker,resin-io/docker,dsheets/moby,xiaods/docker,tophj-ibm/moby,yp-engineering/docker,scollier/docker,Altiscale/docker,diogomonica/docker,Aegeaner/docker,mtrmac/docker,achanda/docker,ncdc/docker,johnstep/docker.github.io,tklauser/docker,q384566678/docker,tmp6154/docker,BenHall/docker,cpuguy83/docker,docker/docker.github.io,splunk/docker,inatatsu/docker,sallyom/docker,YuPengZTE/docker,tmp6154/docker,mahak/docker,justyntemme/docker,hqhq/moby,fsoppelsa/docker,coreos/docker,moxiegirl/docker,jhorwit2/docker,mtesselH/docker,djs55/docker,zhangjianfnst/docker,menglingwei/denverdino.github.io,jameszhan/docker,Syntaxide/docker,bfirsh/docker,hyperhq/hypercli,izarov/docker,noironetworks/docker,eskaaren/docker,mikebrow/docker,ZJUshuaizhou/docker,joeuo/docker.github.io,flavio/docker,laijs/moby,kyle-wang/docker,sfsmithcha/docker,mikebrow/docker,zhuohual/docker,tpounds/docker,Neverous/docker,willmtemple/docker,jc-m/docker,TheBigBear/docker,mauidev/docker,trebonian/docker,twaugh/docker,haveatry/docker,jlebon/docker,pecameron/docker,danix800/docker.github.io,Ramzec/docker,YujiOshima/docker,afein/docker,xuxinkun/docker,mariusGundersen/docker,thaJeztah/docker.github.io,gigidwan/docker,konstruktoid/docker-upstream,HackToday/docker,rancher/docker,kolyshkin/docker,13W/docker,troy0820/docker.github.io,ZJUshuaizhou/docker,medallia/docker,splunk/docker,endocode/docker,ZJU-SEL/docker,LuisBosquez/docker.github.io,allencloud/docker,nalind/docker,harche/docker,jloehel/docker,TheBigBear/docker,miminar/docker,q384566678/docker,mauidev/docker,umerazad/docker,upmio/docker,sunyuan3/docker,JimGalasyn/docker.github.io,sanscontext/docker.github.io,raja-sami-10p/moby,bearstech/moby,dccurtis/docker,jhorwit2/docker,Tenk42/docker,Syntaxide/docker,mgoelzer/docker,nghiant2710/docker,hustcat/docker,allencloud/docker,mikedougherty/docker,naveed-jamil-tenpearls/moby,nawawi/docker,ivansaracino/docker,jameszhan/docker,toli/docker,HackToday/docker,aduermael/docker.github.io,fcrisciani/docker,mtanlee/docker,michael-holzheu/docker,skatsuta/docker,brahmaroutu/docker,Shopify/docker,whuwxl/docker,DoraALin/docker,toli/docker,liaoqingwei/docker,stevvooe/docker,kunalkushwaha/docker,aditirajagopal/docker,mike1729/docker,laijs/docker,coreos/docker,aidanhs/docker,amatsus/docker,sean-jc/docker,KarthikNayak/docker,konstruktoid/docker-1,tagomoris/docker,portworx/docker,thaJeztah/docker.github.io,LuisBosquez/docker.github.io,shishir-a412ed/docker,londoncalling/docker.github.io,upmio/docker,supasate/docker,ckeyer/docker,johnstep/docker.github.io,noxiouz/docker,anweiss/docker.github.io,anujbahuguna/docker,Aegeaner/docker,Ramzec/docker,londoncalling/docker.github.io,yongtang/docker,johnstep/docker.github.io,luxas/docker,rillig/docker.github.io,konstruktoid/docker-1,tonistiigi/docker,asbjornenge/docker,abhinavdahiya/docker,tkopczynski/docker,jasonamyers/docker,thaJeztah/docker.github.io,fangyuan930917/docker,shubheksha/docker.github.io,mikedanese/docker,sfsmithcha/docker,KingEmet/docker,contiv/docker,BSWANG/denverdino.github.io,thtanaka/docker,sfsmithcha/docker,docker-zh/docker.github.io,konstruktoid/docker-1,mgoelzer/docker,troy0820/docker.github.io,Jimmy-Xu/hypercli,kunalkushwaha/docker,yummypeng/docker,isubuz/docker,michelvocks/docker,sallyom/docker,denverdino/denverdino.github.io,ItsVeryWindy/docker,ibuildthecloud/docker,phiroict/docker,erikstmartin/docker,imkin/moby,jecarey/docker,portworx/docker,thaJeztah/docker,madhanrm/docker,kojiromike/docker,madhanrm/docker,rillig/docker.github.io,dperny/docker,rhatdan/docker,hallyn/docker,mkumatag/docker,tophj-ibm/moby,phiroict/docker,Microsoft/docker,mssola/docker,docker/docker,icecrime/docker,jthelin/docker,xiekeyang/docker,fsoppelsa/docker,JeffBellegarde/docker,moul/docker,charleszheng44/moby,yp-engineering/docker,joaofnfernandes/docker.github.io,kolyshkin/moby,raja-sami-10p/moby,dgageot/docker,diogomonica/docker,alfred-landrum/docker,PatrickLang/moby,menglingwei/denverdino.github.io,ktraghavendra/docker,tbonza/docker,shubheksha/docker.github.io,ncdc/docker,dims/docker,swasd/baleno,contiv/docker,sanjeo/docker,justincormack/docker,abhinavdahiya/docker,ibuildthecloud/docker,stainboy/docker,hallyn/docker,amatsus/docker,ajaymdesai/docker,danix800/docker.github.io,jongiddy/docker,danyalKhaliq10p/moby,Tenk42/docker,yosifkit/docker,gnailuy/docker,Mashimiao/docker,rhatdan/storage,dbonev/docker,sterchelen/docker,fangyuan930917/docker,dsheets/moby,alexisbellido/docker.github.io,imeoer/hypercli,vdemeester/docker,yummypeng/docker,jlebon/docker,dperny/docker,catinthesky/docker,tianon/docker,jimjag/docker,cpswan/docker,JeffBellegarde/docker,Microsoft/docker,mtrmac/docker,JimGalasyn/docker.github.io,sean-jc/docker,rkazak/docker,laijs/moby,endophage/docker,SaiedKazemi/docker,carolfh/docker,JimGalasyn/docker.github.io,mikedougherty/docker,Test-Betta-Inc/psychic-barnacle,miminar/docker,kerneltime/docker,londoncalling/docker.github.io,tophj-ibm/docker,BenHall/docker,jvanz/docker,dperny/docker,rkazak/docker,contiv/docker,cpuguy83/docker,michelvocks/docker,unclejack/docker,swasd/baleno,jzwlqx/denverdino.github.io,yummypeng/docker,thaJeztah/docker,nghiant2710/docker,mstanleyjones/docker,catinthesky/docker,bdwill/docker.github.io,joaofnfernandes/docker.github.io,erikstmartin/docker,mahak/docker,kimh/docker,csfrancis/docker,skatsuta/docker,sunyuan3/docker,jc-m/docker,ajaymdesai/docker,Test-Betta-Inc/psychic-barnacle,YuPengZTE/docker,wenchma/docker,anujbahuguna/docker,cyphar/docker,mbanikazemi/docker,justyntemme/docker,noxiouz/docker,imeoer/hypercli,ZJUshuaizhou/docker,jlhawn/docker,docker-zh/docker.github.io,docker/docker,OnePaaS/docker,Aegeaner/docker,moul/docker,sdurrheimer/docker,shin-/docker.github.io,ajneu/docker,dccurtis/docker,fcrisciani/docker,shubheksha/docker.github.io,SvenDowideit/docker,rhatdan/docker,kunalkushwaha/docker,angryxlt/docker,ColinHebert/docker,clintonskitson/docker,xiaods/docker,shubheksha/docker.github.io,cyphar/docker,mathewkoshy493/docker,endocode/docker,SvenDowideit/docker,ffoysal/docker,moby/moby,Altiscale/docker,mixja/docker,solganik/docker,jecarey/docker,SaiedKazemi/docker,mkumatag/docker,alfred-landrum/docker,cpuguy83/docker,nigelpoulton/docker,eskaaren/docker,JMesser81/docker,moul/docker,fcrisciani/docker,HideoYamauchi/docker,ktraghavendra/docker,paralin/docker,sheimi/docker,menglingwei/denverdino.github.io,lixiaobing1/docker,Akasurde/docker,dmcgowan/docker,sanjeo/docker,sanscontext/docker.github.io,geekylucas/docker,icaoweiwei/docker,tagomoris/docker,arun-gupta/docker,cnaize/docker,vincentwoo/docker,charleswhchan/docker,unclejack/docker,achanda/docker,moby/moby,naveed-jamil-tenpearls/moby,moby/moby,supasate/docker,mtanlee/docker,Ramzec/docker,docker/docker.github.io,wenchma/docker,afein/docker,bdwill/docker.github.io,dims/docker,dnephin/docker,hypriot/docker,dims/docker,sarnautov/moby,medallia/docker,ibuildthecloud/docker,LaynePeng/docker,gjaskiewicz/moby,bluebreezecf/docker,arun-gupta/docker,gigidwan/docker,sarnautov/moby,jloehel/docker,jc-m/docker,justincormack/docker,Distrotech/docker,gjaskiewicz/moby,zhuguihua/docker,shishir-a412ed/docker,srust/docker,johnstep/moby-moby,paralin/docker,DoraALin/docker,OnePaaS/docker,qudongfang/docker,harche/docker,ajneu/docker,vincentwoo/docker,OnePaaS/docker,pyotr777/docker,dsau/docker,mtanlee/docker,sanscontext/docker.github.io,BrianBland/docker,dnephin/docker,cnaize/docker,mohmost12/docker,nalind/docker,charleswhchan/docker,tmp6154/docker,bdwill/docker.github.io,haveatry/docker,erikstmartin/docker,kencochrane/docker,mohmost12/docker,kerneltime/docker,kencochrane/docker,KingEmet/docker,jimjag/docker,Jimmy-Xu/hypercli,hyperhq/hypercli,erikh/docker,denverdino/docker.github.io,coolljt0725/docker,hyperhq/hypercli,mikedanese/docker,mtesselH/docker,mikebrow/docker,dccurtis/docker,sanscontext/docker.github.io,vijaykilari/docker,pyotr777/docker,djs55/docker,denverdino/docker.github.io,ailispaw/docker,softprops/docker,lixiaobing10051267/docker,ffoysal/docker,cnaize/docker,mtesselH/docker,achanda/docker,kimh/docker,maxamillion/docker,KarthikNayak/docker,ibuildthecloud/docker,Syntaxide/docker,moxiegirl/docker,endocode/docker,nawawi/docker,laijs/docker,sheimi/docker,luxas/docker,johnstep/moby-moby,rremer/moby,endophage/docker,ripcurld0/moby,kolyshkin/moby,tagomoris/docker,joaofnfernandes/docker.github.io,anujbahuguna/docker,charleszheng44/moby,msabansal/docker,anortef/docker,mssola/docker,johnstep/docker.github.io,dsau/docker,moxiegirl/docker,Mokolea/docker,bonczj/moby-json-file-logger,HuKeping/docker,LaynePeng/docker,14rcole/docker,gdevillele/docker.github.io,Collinux/docker,alexisbellido/docker.github.io,darrenstahlmsft/moby,aditirajagopal/docker,prertik/docker,denverdino/denverdino.github.io,docker-zh/docker.github.io,davinashreddy/docker,LaynePeng/docker,Distrotech/docker,rkazak/docker,aduermael/docker.github.io,afein/docker,s7v7nislands/docker,ItsVeryWindy/docker,BSWANG/denverdino.github.io,sdurrheimer/docker,noironetworks/docker,scotttlin/docker,sanjeo/docker,jvanz/docker,cmehay/docker-1,x1022as/docker,davinashreddy/docker,londoncalling/docker.github.io,umerazad/docker,joaofnfernandes/docker.github.io,TheBigBear/docker,laijs/moby,clintonskitson/docker,yasiramin10p/moby,dmcgowan/docker,errordeveloper/docker,davinashreddy/docker,paralin/docker,Collinux/docker,nawawi/docker,darrenstahlmsft/docker,gschaetz/moby,phiroict/docker,fsoppelsa/docker,tophj-ibm/docker,eskaaren/docker,hqhq/moby,tklauser/docker,coreos/docker,mssola/docker,jzwlqx/denverdino.github.io,gao-feng/docker,shin-/docker.github.io,phiroict/docker,darrenstahlmsft/moby,denverdino/docker.github.io,sallyom/docker,KarthikNayak/docker,joeuo/docker.github.io,moby/moby,kimh/docker,denverdino/denverdino.github.io,DoraALin/docker,bonczj/moby-json-file-logger,pyotr777/docker,lixiaobing10051267/docker,vijaykilari/docker,x1022as/docker,dgageot/docker,mixja/docker,runcom/docker,rhatdan/storage,stevvooe/docker,akira-baruah/docker,darrenstahlmsft/docker,medallia/docker,mike1729/docker,jongiddy/docker,jasonamyers/docker,menglingwei/denverdino.github.io,mixja/docker,liaoqingwei/docker,HuKeping/docker,softprops/docker,shhsu/docker,amatsus/docker,anusha-ragunathan/docker,gdevillele/docker.github.io,noxiouz/docker,pragyasardana/Docker-cr-combined,danyalKhaliq10p/moby,moypray/docker,joeuo/docker.github.io,naveed-jamil-tenpearls/moby,jongiddy/docker,pradipd/moby,dgageot/docker,sean-jc/docker,brahmaroutu/docker,14rcole/docker,qudongfang/docker,Mokolea/docker,TrumanLing/docker,cyli/docker,gschaetz/moby,thaJeztah/docker.github.io,geekylucas/docker,sdurrheimer/docker,Test-Betta-Inc/psychic-barnacle,asbjornenge/docker,londoncalling/docker.github.io,kencochrane/docker,POLJM242/docker,bfirsh/docker