[SERVER-77678] Docker images not working as expected Created: 01/Jun/23  Updated: 01/Jun/23  Resolved: 01/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Filipe Constantinov Menezes Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-75583 Provide the official images for other... Closed
Operating System: OS X
Steps To Reproduce:

I'm running

docker run --name mongodb -p 27017:27017 mongodb/mongodb-community-server:6.0-ubi8

On the other terminal

mongosh mongodb://localhost:27017

And I get

MongoServerSelectionError: connection <monitor> to 127.0.0.1:27017 closed

Participants:

 Description   

I believe our docker images are not working as expected.
The instructions in https://www.mongodb.com/compatibility/docker no longer connect to me.

It definitely worked for me during skunkworks around March.

the logs from container are

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Warning: File MONGO_INITDB_ROOT_USERNAME_FILE is deprecated. Use MONGODB_INITDB_ROOT_USERNAME_FILE instead.
Warning: File MONGO_INITDB_ROOT_PASSWORD_FILE is deprecated. Use MONGODB_INITDB_ROOT_PASSWORD_FILE instead.

Image is latest sha 34f497067c366b920d35b1d90753e71a4849485ee14d05d20f59cd6dd5a245b8 and my laptop is a Mac M1 and I'm using Docker Desktop for Mac



 Comments   
Comment by Filipe Constantinov Menezes [ 01/Jun/23 ]

originally reported on slack thread 

Generated at Thu Feb 08 06:36:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.