docker-influxdb-grafana icon indicating copy to clipboard operation
docker-influxdb-grafana copied to clipboard

error while creating mount source path

Open SteveEdson opened this issue 6 years ago • 3 comments

Hey,

Thanks for this, it's a big help. When I try to start it, I get the error:

ERROR: for influxdb  Cannot start service influxdb: error while creating mount source path '/srv/docker/influxdb/data': mkdir /srv/docker: read-only file system

Any idea why this would be? I'm running it on Ubuntu. Thanks!

SteveEdson avatar Jun 20 '18 15:06 SteveEdson

No problems here on ubuntu 18.04.1

Did you try to run the 'run.sh' script?

lauer avatar Aug 14 '18 20:08 lauer

echo "Current database list" curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=glances" --data-urlencode "q=SHOW DATABASES"

Current database list
curl: (7) Failed to connect to localhost port 8086: Connection refused

does anyone know how to fix it?

freelanseod avatar May 21 '19 10:05 freelanseod

If you're using Docker on Mac OSX, open Docker in the system menu, open preferences, file sharing then add an entry of '/srv/docker', apply and restart.

AranScope avatar Nov 25 '19 19:11 AranScope