I have a docker-compose project with container configurations in subdirectories like
. ├── a.yml └── b └── b.yml
version: "2.2" services: a: build: context: ./
version: "2.2" services: b: build: context: ./
docker-compose config results in
services: a: build: context: /Volumes/Disk/projects/docker-compose-relative-path b: build: context: /Volumes/Disk/projects/docker-compose-relative-path version: '2.2'
According to https://docs.docker.com/compose/compose-file/compose-file-v2/#context the context path should be relative which it does not appear to be! For service
b it should be
Is this considered to be a bug or just a flaw in the documentation?