Chris Richardson 06b3cdadb4
Some checks failed
Main / Build arm64v8 image (push) Successful in 6m0s
Main / Push arm64v8 image (push) Successful in 2m2s
Main / Push manifest (push) Failing after 14s
Main / Publish GitHub release (push) Has been skipped
asd
2025-07-11 01:38:08 -04:00
asd
2025-07-10 22:20:14 -04:00
2025-06-21 13:49:26 +02:00
2021-05-13 00:42:04 +02:00
2019-06-16 11:17:51 +02:00
2019-06-16 11:17:51 +02:00
asd
2025-07-11 01:38:08 -04:00
2023-01-19 00:10:53 +01:00
asd
2025-07-10 21:21:36 -04:00
2024-05-28 19:36:22 +02:00
2024-05-28 19:36:22 +02:00
2025-06-13 01:09:39 +02:00

Xubuntu on Docker

A Docker image based on Ubuntu 24.04 with the Xfce desktop environment, xrdp, xrdp PulseAudio module and VirtualGL.

Preview

Start an instance

Docker CLI

docker run \
  --name xubuntu \
  --detach \
  --shm-size 2g \
  --publish 3322:3322/tcp \
  --publish 3389:3389/tcp \
  --device /dev/dri:/dev/dri \
  docker.io/hectorm/xubuntu:latest

Docker Compose

services:
  xubuntu:
    image: 'docker.io/hectorm/xubuntu:latest'
    shm_size: '2gb'
    ports:
      - '3322:3322/tcp'
      - '3389:3389/tcp'
    devices:
      - '/dev/dri:/dev/dri'

You will be able to connect to the container via SSH through 3322/TCP port and RDP through 3389/TCP port.

Important: some software (like Firefox) need the shared memory to be increased, if you encounter any problem related to this you may use the --shm-size option.

Environment variables

  • UNPRIVILEGED_USER_UID: unprivileged user UID (1000 by default).
  • UNPRIVILEGED_USER_GID: unprivileged user GID (1000 by default).
  • UNPRIVILEGED_USER_NAME: unprivileged user name (user by default).
  • UNPRIVILEGED_USER_PASSWORD: unprivileged user password (password by default).
  • UNPRIVILEGED_USER_GROUPS: comma-separated list of additional GIDs for the unprivileged user (none by default).
  • UNPRIVILEGED_USER_SHELL: unprivileged user shell (/bin/bash by default).
  • SERVICE_XRDP_BOOTSTRAP_ENABLED: enable xrdp bootstrap service, initialises user session on startup (false by default).
  • SERVICE_XORG_HEADLESS_ENABLED: enable headless X server service (false by default).

License

See the license file.

Description
No description provided
Readme 1.6 MiB
Languages
M4 46.9%
Shell 29.3%
Makefile 23.8%