Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start service mongo #3

Open
Guyr989-zz opened this issue Nov 18, 2018 · 0 comments
Open

Cannot start service mongo #3

Guyr989-zz opened this issue Nov 18, 2018 · 0 comments

Comments

@Guyr989-zz
Copy link

ERROR: for mongo Cannot start service mongo: driver failed programming external connectivity on endpoint mongo (90b8dd1b53fe2ff77d1468cff3a1f5f73e7c202fb66fb0678278aeab50278df1): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:27017:tcp:172.20.0.2:27017: input/output error
ERROR: Encountered errors while bringing up the project.

docker-compose.yml:
version: '3'
services:
app:
container_name: docker-node-mongo
restart: always
build: .
ports:
- '80:3000'
links:
- mongo
mongo:
container_name: mongo
image: mongo
ports:
- '27017:27017'

package.json:
{
"name": "docker-node-mongo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"body-parser": "^1.18.3",
"ejs": "^2.6.1",
"express": "^4.16.3",
"mongoose": "^5.2.7"
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant