Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-17395

Docker Task "Detach container" still terminates container

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Low
    • Resolution: Not a bug
    • Affects Version/s: 5.10-OD-13-001, 5.10.3, 5.13.2, 6.0.0, 6.0.1
    • Fix Version/s: None
    • Component/s: Docker
    • Labels:
      None

      Description

      Summary

      When selecting Detach container in the Docker task, the container is still terminated.

      Steps to Reproduce

      1. Configure docker task like normal, selecting Detach container
      2. Run while true; do docker ps; done via command line
      3. Run build
        Notice Bamboo still terminates the container

      Expected Results

      Container should be left running in the background as when running docker run -d

      Actual Results

      Container is terminated

      Workaround

      1. Configure command or script task to run the container detached
        Info: Docker run reference

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jgiles@atlassian.com James Giles IV (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            16 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: