title: How to use httpie and jq within docker?
body: <p>How to use httpid and jq within docker?</p>
  
  <p>I want to get the ip only in json result like '34.10.12.40'</p>
  
  <pre class="lang-shell prettyprint-override"><code>docker run -it --rm blacktop/httpie -b ifconfig.co/json
  {
      "country": "United States",
      "country_eu": false,
      "country_iso": "US",
      "hostname": "lqwtx.com",
      "ip": "34.10.12.40",
      "ip_decimal": 39585,
      "latitude": 35,
      "longitude": 105
  }
  </code></pre>
  
  <p>but I've tried some ways but does not work, like blow.</p>
  
  <pre class="lang-shell prettyprint-override"><code>docker run -it --rm blacktop/httpie ash -c "http -b ifconfig.co/json | jq '.ip’”
  
  docker run -it --rm blacktop/httpie -b ifconfig.co/json jq '.ip'
  </code></pre>