Use the below dockerfile and run the command
FROM microsoft/iis:latest RUN powershell c: mkdir volume RUN powershell -NoProfile -Command Remove-Item -Recurse C:\inetpub\wwwroot* WORKDIR /inetpub/wwwroot COPY content/ . EXPOSE 80
docker run -d -h containername -v C:\Users\admin\Desktop\iis-demo\content:C:\volume -p 2001:80 dockerimage