Please explain the following output:
docker ps ExanpleContainter
Ports
--------
10.10.10.10:443->443/tcp, 0.0.0.0:1937->1937/tcp
And, docker inspect ExanpleContainter
"Ports": {
"1937/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "1937"
}
],
"443/tcp": [
{
"HostIp": "10.10.10.10",
"HostPort": "443"
}
]
}
I'd want to understand how mapping is done and which port is mapped where?