Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54473

ECS plugin cannot start Windows containers

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • amazon-ecs-plugin
    • None
    • amazon-ecs-plugin 1.17
    • v1.18

    Description

      The requirement for a task definition for Windows is to leave the network mode as default.  It is not possible to do that currently with current plugin.  It forces: none,host,awsvpc or bridge.  Default is required for Windows containers.

      See here: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#network_mode

      Excerpt: Docker for Windows uses a different network mode (known as NAT) than Docker for Linux. When you register a task definition with Windows containers, you must not specify a network mode. If you use the AWS Management Console to register a task definition with Windows containers, you must choose the default network mode.

      Attachments

        Activity

          Also attempted to use the TaskOverride but it is also failing.  No debug logging why its failing, so its impossible at the moment to debug.

           

          So Windows users are blocked for the time being.  Last known version we use is 1.14.

          carpnick2 Nick Carpenter added a comment - Also attempted to use the TaskOverride but it is also failing.  No debug logging why its failing, so its impossible at the moment to debug.   So Windows users are blocked for the time being.  Last known version we use is 1.14.
          carpnick2 Nick Carpenter added a comment - PR created -  https://github.com/jenkinsci/amazon-ecs-plugin/pull/76

          People

            pgarbe Philipp Garbe
            carpnick2 Nick Carpenter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: