docker container exited immediately after python script execution:
docker run -t -i -v /root/test.py:/test.py zookeeper python test.py (test.py starts zookeeper service )
The command is successful but exits immediately with out starting container. I could NOT start the container with "docker start container id".
Manually running "python test.py" is successful inside container but not during "docker run ...."