docker_process.js
function() {
    var that = this;
    this.killed = true;
    if (this.started) {
      this.container.kill();
    } else {
      this.once('container start', function() {
        that.container.kill();
      });
    }
  }
function() {
    var that = this;
    this.killed = true;
    if (this.started) {
      this.container.kill();
    } else {
      this.once('container start', function() {
        that.container.kill();
      });
    }
  }
function ( ) { var that = this ; this . killed = true ; if ( this . started ) { this . container . kill ( ) ; } else { this . once ( 'container start' , function ( ) { that . container . kill ( ) ; } ) ; } }
Kill docker container
Kill docker container