permissions - docker container unable to create directory in volume -
i installed docker on raspberry pi. created docker group , added current user (pi) in new group don't have sudo
my docker commands
a volume want use created docker volume create appdemaon_config
created in /var/lib/docker/volumes/appdaemon_config/_data
(root:root perms created default)
then when start container
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 tried docker run sudo, same result)
the script executed in container supposed create 2 directories in conf dir (which mounted volume) throws permission error.
i'm not allowed ls
the volume pi user, have sudo.
what missing perms or perms execution of docker container ?
wiki
Comments
Post a Comment