Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11263

Docker unable to remove container image because container is running

Details

    Description

      Sometimes Jenkins jobs fail to cleanup the container images because the container is not yet shutdown. The failure looks like this,

       

      14:41:52 Error response from daemon: conflict: unable to remove repository reference "us.gcr.io/apache-beam-testing/java-postcommit-it/java:20201113182944" (must force) - container c28427d037c9 is using its referenced image 55ebc4bc6c8c
      

      Adding the `–force` flag to the rmi command should resolve the issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tysonjh Tyson Hamilton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m