How to change port of an docker image?

Hello. I am trying to install youtrack.
[Docker Hub]

I need to change the port inside the youtrack container. When mapping my port to the container port in run mode
(-p 10088:10088) the app is not responding.

It only responds if I match against its original internal port (8080). I need the ports to match. How can I change this internal port?

The left-hand side before the colon is the host port. The right-hand side after the colon is the container port. Never change the container port, unless you understand the implication.