Data directory "/var/lib/postgresql/data/pgdata" has wrong ownership

This is my Dockerfile
FROM microsoft/windowsservercore:10.0.14393.1944 AS download

SHELL [“powershell”, “-Command”, “$ErrorActionPreference = ‘Stop’; $ProgressPreference = ‘SilentlyContinue’;”]

ENV PG_VERSION 10.1-3

*RUN Invoke-WebRequest $(‘https://get.enterprisedb.com/postgresql/postgresql-{0}-windows-x64-binaries.zip’ -f $env:PG_VERSION) -OutFile ‘postgres.zip’ -UseBasicParsing ; *
*Expand-Archive postgres.zip -DestinationPath C:\ ; *
Remove-Item postgres.zip

*RUN Invoke-WebRequest ‘http://download.microsoft.com/download/0/5/6/056DCDA9-D667-4E27-8001-8A0C6971D6B1/vcredist_x64.exe’ -OutFile vcredist_x64.exe ; *
*Start-Process vcredist_x64.exe -ArgumentList ‘/install’, ‘/passive’, ‘/norestart’ -NoNewWindow -Wait ; *
Remove-Item vcredist_x64.exe

FROM microsoft/nanoserver:10.0.14393.1944

COPY --from=download /pgsql /pgsql
COPY --from=download /windows/system32/msvcp120.dll /pgsql/bin/msvcp120.dll
COPY --from=download /windows/system32/msvcr120.dll /pgsql/bin/msvcr120.dll

RUN setx /M PATH “C:\pgsql\bin;%PATH%”

EXPOSE 5432
CMD [“postgres”]
docker run -d -p 5435:5432 --name postgres postgres
it is creating container but not starting the container
please if anybody knows please reply
docker logs postgres
is also not showing any logs too