Skip to content

Instantly share code, notes, and snippets.

@eduardolat
Last active January 7, 2023 05:21
Show Gist options
  • Save eduardolat/165570ee1c81af8a4f2aadda7250cf60 to your computer and use it in GitHub Desktop.
Save eduardolat/165570ee1c81af8a4f2aadda7250cf60 to your computer and use it in GitHub Desktop.
Ejecutar un VNC temporal en docker
Inicia un servidor VNC temporal en docker.
Comando: docker run -p 6080:80 dorowu/ubuntu-desktop-lxde-vnc
Luego de correr el comando ir a http://[ip-del-servidor]:6080
Se puede cambiar el puerto por el deseado, el puerto interno del contenedor es 80
-----------
Para configurar usuario y contraseña de acceso poner las siguientes variables de entorno:
HTTP_PASSWORD=replacesecurepassword (si pide usuario es root)
-----------
Para servidores ARM usar este comando: docker run -p 6080:80 dorowu/ubuntu-desktop-lxde-vnc:focal-arm64
-----------
Fuente: https://github.com/fcwu/docker-ubuntu-vnc-desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment