jlesage / docker-baseimage-gui

A minimal docker baseimage to ease creation of X graphical application containers
MIT License
1.2k stars 179 forks source link

Enable toggling of direct VNC server access. #19

Closed r-pufky closed 2 years ago

r-pufky commented 5 years ago

By default, both ports 5800 and 5900 are exposed in the container. It would be fantastic to be able to add the option toggle the following port exposures:

This would enable the selection of the preferred connection for an end user and minimize service exposure in the container.

jlesage commented 5 years ago

When using the default docker network mode Bridge, users need to explicitly expose the port(s) they want during the creation of the container.

jlesage commented 2 years ago

With images version 4.0.0, it's possible to disable listening on a port.