title: "This node is not a swarm manager" error, but I'm not using docker swarm
body: <p>For testing our escrow build, I'm attempting to set up a docker network that's isolated from the host and from the outside world.</p>
  
  <p>I've got the following <code>docker-compose.yml</code> (inspired by <a href="https://forums.docker.com/t/internal-network-between-containers-without-external-network-access/41751/9" rel="noreferrer">this forum post</a>):</p>
  
  <pre><code>version: '3'
  
  services:
    redis:
      image: "redis:2.8.23"
      networks:
        - isolated
  
    # ... more services (TODO)
  
  networks:
    isolated:
      driver: overlay
      internal: true
  </code></pre>
  
  <p>When I run <code>docker-compose up -d</code>; it creates the network, but then fails to create the containers, reporting the following:</p>
  
  <blockquote>
    <p>ERROR: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.</p>
  </blockquote>
  
  <p><strong>But I'm not using docker swarm, nor do I want to.</strong></p>
  
  <p>If I remove the <code>services:</code> stanza from the file, it brings up the network without the error. It warns that the network is unused (obviously).</p>
  
  <p>If I remove the <code>services/redis/networks</code> stanza, it brings up the container correctly.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>I found <a href="https://stackoverflow.com/a/51964169/8446">this answer</a>, which uses <code>driver: bridge</code> for the network, but that still allows access to the host.</p>
  
  <hr>
  
  <ul>
  <li>Docker version 18.09.3, build 774a1f4</li>
  <li>docker-compose version 1.21.2, build a133471</li>
  </ul>