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

Docker Task "Detach container" still terminates container

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a bug
    • Low
    • None
    • 5.10-OD-13-001, 5.10.3, 5.13.2, 6.0.0, 6.0.1
    • Docker
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: