Way of creting and using non root user account windows contianer in powershell console

The following Dockerfile commands are used to configure a Linux container to run as a non-root user:

ARG USERNAME=XXXXX
ARG USER_UID=XXXX
ARG USER_GID=$USER_UID
USER XXXXXX

Could you please provide the equivalent commands to configure a Windows container to run as a non-administrator (non-root) user, utilizing PowerShell syntax in the Dockerfile?

Okay, thank you, what is the link you shared PaybyPlateMA ?
is there any official docker documentation for creating a user in PowerShell console in windows container
If yes, could you please share

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.