I installed docker on a Raspberry Pi.
I created the docker group and added my current user (pi) in the new group so I don't have to sudo
my docker commands
A volume I want to use is created docker volume create appdemaon_config
Created in /var/lib/docker/volumes/appdaemon_config/_data
(root:root perms created by default)
Then when I start the container like so
docker run --rm --name=appdaemon -v appdaemon_config:/conf -p 5050:5050\
-e HA_URL="http://192.168.1.105:8123"\
-e ASH_URL="http://$HOSTNAME:5050" 76d1dca80fdaD`
(I also tried docker run with sudo, same result)
The script executed in the container is supposed to create 2 directories in the conf dir (which is the mounted volume) but it throws a permission error.
I'm not even allowed to ls
the volume with my pi user, I have to sudo.
What am I missing about the perms or perms execution of a docker container ?