mongo-replica-with-docker
mongo-replica-with-docker copied to clipboard
I can't go beyond the the recreating the nmongoNode1
Here is the error I am stuck with:
_docker exec mongoNode1 bash -c 'mongo < /data/admin/replica.js'
Error response from daemon: Container dcd43fd48802e8351b428933226e972f6f12f4fc1113fd542ef14e7069a15302 is not running_
I tried to start and attach the container but it does not seem to work for me:
docker start -a mongoNode1 2017-07-15T18:47:36.882+0000 I ACCESS [main] permissions on /data/keyfile/mongo-keyfile are too open
it works, check this video to se how the flow goes mongo-replica-with-docker
We are also getting the same error, we are using docker in window PC
Error response from daemon: Container 3803304e9ec60a6fa795eee39e1437aa60e5371d17 0328c762075e737a4c5aa4 is not running ·· copying files to container >>>> mongoNode1 ·· no such directory no such directory no such directory Error response from daemon: Container 3803304e9ec60a6fa795eee39e1437aa60e5371d17 0328c762075e737a4c5aa4 is not running ·· removing container >>>> mongoNode1 ·· mongoNode1 Error getting IP address: Host is not running Error getting IP address: Host is not running Error getting IP address: Host is not running ·· recreating container >>>> mongoNode1 ·· invalid argument "manager1:" for "--add-host" flag: invalid IP address in add-ho st: "" See 'docker run --help'. Error getting IP address: Host is not running IP == PORT == 27017
waiting for mongodb
Solution :The small files operator has been removed in the latest mongodb container