title: Unable to set Docker container hostname via Marathon Json file
body: <p>I am trying to set hostname for a container as a part of SQL container testing.
  I am using JSON to be POST'ed to Marathon via curl and bring up container through Marathon. However hostname configuration I am using in json doe not seem to be working. Looks something silly I might be missing though.
   Below is json to set hostname.</p>
  
  <pre><code>"container":{
    "type":"DOCKER",
    "docker":{
       "image":"10.100.33.1:9000/mon/test-ip-sql-ndb-v2",
       "network":"BRIDGE",
       "privileged":true,
       "parametsr":[
       {
              "key": "hostname",
              "value": "ndb1testip.marathon.mesos"
       }
       ]
    }
  </code></pre>
  
  <p>Can somebody point what am I doing wrong here? I know U can set hostname using.</p>
  
  <pre><code>docker run -h &lt;HOSTNAME&gt;
  </code></pre>
  
  <p>But that is not the way I am trying to do.</p>