bash - docker neo4j cannot connect to load csv from remote url -
i'm using following docker: https://registry.hub.docker.com/u/tpires/neo4j/
i've started docker neo4j container with:
docker run -i -t -d --name neo4j --cap-add=sys_resource -p 7474:7474 -p 80:80 tpires/neo4j and in neo4j interface, i'm trying load remote csv:
load csv "http://mywebsite.com/data/data.csv" line line limit 4 return line and fails connect.
so, attached docker container's bash , tried connect something:
docker-container$ curl "http://mywebsite.com/data/data/csv" and cannot connect, presumably because requests outside blocked
how open up?
i've run issue in past , has way boot2docker resolves hostnames ip addresses. follow thread understand more: how fix docker's "error pulling image...too many redirects" failures while pulling images registry?
follow these steps thread set boot2docker nameserver google's public dns.
osx$ boot2docker osx$ boot2docker ssh docker@boot2docker$ sudo su root root@boot2docker$ sudo echo "nameserver 8.8.8.8" > /etc/resolv.conf root@boot2docker$ sudo /etc/init.d/docker restart this modify boot2docker vm configuration resolve google's public nameserver. may need again if restart computer. hope fixes problem you.
Comments
Post a Comment