The bit after the image when running docker run
from the command line is the command
, which are arguments passed to the container’s entrypoint. So in your case, it would be command: -conf /root/Corefile
https://docs.docker.com/compose/compose-file/compose-file-v3/#command