spiegel_podman/test/compose/ipam_set_ip/docker-compose.yml
zhangguanzhang c0de4a4d70 Fixes docker-compose cannot set static ip when use ipam
Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
2021-05-06 19:25:27 +08:00

17 lines
263 B
YAML

version: "3.2"
services:
test:
image: alpine
networks:
net1:
ipv4_address: 10.123.0.253
tty: true
command: ["top"]
networks:
net1:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.123.0.0/24