Jul 15 2017 06:41 PM
As per release notes nano server was optimized by removing powershell from it. How are you expected to administer it (or build using dockerfile) for that matter if no powershell is available?
Jul 16 2017 07:45 AM
Jul 16 2017 10:14 AM
Jul 17 2017 01:57 AM
Jul 17 2017 06:37 AM
Yes, so once you access nanoserver remotely, what do you on console if there is no powershell?
Jul 17 2017 02:00 PM
SolutionWith a Dockerfile, the multi-stage builds introduced in Docker 17.05 and COPY deployment.
Here is an example to put Node.js into a nanoserver-insider image without PowerShell: https://github.com/StefanScherer/dockerfiles-windows/blob/07cedcf2cc93e669bba9c961121feda6f43dab59/n...
If you need PowerShell and can't deploy with just COPY instructions and simple environment changes with setx.exe, then you can use "FROM microsoft/nanoserver-insider-powershell" which is slighly bigger than the "microsoft/nanoserver-insider" image.
Jul 17 2017 02:02 PM
I did not realize that there is separate image with powershell baked in. Based on release anouncement it looked like that there will be no base images anymore with powershell.
Aug 01 2017 02:31 AM
Aug 01 2017 02:40 AM
Jul 17 2017 02:00 PM
SolutionWith a Dockerfile, the multi-stage builds introduced in Docker 17.05 and COPY deployment.
Here is an example to put Node.js into a nanoserver-insider image without PowerShell: https://github.com/StefanScherer/dockerfiles-windows/blob/07cedcf2cc93e669bba9c961121feda6f43dab59/n...
If you need PowerShell and can't deploy with just COPY instructions and simple environment changes with setx.exe, then you can use "FROM microsoft/nanoserver-insider-powershell" which is slighly bigger than the "microsoft/nanoserver-insider" image.