Executar chown -R postgres postgres_data em /shared após entrar no contêiner Docker resolveu o problema.
chown -R postgres postgres_data
/shared