Problem of maping localhost port number to Docker container inside Dockerfile

Can you show use the ouput of docker ps -a. I am currious if the container actualy keeps running…