mongo-replica-with-docker icon indicating copy to clipboard operation
mongo-replica-with-docker copied to clipboard

I can't go beyond the the recreating the nmongoNode1

Open alok15ee opened this issue 7 years ago • 3 comments

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

alok15ee avatar Jul 15 '17 18:07 alok15ee

it works, check this video to se how the flow goes mongo-replica-with-docker

crizstian avatar Jul 15 '17 19:07 crizstian

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

rockers007 avatar May 22 '21 09:05 rockers007

Solution :The small files operator has been removed in the latest mongodb container

rockers007 avatar May 22 '21 09:05 rockers007