Run PowerShell 5.1 in Windows Containers with Docker Desktop

preview_player
Показать описание
In my last video, we discussed how you can run PowerShell Core 6 and 7 in isolated Linux containers, so that they don't conflict with each other.

In response to that video, someone asked if they could run PowerShell 5.1 in a similar fashion. Technically yes, you can run PowerShell 5.1 in containers, but it is not compatible with Linux. Instead, you can run PowerShell 5.1 inside Windows containers using Windows Server Core base container images.

Producer: Trevor Sullivan

#PowerShell #Microsoft #Docker
Рекомендации по теме
Комментарии
Автор

Windows Admin here. Thank you for this video, understanding Docker from Windows perspective makes it a bit easy to understand.

kevindasilva
Автор

nice explanations sir,
i tried docker-compose windows PowerShell but same error
Step 2/9 : WORKDIR /app
failed to start service utility VM (createreadwrite): kernel 'C:\Program Files\Linux Containers\kernel' not found
are you getting?

mahendra_chaudhari
Автор

have the image of windows whith powershell 5.1?

KTMTRK
Автор

Nice..
I have one question inside container is it possible take remote connection using powershell

baluk
Автор

Hi

I installed docker desktop in windows, everything works fine but docker login cli not working giving timeout error

mdjahidulislam
Автор

Is there any way to run a windows gui app using the windows container?

vitalii-stinskii