Hi @Isaac_Martin,

Could you share the docker instance configuration of your local atlas?
Providing the atlas image name in the URI should be the trigger, also consider using only the service name in your client string (I.e. SERVICE_NAME=mongodb, so CONNECTION_STRING=“mongodb”). Additionally, could you provide the code snippet where you instantiate the client?

I have a suspicion, that there is an underlying part of the implemented code that is making a MongoClient() call with no passed URI, that will automatically look for localhost:27017.

As an additional test, can you place a snippet in your code that does this before anything else boots:

from pymongo import MongoClient

client = MongoClient(CONNECTION_STRING)
client.admin.command('ping')

and check if it raises any error. If it does not raise an error that confirms my earlier suspicion. Otherwise, that means there may be another issue with the atlas configurations service or that the docker image isn’t running.

Hope this helps!