Git Product home page Git Product logo

Comments (8)

tianon avatar tianon commented on June 3, 2024

from mongo.

zhaozhiming avatar zhaozhiming commented on June 3, 2024

The same.

root@d137ee0efb51:/# mongo
MongoDB shell version: 2.6.10
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
    http://docs.mongodb.org/
Questions? Try the support group
    http://groups.google.com/group/mongodb-user
2015-07-02T06:07:51.972+0000 In File::open(), ::open for '' failed with errno:2 No such file or directory

from mongo.

tianon avatar tianon commented on June 3, 2024

from mongo.

zhaozhiming avatar zhaozhiming commented on June 3, 2024

my command as follow:

docker run --name mymongodb2 -p 27017:27017 -p 28018:28018 -d mongo:2.6.10

from mongo.

yosifkit avatar yosifkit commented on June 3, 2024

As much as I would like to find the cause of the problem, I am unable to reproduce this.

$ docker run -d --name mymongodb2 -p 27017:27017 -p 28018:28018 mongo:2.6.10
$ docker exec -it mymongodb2 bash
root@9ab344f81c2f:/# mongo
MongoDB shell version: 2.6.10
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
    http://docs.mongodb.org/
Questions? Try the support group
    http://groups.google.com/group/mongodb-user
> 
bye

from mongo.

tianon avatar tianon commented on June 3, 2024

I can't seem to reproduce this either:

$ docker pull mongo:2.6
2.6: Pulling from mongo

104de4492b99: Already exists 
065218d54d7d: Already exists 
bb2fbb9da757: Already exists 
2ee3edbbf31e: Already exists 
7fbceb4b229f: Already exists 
2f065532662e: Already exists 
3e4f78a08c18: Already exists 
e8fc4011fbef: Already exists 
6daf1c335d52: Already exists 
612fba0c1a2a: Already exists 
8d340ef20afd: Already exists 
1654fc0e2329: Already exists 
22e7eb22f0ec: Already exists 
5b8f5695068b: Already exists 
Digest: sha256:bf96fcc7299a2b7ac0902f57f5f66bd06d8e4ed43703c24053aad597eb80818a
Status: Image is up to date for mongo:2.6
$ docker run --name some-mongo -d mongo:2.6
592dc31486b44beebc27273fdb0787d047fc70cb5e9822e1be69134da5fa3534
$ docker exec -it some-mongo bash
root@592dc31486b4:/# mongo
MongoDB shell version: 2.6.10
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
    http://docs.mongodb.org/
Questions? Try the support group
    http://groups.google.com/group/mongodb-user
> 

from mongo.

zhaozhiming avatar zhaozhiming commented on June 3, 2024

I use OSX and use boot2docker to run the docker, I don't know isn't it the reason of the problem, I will try on the Linux latter. Thanks.

from mongo.

zhaozhiming avatar zhaozhiming commented on June 3, 2024

I had tried the docker image on Ubuntu14.04, and I didn't find it have this problem, thanks all.

vagrant@vagrant-ubuntu-trusty-64:~$ sudo docker run --name mymongodb2 -p 27017:27017 -p 28018:28018 -d mongo:2.6.10
f45fcaa8f166fea37991aff7b8a36b1cb5ec9f69f6fc67471d0e5d0162c00529
vagrant@vagrant-ubuntu-trusty-64:~$ sudo docker ps
CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS              PORTS                                                NAMES
f45fcaa8f166        mongo:2.6.10        "/entrypoint.sh mong   5 seconds ago       Up 5 seconds        0.0.0.0:27017->27017/tcp, 0.0.0.0:28018->28018/tcp   mymongodb2          
vagrant@vagrant-ubuntu-trusty-64:~$ sudo docker exec -it mymongodb2 bash
root@f45fcaa8f166:/# mongo
MongoDB shell version: 2.6.10
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
        http://docs.mongodb.org/
Questions? Try the support group
        http://groups.google.com/group/mongodb-user

from mongo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.