Docker

docker  ps -a

docker rm e4

docker images

docker rmi  25

docker run --name solo-web-app-container -p 9000:80 solo-web-app:1.0.1

 docker rmi solo-web-app:1.0.1      >>Untagged: solo-web-app:1.0.1


=========================================================

manual docker support 'dockerfile'

FROM mcr.microsoft.com/dotnet/nightly/sdk:8.0 AS build

WORKDIR /src

COPY ./MyWebApp.csproj ./

RUN dotnet restore "MyWebApp.csproj"

COPY . .

RUN dotnet publish ./MyWebApp.csproj -c Release -o /app/


FROM mcr.microsoft.com/dotnet/sdk:8.0 AS final

WORKDIR /app

COPY --from=build /app .

ENTRYPOINT ["dotnet", "MyWebApp.dll"]