mongo-shard-docker-compose's People
Forkers
naph choirudinemcha armdev tongzcomradez richmondwang wangke1020 fanglinks catalsdevelop rajesh-sharma-0490 zerotucks iambigz wahello bump44 kranian nthomson-pivotal ardiereally kerryjava qinyujia ittiel mannychang myzero1 vimal6 awanio zhwei820 todddill andresdpg vancezhao jedsada-gh github-clonner thiagoalmeidasa hkhemici naddame youtechno joat-hp thanhbn87 hmrizin techierishi kuanchichiu jpeckham sgerli radityapujamurti sergej-kucharev puennaja anhdiepmmk mechoriet corpdesk boaglio almamuncsit calvinloke packet23 smarchint johan14 jeven2016 avpatel257 luizsn00 pop-guo sailing0505 raychorn osule anisse-imer krishnamurtypmongo-shard-docker-compose's Issues
Error: network error while attempting to run command 'isMaster' on host '127.0.0.1:27017'
Got fthe following error when i want to connect from outside the container.
manuels-mbp:mongo-shard-docker-compose-master vogtlaenderm$ mongo MongoDB shell version v3.6.5 connecting to: mongodb://127.0.0.1:27017 2018-06-04T17:15:55.898+0200 E QUERY [thread1] Error: network error while attempting to run command 'isMaster' on host '127.0.0.1:27017' : connect@src/mongo/shell/mongo.js:251:13 @(connect):1:6 exception: connect failed
SocketException
after docker-compose up -d
, I stated the init.sh script but it returned the following error:
ERROR: No container found for config01_1 ERROR: No container found for shard01a_1 ERROR: No container found for shard02a_1 ERROR: No container found for shard03a_1 MongoDB shell version v4.2.8 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb 2020-09-14T03:18:11.882+0000 E QUERY [js] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused : connect@src/mongo/shell/mongo.js:341:17 @(connect):2:6 2020-09-14T03:18:11.884+0000 F - [main] exception: connect failed 2020-09-14T03:18:11.884+0000 E - [main] exiting with code 1
update needed for Mongodb v4.2 in docker compose file
https://docs.mongodb.com/manual/reference/configuration-options/
Removed MMAPv1 Options
--noprealloc --smallfiles
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.