Sign inSign up

lorry/dx_base

By lorry

•Updated over 9 years ago

An image for Asp.Net project which is based on DevExtreme control.

Image
1

86

lorry/dx_base repository overview

⁠This image contains:
  • Windows Server Core as the base OS
  • IIS 10 as Web Server
  • .NET Framework 4.6.2 (or 3.5)
  • .NET Extensibility for IIS
  • DevExpressComponents-16.1.2
⁠How to use these Images:
  • Create a Dockerfile like this:
FROM dx_base

# Next, this Dockerfile creates a directory for your application
RUN mkdir C:\www

# configure the new site in IIS.
RUN powershell -NoProfile -Command \
    Import-module IISAdministration; \
    New-IISSite -Name "ASPNET" -PhysicalPath C:\www -BindingInformation "*:8000:"

# This instruction tells the container to listen on port 8000. 
EXPOSE 8000
  • Create a Script to start building process:
docker build -t dxdocker .
docker images
docker run -d -v C:\dxweb:C:\www -p 8000:8000 --name dxweb dxdocker
docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" dxweb
  • You can connect the running container using the IP address

Tag summary

Content type

Image

Digest

Size

6.9 GB

Last updated

over 9 years ago

docker pull lorry/dx_base:dx-16.1.2