aboutsummaryrefslogtreecommitdiff
path: root/test/compose/ipam_set_ip/docker-compose.yml
blob: d220c02c023394f8ac585ff057a232e281c9b117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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