just like the images above, I find that it doesn’t use the port mapping of docker, because the “port” column of homeassistant is None.
And I want to develop an integration that communicates with other PCs and I must find ways to map port of host to homeassistant which runs in the docker.
Oh, thanks! I viewed it’ conifg.v2.json and I found “HostMode” yesterday. I didn’t know what’s meaning, and I just went to docker.com to view it’s doc thanks to your reply. But I am still not sure how the container compete with host for the port. Is it just like a program ? For example, if I want to connect container through ssh, then how does the container which homeassistant is in get the 22 port rather than host? I’a a novice at docker. T_T