Connect the docker mongodb container

Now the state is like that

50e260fb9e06 is ubuntu, has been installed mongodb and mongod has started the background
Curl is

It looks like you are trying to access MongoDB over HTTP on the native driver port. 

Show mongod normal work, but i use the connection tool to connect like this:

The connection failed, and then I went to a container on the operation:

Direct connection is successful ah. What is this going on?

Heads up! This alert needs your attention, but it's not super important.