更新に失敗しました (postgresql)

Docker コンテナに入ってから、/shared 以下で chown -R postgres postgres_data を実行することで解決しました。