cage
cage copied to clipboard
Can't use ipv4_address in backend.yml
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
, expectedaliases
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
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.