DEV Community

Discussion on: Serving Gatsby Site With Docker Multi-Stage Build

Collapse
 
gbursson profile image
Greg R.

Is there a way to log in to nginx in a container? You might be right saying that there is no SSH server so no incoming connection, yet people are breaking apache/nginx and gain access to the machine?

Thread Thread
 
nikoheikkila profile image
Niko Heikkilä

Directly, no. You would have to access the host node running the container. If the host gets compromised then the game is lost, more or less.