yuandrk / Docker-Raspberry-PI-Stack

A docker-compose stack solution for monitoring host and containers with Prometheus, Grafana, cAdvisor and NodeExporter.
MIT License
0 stars 0 forks source link

Problem with mounted #1

Closed yuandrk closed 5 months ago

yuandrk commented 5 months ago
╭─       yuandrk@kub    ~/Docker-Raspberry-PI-Stack     dev                           3.07G    1.75    15:05:56   
╰─ sudo docker compose up  
[+] Running 1/1
 ✔ cadvisor Pulled                                                                                                                5.7s 
[+] Running 1/2
 ✔ Network docker-raspberry-pi-stack_internal  Created                                                                            0.5s 
[+] Running 7/7er-raspberry-pi-stack_default   Creating                                                                           0.2s 
 ✔ Network docker-raspberry-pi-stack_internal  Created                                                                            0.5s 
 ✔ Network docker-raspberry-pi-stack_default   Created                                                                            0.3s 
 ✔ Container open-webui                        Created                                                                            0.2s 
 ✔ Container monitoring-node-exporter          Created                                                                            0.2s 
 ✔ Container monitoring-cadvisor               Created                                                                            0.2s 
 ✔ Container monitoring-prometheus             Created                                                                            0.1s 
 ✔ Container monitoring-grafana                Created                                                                            0.1s 
Attaching to monitoring-cadvisor, monitoring-grafana, monitoring-node-exporter, monitoring-prometheus, open-webui
open-webui                | Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
open-webui                | Generating WEBUI_SECRET_KEY
Error response from daemon: path / is mounted on / but it is not a shared or slave mount
yuandrk commented 5 months ago

The problem was with snap, installation from the original repo fixes this problem, Below is information from the official source: Snap confines applications for security, which might lead to issues with shared mounts. Unfortunately, Snap does not support modifying Docker’s daemon.json directly because of its confinement model.