I’m having an issue which I am struggling to troubleshoot.
I’m ssh-ing into a remote machine and running docker-compose up on a docker-compose.yaml file whcih has a port key of 80:80.
I run this and I can’t access the endpoint and when I ran docker inspect on the container I see two forwarded ports for port 80.
"Ports": {
"80/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "80"
},
{
"HostIp": "::",
"HostPort": "80"
}
],
It seems like the second instance is overwriting the first but I have no idea why its even there.
Please help