How to get the ’from‘ field information of the multi-stage construction of the mirror, through the docker client

such as:

dockerfile:

FROM microsoft/aspnetcore-build:2.0 AS build-env
WORKDIR /app
# copy csproj and restore as distinct layers
COPY *.csproj ./
RUN dotnet restore
# copy everything else and build
COPY . ./
RUN dotnet publish -c Release -o out

# build runtime image
FROM microsoft/aspnetcore:2.0
WORKDIR /app
COPY --from=build-env /app/out .
ENTRYPOINT ["dotnet", "aspnetapp.dll"]

i want get froms[microsoft/aspnetcore-build:2.0 AS build-env, microsoft/aspnetcore:2.0]

Hi. Where do you want to get that?
If it is from within the container, i believe it is not possible.

similar to the docker inspect command, or other docker commands.
In short, I want to get through the mirror information。