silikontips.blogg.se

Ubuntu docker desktop
Ubuntu docker desktop











ubuntu docker desktop
  1. UBUNTU DOCKER DESKTOP HOW TO
  2. UBUNTU DOCKER DESKTOP INSTALL
  3. UBUNTU DOCKER DESKTOP SOFTWARE

UBUNTU DOCKER DESKTOP SOFTWARE

The good news is that there’s a terrific Software Engineer named Jessie (Jess) Frazelle that has done a ton of the legwork for running Docker containers with desktop applications.

UBUNTU DOCKER DESKTOP HOW TO

That suggests that you need to do a bit of homework in order to determine what and how to properly connect the container to the host system. In addition to passing the X Windows connection into the container, depending on the interaction that the application needs to have with the host, there may be other directories/volumes/environment variables that need to be passed into the container.

  • The X Windows socket and environmental information needs to be passed to the container in the docker run command (bold elements):ĭocker run -ti -rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix.
  • The root user (the user that the docker daemon runs under) needs to be able to access and use your user account’s X Windows process:.
  • To enable container graphics, a couple of things need to occur: In the next blog post I’ll go through a more secure way of using graphical containers, but for now, let’s just get things working. For most desktop purposes, inter-process security is not a concern though. I’m going point out at this point that the method we’ll use to enable graphics in the container reduces container isolation and is not secure. Most graphical Linux apps utilize X Windows as their visualization capability, and with Docker you can connect your running X instance into a container relatively easily.

    UBUNTU DOCKER DESKTOP INSTALL

    So I created an Ubuntu container and used normal Ubuntu tools to install the application. It’s extremely easy, and lightweight, to create a Docker container that is based on another distro, and installing an application is easy. I could have run a virtual machine with Ubuntu, but that’s a very heavy install for a single app. My OS did have a packaged option available, but it was a number of versions behind current, and I really didn’t want to drop down to compiling it if it wasn’t necessary. The application was readily available for Ubuntu, but very few other distros, and OpenSUSE was not on the list. I run OpenSUSE Leap 15 as my main OS, and I came to need to run a graphical application that didn’t have good install options for my OS. Not long ago I ran into a situation that at first glance seemed like it didn’t have a simple solution. Desktop Docker (3/3): GPU-enabled Linux Graphical Containers.Desktop Docker (2/3): Secure Linux Graphical Containers.Desktop Docker (1/3): Linux Graphical Containers.This is the first in a three part series: Graphics-enabled containers is one of those cases that, unless you run into the situation you may not think about. Containers are making a huge impact on the computing world! The biggest impact has been in the datacenter with services run on server-class hardware and the benefits have been huge! But there are other use cases that haven’t been put in the spotlight nearly as much.













    Ubuntu docker desktop