"Address already in use" error upon docker-compose up
<p>I'm trying to start up several docker containers using <code>docker-compose up</code>, but I'm getting the following (partial) error message:</p>

<pre><code>Recreating 1faf02f5d67e_1faf02f5d67e_1faf02f5d67e_1faf02f5d67e_1faf02f5d67e_ipercroncompose_rabbitmq_1

ERROR: for rabbitmq  Cannot start service rabbitmq: driver failed programming external connectivity on endpoint ipercroncompose_rabbitmq_1 (a8ded956e30b922289614bbbc4e4fb773c58688d395895b575a88b638592df94): Error starting userland proxy: listen tcp 0.0.0.0:5672: bind: address already in use
ERROR: Encountered errors while bringing up the project.
</code></pre>

<p>Following a suggestion at <a href="https://github.com/docker/docker/issues/8714" rel="noreferrer">https://github.com/docker/docker/issues/8714</a>, I've tried the command</p>

<pre><code>netstat -pna | grep 5672
</code></pre>

<p>resulting in </p>

<pre><code>(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:25672           0.0.0.0:*               LISTEN      -               
tcp6       0      0 :::5672                 :::*                    LISTEN      -               
unix  2      [ ]         DGRAM                    15672    -    
</code></pre>

<p>However, I don't see any process IDs here that I could kill. Any ideas what is causing this error?</p>