me-box-archive / databox-netdev

Old Dev version Databox OS container manager and dashboard server (do not use)
MIT License
3 stars 6 forks source link

Cm proxy #18

Closed Toshbrown closed 7 years ago

Toshbrown commented 7 years ago

The container manager uses a proxy to map requests to docker ephemeral ports on the localhost. This was broken due to the move to https. The containers IP did not match the HTTPS certs host. This approach would also not work with MacOS or Windows.

To fix this the container managers DNS lookups are being intercepted. If a lookup fails to resolve they are mapped to 127.0.0.1. This fixes the HTTPS host mismatch and MacOS/Windows issues.