Skip to content

Document security risks and bind VNC to localhost - #5

Merged
mablanco merged 1 commit into
mainfrom
20261028
Oct 28, 2026
Merged

mablanco merged 1 commit into
mainfrom
20261028

Conversation

@mablanco

Copy link
Copy Markdown
Owner
  • Add a warning to the README: the image is insecure by design (Debian 7, Iceweasel, Java 6; grype reports 1621 known vulnerabilities, 9 critical) and should only be used to reach trusted legacy interfaces.
  • Publish the passwordless VNC port on 127.0.0.1 in every example.
  • Document -passwd to require a VNC password (verified: the RFB server switches from security type None to VNC auth).
  • Fix the cleanup step: RUN uses dash, which does not expand {apt,dpkg,cache,log}, so the old rm did nothing. It now removes only /var/lib/apt/lists/* and keeps the dpkg database for scanners.

Note: Docker Scout reports 0 vulnerabilities for this image because it has no advisory data for Debian 7, not because the image is clean.

- Add a warning that the image is insecure by design and should only be
  used to reach trusted legacy interfaces.
- Publish the passwordless VNC port on 127.0.0.1 in every example.
- Document how to require a VNC password with x11vnc -passwd.
- Fix the cleanup step: dash does not expand braces, so the old rm was a
  no-op. Remove only the apt lists and keep the dpkg database so
  scanners can inventory the packages.
@mablanco
mablanco merged commit a42ef62 into main Oct 28, 2026
1 check passed
@mablanco
mablanco deleted the 20261028 branch October 28, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant