Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use ipv4_address in backend.yml #92

Open
haanamomo opened this issue Mar 21, 2019 · 1 comment
Open

Can't use ipv4_address in backend.yml #92

haanamomo opened this issue Mar 21, 2019 · 1 comment
Milestone

Comments

@haanamomo
Copy link

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
@emk
Copy link
Contributor

emk commented Apr 18, 2019

Good catch! In general, these features would need to be added to the compose_yml crate. I don't have time to do that myself right now, but I'd be happy to show somebody else how.

@emk emk added this to the v0.3.0 milestone Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants