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.

  • Docker image: virtual size vs real size
  • Docker-Machine commands timeout TLS handshake but Dock Swarmer working ok
  • AWS EC2 Docker Volumes lsblk
  • How to correctly install RVM in Docker?
  • Deployment of web application delegating to the fixed openam sso url
  • Running chrome inside docker container issue
  • 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!


  • Docker permissions host user volume in the container
  • Deploy shiny app in rocker/shiny docker
  • Is this a error of GitLab Documentation?
  • Docker volume command line option mistaking files for directories
  • What does it mean to attach a tty/std-in-out to dockers or lxc?
  • How to build Docker Image with Fake
  • 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.