Comments (8)
from mongo.
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.
from mongo.
my command as follow:
docker run --name mymongodb2 -p 27017:27017 -p 28018:28018 -d mongo:2.6.10
from mongo.
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.
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.
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.
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)
- Running the image by specifying a custom user HOT 2
- MongoDB 6.0 exited with code 48 HOT 1
- MONGO_INITDB_DATABASE not working HOT 5
- Failed to start Docker - storage.journal.enabled HOT 2
- Cannot create sharded cluster from version 5.0 HOT 2
- is the documentation broken? HOT 12
- MONGO_INITDB_ROOT_USERNAME / PASSWORD does not work on windows images
- Enhanced Query Builder for MongoDB Node.js Driver HOT 1
- Cannot run mongodb/mongodb-community-server:latest on Mac M2 HOT 1
- Incorrect initial password because of invalid behaviour of _js_escape HOT 2
- Considering updating the documentation to state that the default configuration of this container is insecure HOT 6
- PGP KEYS expired for Mongodb v3.6 HOT 2
- CVE-2023-29403 HOT 3
- Add an example to documentation for "Initializing a fresh instance" HOT 1
- docker run mongo failed
- Mongo 6.0+ Fails to Run Using WSL HOT 6
- Is it possible Docker without WSL?
- Need help with CVE-2023-24538, CVE-2023-24540, CVE-2024-21626 and CVE-2023-27561 HOT 4
- Not connecting in the mongodb compass - getaddrinfo ENOTFOUND db-mongo-node17 HOT 6
- Mongo container sends network requests to mysterious EC2 servers at AWS HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongo.