Container mongo Started - Error response from daemon on kernel 7.0.13
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1.3k
- Forks
- 310
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 1
Description
I tried installing the newest version on my Fedora 44 with kernel 7.0.13. I know there is a issue (#322) with the almost same name and description but i think those are two separate problems.
Steps to Reproduce
Using:
-
bin/up
Initiating Mongo replica set...
[+] up 1/1
✔ Container mongo Started
Error response from daemon: Container <container_id> is restarting, wait until the container is running -
bin/start
[+] start 1/1
✘ Container mongo Error dependency mongo failed to start
dependency failed to start: container mongo is unhealthy
Analysis
The logs from mongodb container:
MongoDB cannot start: Linux kernel versions 6.19 and newer has a known incompatibility with this version of MongoDB. See https://jira.mongodb.org/browse/SERVER-121912 for more information.
Solution
I've found this post (https://www.mongodb.com/community/forums/t/mongodb-8-x-and-linux-kernel-6-19/337547) on the mongodb forum indicating the fix for the issue is upgrading to version 8.0.4.
I've tried and tested it a little and it looks like it works.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with bin/up and bin/start, then locate the MongoDB image or version configuration they use. Reproduce the failure on Fedora 44 with kernel 7.0.13 and verify that the configured MongoDB version starts successfully and the replica set initialization completes without an unhealthy container.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, mongodb, shell
- Domain
- database, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100