title: docker postgres failed to start with specified port
body: <p>I'm new to docker and I'm trying to run a postgres database docker with the following command : </p>
  
  <pre><code>docker run --name rva-db  -e POSTGRES_PASSWORD=rva -e POSTGRES_DB=rva-db -d postgres -p 5432:5432
  </code></pre>
  
  <p>If I'm trying to run it without the -p option, it seems to work fine, but I can't reach it from my local pg-admin, I thought I need to add the port link to reach it.</p>
  
  <p>Anyway, the container always crash after few seconds and when i'm trying to start it with the start command I'm getting the following return :</p>
  
  <pre><code>docker start -a rva-db
  FATAL:  invalid value for parameter "port": "5432:5432"
  </code></pre>
  
  <p>What did I miss ? </p>
  
  <p>FYI, I'm running it on a MacOS with the following docker version : </p>
  
  <pre><code>$ docker version
   Client:
    Version:      1.12.1
    API version:  1.24
    Go version:   go1.7.1
    Git commit:   6f9534c
    Built:        Thu Sep  8 10:31:18 2016
    OS/Arch:      darwin/amd64
  
   Server:
    Version:      1.12.1
    API version:  1.24
    Go version:   go1.6.3
    Git commit:   23cf638
    Built:        Thu Aug 18 17:52:38 2016
    OS/Arch:      linux/amd64
  </code></pre>