I have a docker image bcgovimages/aries-cloudagent:py36-1.14-1_0.5.1 and to run it i gave following command
docker run -d -p 5001:5000 -p 10001:10000 --name p