How to configure Docker to allow HTTPS connections instead, based on IP addresses filtering which is SSH connection?

Currently I have created Docker Image which is accessible through SSH access based on IP address configured, I want to configure DockerFile to allow HTTPS connections. so that only trusted certificate m/c can be accessible.

Many Thanks,

You should always remember a docker container is not a VM, You should think of it as an isolated environment to run 1 process.

Not sure if i really understand your question wouldn’t you just set up your service with the certificate then EXPOSE port 443 in your docker file?