hunk.code_window:       },
         runSwarm: {
           command: [
             'docker stop portainer',
             'docker rm portainer',
             'docker run -d -p 9000:9000 --name portainer portainer -H tcp://10.0.7.10:2375'
           ].join(';')
         },
         runSwarmLocal: {
           command: [
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:           'docker run -d -p 9000:9000 --name portainer portainer -H tcp://10.0.7.10:2375 --no-analytics'
  
hunk.file_path: gruntfile.js
hunk.type: replace
file: function TemplateViewModel(data) {
    this.Title = data.title;
    this.Description = data.description;
    this.Logo = data.logo;
    this.Image = data.image;
    this.Registry = data.registry ? data.registry : '';
    this.Command = data.command ? data.command : '';
    this.Network = data.network ? data.network : '';
    this.Env = data.env ? data.env : [];
    this.Volumes = [];
    if (data.volumes) {
      this.Volumes = data.volumes.map(function (v) {
        return {
          readOnly: false,
          containerPath: v,
          type: 'auto'
        };
      });
    }
    this.Ports = [];
    if (data.ports) {
      this.Ports = data.ports.map(function (p) {
        var portAndProtocol = _.split(p, '/');
        return {
          containerPort: portAndProtocol[0],
          protocol: portAndProtocol[1]
        };
      });
    }
  }
  