-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
STM 2022-01-24
It looks like you can't kill PID 1 in Docker (https://unix.stackexchange.com/questions/457649/unable-to-kill-process-with-pid-1-in-docker-container), which is why core dumps weren't working. We need to change the docker-compose.yml entrypoint to be a shell script that starts `mongod` instead of directly starting `mongod` as the entrypoint. This makes it so that `mongod` is not PID 1. This is what we do with `mongos`, which is why the core dump for `mongos` worked as expected.
We also need to volume mount the data directory out of the images so that Antithesis can get us the data files for each node.