title: Unable to give network name in docker-compose
body: <p>I am trying to create a network in docker-compose.yml</p>
  
  <pre><code>version: "3.5"
  networks:
    frontend:
      name: custom_frontend
      driver: custom-driver-1
  </code></pre>
  
  <p>it is giving error : <code>ERROR: The Compose file './docker-compose.yml' is invalid because:
  networks.frontend value Additional properties are not allowed ('name' was unexpected)</code></p>
  
  <p>Please help</p>
  
  <pre><code>docker-compose version 1.17.1, build unknown
  </code></pre>