Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 24 2015 10:42
    gianpaj closed #2
  • Mar 24 2015 10:41

    gianpaj on master

    Added Gitter badge Merge pull request #1 from gitt… (compare)

  • Mar 24 2015 10:41
    gianpaj closed #1
  • Mar 24 2015 10:41
    gitter-badger opened #2
  • Mar 24 2015 10:40
    gitter-badger opened #1
Gianfrancø Palumbo
@gianpaj
feel free to ask any questions here
playground
@playground
Hi, I'm creating a docker mongodb and am getting this error
mongorestore failed. Error: Command failed: mongorestore . --db cms --host mongodb://mongo:27017
mongo_1  | 2018-02-23T22:19:47.995+0000 I NETWORK  [listener] connection accepted from 172.18.0.3:34834 #1 (1 connection now open)
mongo_1  | 2018-02-23T22:19:48.000+0000 I NETWORK  [conn1] received client metadata from 172.18.0.3:34834 conn: { driver: { name: "nodejs", version: "2.2.34" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "4.9.60-linuxkit-aufs" }, platform: "Node.js v9.5.0, LE, mongodb-core: 2.1.18" }
web_1    | drop db cms & restoring cms in progress...
web_1    | mongorestore failed. Error: Command failed: mongorestore . --db cms  --host mongodb://mongo:27017
web_1    | /bin/sh: 1: mongorestore: not found
web_1    |
here is my docker-compose.yml
version: "2"
volumes:
  mongostorage:
services:
  web:
    build: ./
    volumes:
      - mongostorage:/data/db
    ports:
      - "3000:3000"
    links:
      - mongo
  mongo:
    image: mongo:3.6.2
    ports:
        - "27018:27017"