I recently started using docker images for all my desktop applications and encountered an issue wherein I need apps in different containers to launch or send messages to others. Of course this is easy to do when using containers in the traditional sense and passing data via network connections or UNIX sockets, but not so much when you want your email app to open a link in your browser app.
I have recently decided to start running as many of my desktop programs as possible inside docker containers as inspired by Jess Frazelle’s post. My primary motivation for this being a good way to learn some intricacies of the docker/container system and that well it just seemed interesting. The following are some stumbling blocks I faced and how I got passed them. Connecting to X Server Any graphical program, or program that needs access to the X server (for example xclip) will need to be allowed to connect (duh!