How to get docker container to run like a VM?

I want to run the docker container close to the behavior of a VM. I need to tail syslog using Azure OMS Linux Agent which checks on port 25224 of localhost by default. I’m trying to check which port the syslog is running on, but there’s no result. Is there a solution for this?