Creating Connection of an existing Database in an existing Docker Container

Hello! I want to create a connection from an existing Mongo DB collection to an existing Docker container. Can anybody see it out.

Thanks in advance!