Getting core dump in ECS using Bottlerocket OS #4140
Unanswered
josh-kim-resolver
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to configure Bottlerocket OS to generate core dumps when containers crash in ECS. My goal is to create a bind mount between the host and the container so that the core dumps are preserved after a crash. To do this, I need the core dumps to be saved in a specific directory where the bind mount is created. However, I'm facing an issue configuring
/proc/sys/kernel/core_pattern
on the host, which is used to specify the core dump location, because it's read-only and I can't find a way to work around this limitation.I read about bootstrap containers in the documentation and am wondering if they could be used to modify the
core_pattern
file. Any help or guidance on how to get core dumps in ECS using Bottlerocket OS would be greatly appreciated. Thanks!Beta Was this translation helpful? Give feedback.
All reactions