We have CentOS 7.8 systemd enabled docker image. For some reason, we need the shutdown hook to perform some action before the container stop. We created a custom ENTRYPOINT