Right way to configure maintainer's docker image

Hi.

I want to run container from maintainer’s docker image. But i need to do some changes in configuration. I need change the configuration file or pass command line parameter to executable file. I can not find way to do any of this two things. Please show me right way to do this. Or only way to build my own docker image?

For example i have tried do this for https://hub.docker.com/_/arangodb/