What should I do if I encounter mongodb when I am working on the Dockerfile nodejs project on daocloud and it is not started?

  node.js, question

图片描述
Running my nodejs project on daocloud met
图片描述
Dockerfile

YoursMongoDBNot onNode.jsThis container (of course, it is not recommended to put it in the same container), so you pass127.0.0.1Is not directly accessible, suggest you have a lookdocker runhit the target--linkThis instruction understands how to share network connections between containers so that yourNode.jsContainer access toMongoDBContainer.