docker-library / docker-library/mongo

Windows docker image lacks mogosh and docker-entrypoint

Open
#708 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
1.1k
Forks
658
Avg merge
4h 40m
Merged PRs (30d)
1

Description

Hello,

I need to use Windows docker image to deploy mongodb. However, it lacks mogosh binary and an entrypoint script compared to what is available for Linux.
It is an issue for the following reasons:

  • Mongosh unavailability prevents the implementation of docker health check as it requires to execute a command from the container. It also prevents the execution of some useful commands such as replication enabling and data insertion.
  • The entrypoint provided in the Linux image is really convenient to set up a mongodb instance. Having it in Windows would save a lot of trouble.
  • Entrypoint also take care of the execution of mongo file from /docker-entrypoint-initdb.d/. It is also quite helpful.

Mongosh would really help to have a properly set up mongodb instance with docker on Windows. Do you think it could be added in Windows images, just like for Linux ?

Thanks !

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the existing Linux image packaging with the Windows image definitions, focusing on the mongosh binary, docker-entrypoint script, and /docker-entrypoint-initdb.d/ handling named in the issue. Done means the Windows image provides mongosh and equivalent initialization behavior, including execution of initialization files and support for container health checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mongodb
Domain
databases, devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.