How can I pass -javaagent parameter with a java program

I have an image created from a Dockerfile and this is running java application. How can I pass -javaagent paramater without changing the dockerfile

by providing a command when calling docker run or by overwriting --entrypoint.
difficult to say without seeing your Dockerfile.
Could you post your Dockerfile?