Hi!
We are focused on using Docker EE on Win2019 for app development across our company. Using current Docker version and current BCContainerHelper
We were able to get a BCContainer installed on a transparent network. (network="tlan1")
However when applying the IP address additional parameter (IP="192.168.3.197") for example, we found that the container picked up that IP address, but the BC instance is using DHCP to get a dynamic IP from our IP pool. Really strange behavior I think.
i.e.
PS > Get-BcContainerIpAddress -containerName LabDocker1
192.168.0.12
This ip was served by DHCP
but:
PS C:\Windows\system32> docker network inspect tlan1
{
"Name": "tlan1",
"Id": "<xxxremoved for this postXXX>",
"Created": "2022-07-12T15:30:49.8789726-04:00",
"Scope": "local",
"Driver": "transparent",
"EnableIPv6": false,
"IPAM": {
"Driver": "windows",
"Options": {},
"Config": [
{
"Subnet": "192.168.0.0/22",
"Gateway": "192.168.2.10"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"16432a42dc0bfd371f73add4c5ab1b425eb31f8c3ed528f2be295bc044b66c1e": {
"Name": "LabDocker1",
"EndpointID": "888bd68f3cdbde8b0ad07ab9ffdf952d08a4307c86db99c96cf276d6dc73cc30",
"MacAddress": "00:15:5d:22:2e:9a",
"IPv4Address": "192.168.3.197/24",
"IPv6Address": ""
}
},
"Options": {
"com.docker.network.windowsshim.hnsid": "54404D4E-D15F-4490-A11F-DD0CE2A82BDB"
},
"Labels": {}
}
We can reach BC on the dynamic IP, but not the static IP.
Any ideas?