title: How to run an executable file on OS X
body: <p>I follow <a href="http://logz.io/blog/docker-stats-monitoring-dockbeat/" rel="nofollow noreferrer">this</a> blog to use Dockbeat and at a certain moment it says that I need to download a file and to make it executable then to run it so I did:</p>
  
  <pre><code>wget https://github.com/Ingensi/dockbeat/releases/download/v1.0.0/dockbeat-v1.0.0-x86_64
  chmod +x dockbeat-v1.0.0-x86_64
  ./dockbeat-v1.0.0-x86_64 -c dockbeat-1.0.0/dockbeat.yml -v -e
  </code></pre>
  
  <p>As the blog describe but I have this error:</p>
  
  <pre><code>-bash: ./dockbeat-v1.0.0-x86_64: cannot execute binary file
  </code></pre>
  
  <p>Although when I do  <code>ls -l dockbeat-v1.0.0-x86_64</code>
  I got:</p>
  
  <pre><code>-rwxr-xr-x  1 dav_NG  staff  13412840 12 sep 14:17 dockbeat-v1.0.0-x86_64
  </code></pre>
  
  <p>So my question is why can't I run it ? (I checked and my OS X support 64bits)</p>