📅  最后修改于: 2022-03-11 14:50:22.648000             🧑  作者: Mango
# assume your volume directory
volumes:
- ./api:/usr/src/app
# change it to
volumes:
- ./api:/usr/src/app:Z
# :Z - will add permissions only to the current container label
# now add permission to you path
sudo chmod a+rwx -R /