docker-influxdb-grafana
docker-influxdb-grafana copied to clipboard
error while creating mount source path
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!
No problems here on ubuntu 18.04.1
Did you try to run the 'run.sh' script?
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?
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.