[SERVER-73700] Mongo 6.0.4 doesn't start in Docker in docker:19-dind Created: 07/Feb/23  Updated: 10/Feb/23  Resolved: 10/Feb/23

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

Type: Bug Priority: Major - P3
Reporter: Stéphane Olivier Assignee: Chris Kelly
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File mongo_log.txt    
Operating System: ALL
Steps To Reproduce:
  1. Start docker 19 dind

/ # docker run -d --name docker --privileged --rm docker:19-dind

  1. connect to docker 19 dind
    / # docker exec -it docker /bin/ash
  1. Start MongoDB 6.0.4 inside docker 19 dind
    / # docker run -it mongo:6.0.4
Participants:

 Description   

We use docker in docker in a gitlab Ci. 

Starting Mongo 6.0.4, the server doesn't start in Docker in Docker 19. It returns an exit code 14.

No issue with Mongo 6.0.3 and before.

No issue with docker:20-dind or docker:23-dind

Regards



 Comments   
Comment by Chris Kelly [ 10/Feb/23 ]

Hi stephane.olivier@ubisoft.com,

Note that the mongo Docker image is maintained by the Docker community. As such, we may not be able to provide much input here. For this issue we'd like to encourage asking for help by bringing up the issue there, or discussing this on the MongoDB Developer Community Forums.

Given that the issue is resolved by using Docker 20+ I am going to close this ticket, since it appears to be unrelated to the mongod directly. Thanks for updating the ticket with your findings!

If the discussion there leads you to suspect a bug in the MongoDB server, then we'd want to investigate it as a possible bug here in the SERVER project.

Regards,

Christopher

Comment by Stéphane Olivier [ 07/Feb/23 ]

Please decrease Priority as we have workaround by setting max version to 6.0.3 or use Docker in Docker 20+

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