You just forwarded the host port 8067 to the container port 8067. It will not change the port that the service in the container is listening on. Change only the host port and leave the container port as 5000.
docker run -d -p 8067:5000 identidock
What problem? I think it works as expected.
And please, use code blocks instead of quotes next time so codes, terminal outputs and log messages will be more readable:
You changed the container port again. Why? The service is listening on port 5000 and it will not listen on other ports unless you change the configuration of the application. Docker will not do that for you, it can’t, and you don’t even need that. You know on which port a service is listening in the container and you can forward a host port (any available) to that container port. So why do you expect the port to work, if the app uses port 5000 and you forward the host port to port 6768?
The only thing you should change is the host port (on the left side) and you don’t need to change the container port.