windows-server-container

Azure ACS Kubernetes Windows Containers delayed access to internet

旧街凉风 提交于 2020-01-05 04:41:06
问题 I used the Azure portal to create an Azure ACS for windows containers yesterday 4/19/17. I find that whenever I deploy to it the container can't reach the internet for 2-3 minutes. I logged in to one of the nodes and manual created a container from the same image and it instantly can access the internet. One difference I see is that the kubernetes owned containers contain an additional transparentNet where the plain docker container only has a nat network. This is the test code I'm running

Error trying to create a scheduled task within Windows 2016 Core container

帅比萌擦擦* 提交于 2019-12-06 02:28:51
问题 I am trying to build a container which would include a custom scheduled task. This is my dockerfile: FROM microsoft/windowsservercore RUN schtasks /create /tn hello /sc daily /st 00:00 /tr "echo hello" I get the following error: ERROR: The task XML contains a value which is incorrectly formatted or out of range. (43,4):Task: I get the same error also when attaching to a running default windows core container and running the command. Needless to say, the command works well on standard windows

Error trying to create a scheduled task within Windows 2016 Core container

99封情书 提交于 2019-12-04 07:51:14
I am trying to build a container which would include a custom scheduled task. This is my dockerfile: FROM microsoft/windowsservercore RUN schtasks /create /tn hello /sc daily /st 00:00 /tr "echo hello" I get the following error: ERROR: The task XML contains a value which is incorrectly formatted or out of range. (43,4):Task: I get the same error also when attaching to a running default windows core container and running the command. Needless to say, the command works well on standard windows 2016 server. It seems like a bug in Windows containers, but I didn't find any known issue about it.