Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-4183

Docker provisioner can't destroy when container is stopped

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.4.0, 3.3.1
    • docker, provisioner
    • None

    Description

       

      When docker container is stopped, docker provisioner cannot remove container and existing files.

      This can occur when Docker is stopped unintentionally (e.g. misconfigured startup options) or when the host is restarted.

       

      $docker ps
      CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
      $docker ps -a
      CONTAINER ID   IMAGE                              COMMAND        CREATED          STATUS                        PORTS     NAMES
      9cb4c13473c6   bigtop/puppet:trunk-ubuntu-22.04   "/sbin/init"   17 seconds ago   Exited (255) 16 seconds ago             20240806_221757_r15031-bigtop-1
      93412f7ff86b   bigtop/puppet:trunk-ubuntu-22.04   "/sbin/init"   17 seconds ago   Exited (255) 16 seconds ago             20240806_221757_r15031-bigtop-2
      975156c77b18   bigtop/puppet:trunk-ubuntu-22.04   "/sbin/init"   17 seconds ago   Exited (255) 15 seconds ago             20240806_221757_r15031-bigtop-3
      $cat .provision_id
      20240806_221757_r15031
       
      $./docker-hadoop.sh -dcp -d
      Error response from daemon: No such container: bash
      

       

       

      Attachments

        Issue Links

          Activity

            People

              yamasakisua Shuhei Yamasaki
              yamasakisua Shuhei Yamasaki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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