Thai Pangsakulyanont 8123a21f3e Clean up /tmp in container-init
I ran into a problem where the container does not start after 10 startups.

The reason for this is `/tmp/.X10-lock` file are not deleted when running `docker stop`.
On next `docker-start`, `/tmp/.X11-lock` is allocated instead.
This keeps going until `/tmp/.X19-lock` and from that it gives up.

Another workaround is to use `--tmpfs` in `docker run`.
But not all users always use it.
2020-10-14 01:35:09 +07:00
2020-04-29 01:00:57 +02:00
2020-10-14 01:35:09 +07:00
2019-06-16 11:17:51 +02:00
2019-06-16 11:17:51 +02:00
2020-09-16 22:44:29 +02:00
2020-08-31 16:03:44 +02:00
2020-03-01 12:52:09 +01:00
2020-05-22 19:21:11 +02:00
2020-08-31 16:03:44 +02:00
2020-03-02 21:29:16 +01:00
v51
2020-06-30 18:02:37 +02:00

Xubuntu on Docker

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

Start an instance

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

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 (guest 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).
  • ENABLE_XDUMMY: enable an X dummy server (false by default and requires the --privileged option).

License

See the license file.

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