This repository has been archived on 2020-08-11. You can view files and clone it, but cannot push or open issues or pull requests.
|
docker exec -it $1 mongo --eval "printjson(rs.initiate({_id: 'rs0', members: [ { _id: 0, host: 'localhost:27017' } ]}))"
|