compose-spec / compose-spec

The Compose specification

Home Page:https://compose-spec.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is wrong

adRn-s opened this issue · comments

commented

The networks: example YAML says 'volumes' instead of networks:

volumes:
  db-data:
    driver: overlay

see: https://docs.docker.com/compose/compose-file/06-networks/#attributes

The whole section is rather confusing.

I think that I already found (thanks to StackOverflow) what I was looking for, the DNS host.docker.internal, which is barely mentioned in these docs btw. Maybe the whole section is up for some updates? Specially after docker/compose#10797