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 sudomy 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 lsthe volume pi user, have sudo.

what missing perms or perms execution of docker container ?





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -