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