version: "2"
.......
....
....
....
volumes:
- /etc/localtime:/etc/localtime
networks:
mynetwork:
ipv4_address: 172.18.0.111
mac_address: 00:FF:0A:4E:5E:FC
command: "tail -f /dev/null"

networks:
mynetwork:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
gateway: 172.18.0.1