Skip to content

config does not validate broken subnets #4552

@schmunk42

Description

@schmunk42

docker-compose 1.11.2

Broken config, due to missing variable - no error during config

networks:
  default:
    ipam:
      config:
      - subnet: ''
      driver: default

On docker-compose up

ERROR: Invalid subnet  : invalid CIDR address:

Should be thrown already during validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions