How to run "sudo ./install.sh -cd" inside the docker file

how to run “sudo ./install.sh -cd” inside the docker file.
Tried many times but not succeeded. Let me know the way please.