Running GUI application inside from docker container

<username>/unix:  MIT-MAGIC-COOKIE-1  <cookie_value>
docker run -it --net=host -e DISPLAY -v /tmp/.X11-unix image:v1 bash
xauth add <cookie>
xauth list




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CSS Horizontal scroll

Build a real-time data analytics pipeline with Airbyte, Kafka, and Pinot

94% SE, the end of the beginning!

Shopify App Authentication — There’s a Better Way

Programmer’s time — part 1

Programming the Computer

The Hardest Part of Being a Software Manager

Unraveling the mystery behind Play Store App Signing and App Bundles

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

Our journey to Kubernetes: Overcoming language barriers

Rolling Updates and Rollbacks in Kubernetes

Manage your container using -Kubernetes

Automating installation of HA RKE2 Kubernetes cluster with Ansible