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

Containers won't connect to the nerwork #7

Open
rafalbraun opened this issue Aug 25, 2018 · 1 comment
Open

Containers won't connect to the nerwork #7

rafalbraun opened this issue Aug 25, 2018 · 1 comment

Comments

@rafalbraun
Copy link

I don't know how you (or I) did this but containers won't connect to the internet.

After cloning project and doing

docker-compose up --build

all I get is this for frontend:

npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/react failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-08-25T15_17_34_837Z-debug.log
ERROR: Service 'frontend' failed to build: The command '/bin/sh -c npm install' returned a non-zero code: 1

and this for api:

# git clone https://github.com/jinzhu/gorm /go/src/github.com/jinzhu/gorm
Cloning into '/go/src/github.com/jinzhu/gorm'...
fatal: unable to access 'https://github.com/jinzhu/gorm/': Could not resolve host: github.com
package github.com/jinzhu/gorm: exit status 128
ERROR: Service 'api' failed to build: The command '/bin/sh -c go get github.com/jinzhu/gorm' returned a non-zero code: 1

Setup:

docker version
Client:
Version: 1.13.1
API version: 1.26
Go version: go1.6.2
Git commit: 092cba3
Built: Thu Nov 2 20:40:23 2017
OS/Arch: linux/amd64

Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Go version: go1.6.2
Git commit: 092cba3
Built: Thu Nov 2 20:40:23 2017
OS/Arch: linux/amd64
Experimental: false

docker-compose version
docker-compose version 1.21.2, build a133471
docker-py version: 3.3.0
CPython version: 3.6.5
OpenSSL version: OpenSSL 1.0.1t 3 May 2016

@kusnandartoni
Copy link

I don't know how you (or I) did this but containers won't connect to the internet.

After cloning project and doing

docker-compose up --build

all I get is this for frontend:

npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/react failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-08-25T15_17_34_837Z-debug.log
ERROR: Service 'frontend' failed to build: The command '/bin/sh -c npm install' returned a non-zero code: 1

and this for api:

# git clone https://github.com/jinzhu/gorm /go/src/github.com/jinzhu/gorm
Cloning into '/go/src/github.com/jinzhu/gorm'...
fatal: unable to access 'https://github.com/jinzhu/gorm/': Could not resolve host: github.com
package github.com/jinzhu/gorm: exit status 128
ERROR: Service 'api' failed to build: The command '/bin/sh -c go get github.com/jinzhu/gorm' returned a non-zero code: 1

Setup:

docker version
Client:
Version: 1.13.1
API version: 1.26
Go version: go1.6.2
Git commit: 092cba3
Built: Thu Nov 2 20:40:23 2017
OS/Arch: linux/amd64
Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Go version: go1.6.2
Git commit: 092cba3
Built: Thu Nov 2 20:40:23 2017
OS/Arch: linux/amd64
Experimental: false

docker-compose version
docker-compose version 1.21.2, build a133471
docker-py version: 3.3.0
CPython version: 3.6.5
OpenSSL version: OpenSSL 1.0.1t 3 May 2016

i get same problem with this

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

2 participants