raaaimund / internet-speed-monitor

Internet speed monitor with speedtest.net, Grafana, Telegraf, InfluxDB and Docker
26 stars 12 forks source link

Error when staring up with portainer #8

Open RichardSchulz52 opened 1 year ago

RichardSchulz52 commented 1 year ago

When i try to start the stack with portainer via repository i get the following error:

Container internet-speed-monitor-speedtester-1 Started 
Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495:
container init caused: rootfs_linux.go:60: mounting "/data/compose/21/telegraf/telegraf.conf" to rootfs at "/var/lib/docker/overlay2/17ac96b8523ba2911532177a13c052635cb5b03b825d1a02c07aade1db8b59eb/merged/etc/telegraf/telegraf.conf" 
caused: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

Is there is difference in using portainer or running it by hand? I am not very familiar with compose. I know basic docker.

raaaimund commented 1 year ago

Mmmh, it seems that required files cannot be found (e.g. telegraf/telegraf.conf). How do you add the container/image to portainer? Do you use portainer locally (inside a docker container)?

RichardSchulz52 commented 1 year ago

I use the web interface of portainer to create a stack. Portainer supports stack creation with git repositories. So I paste the url and the location of the compose file. That's all.

Yes portainer itself is listed as container and therefore runs in docker.

Raimund @.***> schrieb am Fr., 27. Jan. 2023, 19:47:

Mmmh, it seems that required files cannot be found (e.g. telegraf/telegraf.conf). How do you add the container/image to portainer? Do you use portainer locally (inside a docker container)?

— Reply to this email directly, view it on GitHub https://github.com/raaaimund/internet-speed-monitor/issues/8#issuecomment-1406938562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUFD5XFLZJPM3GA3IL7ACM3WUQJ5FANCNFSM6AAAAAAUI46WDI . You are receiving this because you authored the thread.Message ID: @.***>