Restart container increments port

I am new to docker, please excuse if this is a dumb question.

I installed the official Redmine docker image that is available directly through portainer. I am unsure how to view the compose file that was used, if any. Every time I restart this container, the exterior port gets incremented higher and higher. How can I stop that from happening?