/docker-vdi

dockerized Desktop (XFCE4, Ubuntu)

Primary LanguageDockerfileMIT LicenseMIT

Docker VDI (Virtual Desktop Instance)

Ubuntu Desktop 18.04 (xfce) Dockerfile with NoMachine remote access and firefox, chromium & more

How to run

with docker-compose

build & run:

docker-compose up -d

(re)-build

docker-compose build --no-cache

manually

Build

git clone <URL>
cd docker-vdi
docker build -t=vdi .

Enviroment vaiables

  • USER -> user for the nomachine login
  • PASSWORD -> password for the nomachine login

Usage

docker run -d --rm -p 4000:4000 -p 4080:4080 -p 4443:4443 --name vdi -e PASSWORD=password -e USER=user --cap-add=SYS_PTRACE vdi

Language and Locale

In the Docker file the default language and location are set to German/Germany, these can be changed to English/United States

ENV LANG="en_US.UTF-8"
ENV LANGUAGE=en_US
ENV KEYMAP="us"
ENV TIMEZONE="America/Denver"

Connect to the container

with the Client

Download the NoMachine client from: https://www.nomachine.com/download, install the client, create a new connection to your public ip, port 4000, NX protocol, use enviroment user and password for authentication (make sure to setup enviroment variables for that)

via Webbrowser (only with Enterprise Client)

open URL: https://127.0.0.1:4443