getting an error when running npm run env:start from Wordpress develop.
ERROR: for build_mysql_1 Cannot create container for service mysql: authorization denied by plugin pipelines: -v only supports $BITBUCKET_CLONE_DIR and its subdirectories
Are you using a mysql service in your build and are you mounting the mysql volume to a path other than $BITBUCKET_CLONE_DIR?
Based on the error you posted here, this looks to be the most likely reason for this error. For security reasons, we don't allow mapping volumes with a source outside $BITBUCKET_CLONE_DIR.
The workaround in this case would be to mount your volume inside of $BITBUCKET_CLONE_DIR (opt/atlassian/bitbucketci/agent/build/.* or /opt/atlassian/pipelines/agent/build/.*)
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events