Docker: Docker image which runs XRDP on Debian 8 desktop

I have created Docker images which runs XRDP on Debian 8 desktop including GNOME3, Xfce4, MATE, LXDE and KDE Plasma. This article will introduces this Docker image. For detail usage of docker, please check this.

1 Download Docker image from DockerHub

The following will pull Docker image from DockerHub and connect to container with rdesktop. You can connect to container with Windows remote desktop.

$ id=$(docker run -d hiroom2/doxrdp-debian-8-xfce)
<snip>
$ ipaddr=$(docker inspect \
    --format="{{ .NetworkSettings.IPAddress }}" "${id}")
$ rdesktop -g 1024x768 -u doxrdp -p doxrdp "${ipaddr}"

0001_docker-doxrdp-debian-8.png

Desktops are as the following.

hiroom2/doxrdp-debian-8-gnome GNOME3
hiroom2/doxrdp-debian-8-xfce Xfce4
hiroom2/doxrdp-debian-8-mate MATE
hiroom2/doxrdp-debian-8-lxde LXDE
hiroom2/doxrdp-debian-8-kde KDE Plasma
  • Username is doxrdp and password is doxrdp.
  • One container needs 100 - 500MB RAM. kde needs 500MB, gnome needs 300MB and others needs 100MB.
  • In case Core-i5 and SSD machine, it takes about 5 seconds to connect to XRDP after starting container.
  • This docker image is not shrinked at all. Image size is about 3GB.

2 Download Dockerfile from GitHub

You can build Docker image on local machine with Dockerfile in GitHub.

$ git clone https://github.com/hiroom2/doxrdp
$ cd doxrdp
$ ./doxrdp build debian-8-xfce
$ ./doxrdp rdesktop debian-8-xfce