Docker Community Forums

Share and learn in the Docker community.

Dockerfile for creating the app pool and set properties in Poweshell


Can anyone provide a powershell script for running a app pool and set properties using powershell. I’m having a issue creating a dockerfile unable to build it successfully.

I’m using RUN Import-Module WebAdministration, It fails at the next line when it is using the SET-WEBBINDING

error response from daemon: dockerfile parse line1: unknown instruction: SET-WEBBINDING in dockerfile

If i run “RUN Powershell Import-Module WebAdministration” will there be any difference please suggest.