creat a directory which blow root authority
sudo mkdir grafana_datacheck

creat a compose file
sudo nano docker-compose.ymlwrite config
version: '3'
services:
grafana:
image: grafana/grafana:latest
container_name: grafana
restart: always
ports:
- 3000:3000
volumes:
- /home/zhaoyuqi/grafana_data:/var/lib/grafanarun this config file

But I found the image failed to run
After checking the log, it is found that the file permission error causes the operation failure
Modifying folder Permissions
`sudo chown -R 472:472 /home/zhaoyuqi/grafana_data`restart image, it has run properly
