MongoDB sharded cluster in one container
4.9K
https://hub.docker.com/r/a2ikm/sharded-mongo
a2ikm/sharded-mongo is a container which runs a smallest sharded MongoDB cluster.
It is composed of one shard server, one config server, and one mongos process.
WARNING: this project focuses on simple CI usages and is insecure. Don't use it for production.
$ docker run --rm --publish 27017:27017 a2ikm/sharded-mongo
The mongos process listens the 27017 port for client connections.
It loads *.sh files or *.js files mounted at /docker-entrypoint-initdb.d.
We support the following versions:
They are from Docker official image.
Its Dockerfile and entrypoint script are managed on GitHub: https://github.com/a2ikm/docker-sharded-mongo
If you have an issue, please file it to https://github.com/a2ikm/docker-sharded-mongo/issues.
main branch# with latest version
$ make test
# with all versions
$ make test-all
src/N.N directory with Dockerfile etc..github/workflows/ci-N-N.yamlmake test-all definition in MakefileContent type
Image
Digest
sha256:23701ee42…
Size
276.8 MB
Last updated
over 1 year ago
docker pull a2ikm/sharded-mongo