How to disable core file dumps in docker container

前端 未结 3 1519
甜味超标
甜味超标 2021-01-04 02:02

My PHP container runs puppeteer to generate PDF. By generating a PDF document, it also creates two core dump files inside my container. I am not sure where they actually com

3条回答
  •  清歌不尽
    2021-01-04 02:43

    i have this problem too on the docker swarm service and --ulimit core=0 does not work in swarm service i used below command and worked for me in docker swarm service!

    sysctl -w kernel.core_pattern=/dev/null

提交回复
热议问题