Running Google Cloud SQL proxy “cloud-sql-proxy.x64.exe” in a container with EXPOSE 3306.
It was setup with this command–
docker run -d --name %CONTAINER_NAME% -e SERVER_NAME=%SERVER_NAME% -p 3306:3306 %IMAGE_NAME%
The container is running, and the proxy process is running.
But the local machine does not see port 3306. Netstat does not show port 3306.
The proxy program works fine when it is run directly on the host.
How to expose the port from the container?