
docker fuse权限问题
docker fuse
At first, you should have docker image with installed fuse package inside container. For allow mount inside container need to run docker run command with --cap-add SYS_ADMIN --device /dev/fuse:/dev/fuse --security-opt apparmor:unconfined
For docker-compose need to put inside docker-compose.yml file:
cap_add:
- SYS_ADMIN
devices:
- /dev/fuse:/dev/fuse
security_opt:
- apparmor:unconfined