You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was troubleshooting a hung process problem in container, I found that I could not access the container (running for 6 weeks) as the password of the account expired.
As I also found a container running for 3 weeks, I can access it.
I checked the user running the container, which is tempUserInConatiner (Sorry for the typo :) ). This user was added via dockerFile as shown below.
RUN NET USER /add tempUserInConatiner
USER tempUserInConatiner
As I didn't specify the password, and neither did I set a expiration. So I am wondering what would be the default expiration time (some value from 3 to 6 weeks?) of an account in Windows Container? May I extend it to a longer one or even infinite? Thanks.
The text was updated successfully, but these errors were encountered:
When I was troubleshooting a hung process problem in container, I found that I could not access the container (running for 6 weeks) as the password of the account expired.
As I also found a container running for 3 weeks, I can access it.
I checked the user running the container, which is tempUserInConatiner (Sorry for the typo :) ). This user was added via dockerFile as shown below.
As I didn't specify the password, and neither did I set a expiration. So I am wondering what would be the default expiration time (some value from 3 to 6 weeks?) of an account in Windows Container? May I extend it to a longer one or even infinite? Thanks.
The text was updated successfully, but these errors were encountered: