title: Failed to unmarshall yaml
body: <p>I have an execute endpoint that runs a child process which in turn runs a rancher-compose command to start up some containers within a host on rancher. When I hit this <code>/execute</code> endpoint from the node app it work fine and starts the containers as expected. When hitting the <code>/execute</code> endpoint from a bash script through <code>cURL</code> command it fails and gives me the error below. I don't understand why it throws an error that it cannot unmarshall my <code>yaml</code> file just when the command is run through a bash script. This is leading me to believe that this is not an issue with my <code>yaml</code> file. Below I put the error and the command that's failing and the <code>cURL</code> command i'm using.</p>
  <p>I'm absolutely lost and any help would be greatly appreciated!</p>
  <blockquote>
  <p>ERROR starting job, unable to run sub-process for container deployment. &gt;ERR=Error: Command failed: /rancher-tools/rancher-compose --project-name mic-iwbl3g97 --verbose --file docker-compose-job-submitter.yml up -d</p>
  <p>job deployment output: time=&quot;2016-12-05T04:35:49Z&quot; level=debug msg=&quot;Environment Context from file : map[]&quot; time=&quot;2016-12-05T04:35:49Z&quot; level=debug msg=&quot;Opening compose file: docker-compose-job-submitter.yml&quot; time=&quot;2016-12-05T04:35:49Z&quot; level=debug msg=&quot;Looking for stack mic-iwbl3g97&quot; time=&quot;2016-12-05T04:35:49Z&quot; level=info msg=&quot;Creating stack mic-iwbl3g97&quot; time=&quot;2016-12-05T04:35:49Z&quot; level=error msg=&quot;Failed to unmarshall: yaml: unmarshal errors:\n line 15: cannot unmarshal !!str NaN into int64\n line 16: cannot unmarshal !!str NaN into int64\ncommand:\n- mic-iwbl3g97\n- NaN\n- $input_csv_file\n- $start_year\n- $end_year\ncontainer-name: mic-iwbl3g97\ncpu_shares: 25\nimage: $repo_name:$tag\nlabels:\n io.rancher.container.pull_image: always\n io.rancher.container.start_once: true\n io.rancher.scheduler.affinity:host_label: MIC-Use=TPC_Modeling\n io.rancher.sidekicks: locking, input, output, param, input-helper\nmem_limit: NaN\nmemswap_limit: NaN\nnetwork_mode: none\nvolumes_from:\n- input\n- output\n- param\n- locking\n&quot;</p>
  </blockquote>
  <pre><code>curl -s -X POST -H &quot;Content-Type: application/json&quot; -d '{&quot;S3_param_file&quot;:&quot;$input_csv_file&quot;, &quot;memory_constraint&quot;:&quot;$memory_constraint&quot;, &quot;time_constraint&quot;:&quot;$time_constraint&quot;, &quot;start_year&quot;:&quot;$start_year&quot;, &quot;end_year&quot;:&quot;$end_year&quot;, &quot;tag&quot;:&quot;$tag&quot;, &quot;repo&quot;:&quot;$repo_name&quot;}' http://my_ip_address:3000/execute
  </code></pre>