Hello all. First, I am still a beginner when it come to Docker. I have not progress past basic container creation.
I have been watching and reading about docker networking, and I am looking for better clarification.
Foreach container, there has been a corresponding vnetwork spun up also. I would like to decrease the number of network instances and consolidate them in to one or two instances.
So far I have the following:
networks:
ipvlan_net:
driver: ipvlan
driver_opts:
parent: eth0
ipvlan_flag:
ipvlan_mode: L3
ipam:
config:
- subnet: 192.168.8.0/24
- subnet: 192.168.9.0/24
ipvlanl3
I am not sure how to remove the previous networks and attach them to ipvlan. Can some one recommend a course of action or reading that might help explain what to do next?
Start by formatting your config correctly, use 3 backticks before/after to preserve spacing, which is important in yaml format.