I have created a GCP VM instance, with option Deploy as Container
pointing to an image in my private GCR(nginx customized).
Also while creating the instance, I had given allow 'https' and 'http' traffic.
Though the application is working fine, on connecting the instance via ssh
and inspecting docker containers
(docker ps
)
I see the container ports are not exposed. Wondering how the http/https request are handled by the container here via the instance??