Docker - Windows Container

Card Puncher Data Processing

About

Windows container type

Base Image

Docker - Image

Example

Docker

Example with several base image. The last one is used to build the image.

FROM microsoft/aspnetcore-build:1.1 AS build-env
WORKDIR /app

COPY *.csproj ./
RUN dotnet restore

COPY . ./
RUN dotnet publish -c Release -o out

FROM microsoft/aspnetcore:1.1
WORKDIR /app
COPY --from=build-env /app/out .
ENTRYPOINT ["dotnet", "MvcMovie.dll"]

See the sample list

Documentation / Reference





Discover More
Docker For Windows Switch Container Type
Docker - Containers

in Docker. A container is a running instance of an image. Docker containers only run as long as the command you specify is active. A container ID uniquely identifies a container. A container...
Card Puncher Data Processing
Docker - Image

This page is the container image in Docker. OCI is the standardized container format used by Docker where: sha256:e90fc3a is the , the machine readable version of the image (unique) (default to...
Card Puncher Data Processing
MS SQL Server - Docker

docker image of SQL Server Official Microsoft SQL Server Developer Edition images]] for Windows Containersmicrosoft/mssql-server-windows-developer...



Share this page:
Follow us:
Task Runner