docker-monero-node icon indicating copy to clipboard operation
docker-monero-node copied to clipboard

Error running the container in Portainer CE

Open cachho opened this issue 1 year ago • 1 comments

Hey, I get the following error when trying to run this as a stack in portainer CE:

failed to deploy a stack: Network docker-monero-node_default  Creating
Network docker-monero-node_default  Created
Container monerod_grafana  Creating
Container monerod_nodemapper  Creating
Container monerod  Creating
Container monerod_exporter  Creating
Container monerod_prometheus  Creating
Container monerod  Created
Container monerod_nodemapper  Created
Container monerod_grafana  Created
Container monerod_exporter  Created
Container monerod_prometheus  Created
Container monerod_prometheus  Starting
Container monerod_nodemapper  Starting
Container monerod  Starting
Container monerod_grafana  Starting
Container monerod_exporter  Starting
Container monerod_nodemapper  Started
Container monerod_prometheus  Started
Container monerod  Started
Container monerod_exporter  Started
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/data/compose/21/files/grafana/grafana.ini" to rootfs at "/etc/grafana/grafana.ini": mount /data/compose/21/files/grafana/grafana.ini:/etc/grafana/grafana.ini (via /proc/self/fd/6), flags: 0x5001: 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

Maybe someone knows what to do?

portainer

cachho avatar Feb 04 '24 12:02 cachho

Grafana mounts a file onto it's filesystem which it looks like Portainer is not providing to it.

error mounting "/data/compose/21/files/grafana/grafana.ini" to rootfs at "/etc/grafana/grafana.ini"

Do either of these links work for you? Look old, but this is a config issue (or feature issue) with Portainer. Try these:

  • https://www.reddit.com/r/selfhosted/comments/vr19bh/comment/ksx2crh/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
  • https://www.reddit.com/r/portainer/comments/hssrrr/comment/fyf3qee/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

lalanza808 avatar Mar 20 '24 19:03 lalanza808