Docker: Setting up a GUI in a Docker Container on a Raspberry Pi

I’ve been playing around with Docker in the past few weeks and currently I’m trying to set up a project.

I’m running a Raspberry Pi with Docker installed. I want to set up a container and use RDP to connect to a remote host.

  • Spark app unable to write to elasticsearch cluster running in docker
  • Running meteor app with Docker
  • Run SpringBoot-based docker image return error message:Invalid or corrupt jarfile /app.jar
  • Get the external Container Id to the Go Template
  • Connect to RPC Server in Docker
  • Sonatype Nexus3 docker image - How to setup an internal docker repository
  • I have tried working with Xorg (LXDE) and tried starting my graphical environment with startx but that doesn’t seem to work. After some googling I found out that you cannot run startx on a virtualized device since startx will look after the graphics card and a virtual machine does not have that.

    In order for my RDP to work I need a GUI that runs in a Docker container and uses the ARM architecture.

    Has anyone else had any experience with this?
    All help is appreciated!


  • Understanding Docker
  • Stopping docker containers by image name, and don't error if no containers are running
  • What's the point of using Docker on top of a virtual machine?
  • docker cassandra with opscenter unable connected
  • Clusterized Docker and Managed by Swarm
  • Running HHVM's “hh_server” tool inside Docker container fails
  • 2 Solutions collect form web for “Docker: Setting up a GUI in a Docker Container on a Raspberry Pi”

    Adding –privileged to my docker run command fixed my issue.

    Just curious, but are you 100% tied to RDP? If you use VNC, you could just use the ubuntu ARM distro and then VNC into it. IF you are using a windows machine, superVNC should work for you.

    There are even VNC clients for android. Come to think of it, you might be able to use Chrome RDP as well, havent tried that though.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.