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