On 9/9/22 00:08, Perry Smith wrote:
The data directory is outside so it is persistent.  The pg_stat_tmp is inside 
the data directory.

Ah, that's the reason. Docker daemon runs as root so if you do binding mount, files will be owned by root. You may want to use normal Docker volume and not an external directory.

--
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com

Reply via email to