Error in phpMyAdmin v4

A $cfg[‘TempDir’] (/var/www/htdocs/ee-admin/pma/tmp/ 1) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.

I created a pma and tmp folder inside the ee-admin/var/lib/docker/volumes/site_htdocs/_data/htdocs/ee-admin/

The path is different but it was the only ee-admin folder that I found. I gave 777 permissions for the folders and even then the problem still exists.