Skip to content

Instantly share code, notes, and snippets.

@KonstKh
Last active December 7, 2017 13:41
Show Gist options
  • Save KonstKh/aab8733cc0ea4cf868d4c09edde63c00 to your computer and use it in GitHub Desktop.
Save KonstKh/aab8733cc0ea4cf868d4c09edde63c00 to your computer and use it in GitHub Desktop.
Mongo replica creation log
docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
manager1 - virtualbox Running tcp://192.168.99.106:2376 v17.11.0-ce
worker1 - virtualbox Running tcp://192.168.99.107:2376 v17.11.0-ce
worker2 - virtualbox Running tcp://192.168.99.108:2376 v17.11.0-ce
$ bash < create-replica-set.sh
···························
·· swtiching >>>> manager1 server ··
···························
·· creating container >>>> mongoNode1 ··
·· configuring container >>>> mongoNode1 ··
mongo_storage
Unable to find image 'mongo:latest' locally
latest: Pulling from library/mongo
d13d02fa248d: Pull complete
bc8e2652ce92: Pull complete
3cc856886986: Pull complete
c319e9ec4517: Pull complete
b4cbf8808f94: Pull complete
e42648c7b452: Pull complete
e7e90de8250c: Pull complete
79cb3632c471: Pull complete
2064ebfec006: Pull complete
b6cde40b0905: Pull complete
Digest: sha256:18b239b996e0d10f4ce2b0f64db6f410c17ad337e2cecb6210a3dcf2f732ed82
Status: Downloaded newer image for mongo:latest
c7675b1897d8e7057012636bd0b2deb8c47ca76aae1fe834435688dfe8177e1f
·· copying files to container >>>> mongoNode1 ··
·· removing container >>>> mongoNode1 ··
mongoNode1
·· recreating container >>>> mongoNode1 ··
a657b8928954f14d749b9840a6088106935c618ee52d646473b63a86a01b0a10
IP == 192.168.99.106 PORT == 27017
>>>>>>>>>>> waiting for mongodb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment