usually you don’t need to care about data directory with Docker micro-service (community) image. “likely” the check is simply wrong as it was changed with nc29 and shows some false positives now
There are some posts on the frum you can review the problem and techniques to verify if the data directory is in fact accessible from outside.. search for htaccess and similar topics