To start the container, I am typing the following command:
sudo docker run -i -t -p 28000:27017 mongo:latest /usr/bin/mongod --smallfiles
B
This is an alternate way: Open a new terminal
mongo 127.0.0.1:28000
Your mongo shell starts in this terminal now.