I want to modify the core_pattern when building docker image, and my docker file is like this:
FROM centos:7
RUN echo "core-%e" > /proc/sys/kernel/core_pattern
Then I ran docker build and I get an error
/bin/sh: /proc/sys/kernel/core_pattern: Read-only file system
Anybody help?