Answer the question
In order to leave comments, you need to log in
How to create a file in a docker container?
Download grafana grafana/grafana.
I can't create my own file there (as an experiment).
I write in cmd
docker run -d -p 3000:3000 --name graf grafana/grafana
docker exec -it graf /bin/bash
echo "My file content" > my_file
bash: my_file Permission denied
id
uid=472(grafana) gid=0(root) groups=0(root)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question