amplab / docker-scripts

Dockerfiles and scripts for Spark and Shark Docker images
261 stars 102 forks source link

Cannot start nameserver #48

Closed jvanz closed 9 years ago

jvanz commented 9 years ago

Hi!

I'm trying to start a spark cluster but I have a problem with nameserver container. The deploy script is stuck in waiting for nameserver to come up. When I checked the nameserver container I can see the following logs:

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

dnsmasq: cannot access directory /etc/dnsmasq.d: Permission denied

The command I used was: sudo ./deploy/deploy.sh -i amplab/spark:1.0.0 -w 3 Am I forgetting some param? I tried passing -v flag and did not work...

jvanz commented 9 years ago

This solve my problem: http://stackoverflow.com/questions/24288616/permission-denied-on-accessing-host-directory-in-docker