trying to get to grips with Docker for Windows, 17.12.0-ce using linux containers.
When i start a home assistant container with
docker run -d --restart unless-stopped --name="home-assistant-0.62.1" -v D:\Docker\homeassistant_data:/config --network=host homeassistant/home-assistant
and i inspect that network
PS C:\Users\Tom>docker network inspect host
[
{
"Name": "host",
"Id": "fada99a019ff763a50bd711ebb8c12ae5aa073b8380b8b1d6781e15f6e0b4da9",
"Created": "2018-02-02T15:58:43.0119993Z",
"Scope": "local",
"Driver": "host",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": []
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"6b5c12537c00ed3edb719b214512e716ca69ca3777ea8364f4cce0cc77a26ed1": {
"Name": "home-assistant-0.62.1",
"EndpointID": "d1cac7e856c23077bf560673532bd253fab3fed586fc1af797abd1b577e08e2e",
"MacAddress": "",
"IPv4Address": "",
"IPv6Address": ""
}
},
"Options": {},
"Labels": {}
That doesn’t seem right, and the container isn’t communicating with the LAN.
Which prompts the question posed in the title of this post…