docker-compose chown: changing ownership of '.': Operation not permitted

redis sudo docker-compose up
Password:
Starting redis ... done
Attaching to redis
redis    | find: '.': Operation not permitted
redis    | chown: changing ownership of '.': Operation not permitted
redis exited with code 1

docker-compose.yml


image.png

这个是挂载数据引起的,目录的创建最好由 docker 自己建立

你可能感兴趣的:(docker-compose chown: changing ownership of '.': Operation not permitted)