Centos 7 hang after docker container running for a while (~12 hours)?

I using Centos7 and install Docker on this.After about 12 hours that it crashes.I set up log the /etc/docker/daemon.json on Docker with information:
errordocker
If I stop Docker then is doesn’t crash but I start Docker and create Swarm then build small image portainer and porainer agent then that it crashes after about 12 hours.