Skip to content

Docker-compose not accepting 'extends' option in docker-compose.yml file #1245

@sunnysingh1985

Description

@sunnysingh1985

Given a "docker-compose.yml":

web:
 extends:
  file: common.yml
  service: webapp

and another "common.yml":

webapp:
 image: ubuntu

Executing 'docker-compose ps' throws following error:

$ docker-compose ps
$ Unsupported config option for web service: 'extends'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions