Skip to content

Can't use ipv4_address in backend.yml #92

Description

@haanamomo

I want to use ipv4-address field in docker-compose file, and this field is supported by docker-compose.yml version 2.
However, when I run cage up, I got this error:

services.paas.networks.net: unknown field ipv4_address, expected aliases at line 28 column 9

Below is my backend.yml:

service
  node2: 
    image: "paas/node"
    build: .
    networks: 
      net:
        ipv4_address: 172.24.0.2
  
networks: 
  net:
    ipam:
      config:
        - subnet: 172.24.0.0/24

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions