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
I want to use Windows EC2 containers in AWS Batch. I'm facing one issue that we can't really specify different than host networkMode when docker container is starting in EC2 instance. Even when I change task definition in ECS it is always replaced with host networkMode at the end. I noticed there's hardcoded network mode in https://github.com/aws/amazon-ecs-agent/blob/master/ecs-init/docker/docker.go#L54. Could that be the reason? If yes, is there any way how to override it with AWS Batch or AWS ECS?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I want to use Windows EC2 containers in AWS Batch. I'm facing one issue that we can't really specify different than
host
networkMode when docker container is starting in EC2 instance. Even when I change task definition in ECS it is always replaced withhost
networkMode at the end. I noticed there's hardcoded network mode in https://github.com/aws/amazon-ecs-agent/blob/master/ecs-init/docker/docker.go#L54. Could that be the reason? If yes, is there any way how to override it with AWS Batch or AWS ECS?Beta Was this translation helpful? Give feedback.
All reactions