1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 13:58:08 +00:00
_/docker-network/compose.yml

18 lines
345 B
YAML

services:
a:
image: alpine
network_mode: none
networks:
a:
ipv4_address: "10.10.1.10"
command: ping 8.8.8.8
networks:
a:
driver: bridge
internal: true
driver_opts:
com.docker.network.bridge.name: br-nic-a
ipam:
config:
- subnet: "10.10.1.0/24"
gateway: "10.10.1.1"