xpra icon
Bug tracker and wiki

Changes between Version 18 and Version 19 of Usage/Docker


Ignore:
Timestamp:
11/23/16 13:52:23 (3 years ago)
Author:
mviereck
Comment:

Divided setup in 2 parts: xpra on host only vs. xpra on host and in image

Legend:

Unmodified
Added
Removed
Modified
  • Usage/Docker

    v18 v19  
    77= Rationale =
    88
    9 Xpra and docker can be used to isolate applications from unix user accounts.
     9Xpra and docker can be used to isolate GUI applications from unix user accounts.
    1010
    1111Depending on chosen setup, regular unix applications can have full access to '''all the files''' in the user's home directory.
     
    2929{{{#!div class="box"
    3030== Setup ==
     31=== Setup with xpra on host only ===
     32Using x11docker on host, you can run GUI applications in docker images like in this example:
     33{{{x11docker --xpra x11docker/lxde pcmanfm}}}
    3134
     35=== Setup with xpra on host and in docker image ===
    3236If you are running [https://www.centos.org/ CentOS], see here: [/wiki/Usage/Docker/CentOS] for installation instructions.
    3337
    3438[[BR]]
    3539
    36 Xpra needs to connect to the xpra server running inside the docker container.
     40In the following solutions, xpra needs to connect to the xpra server running inside the docker container.
    3741Your options are:
    3842* using a TCP socket or running an SSH server in the container - neither are very practical
    39 * using x11docker on host, you can run GUI applications in docker images like in this example:
    40 {{{x11docker --xpra x11docker/lxde pcmanfm}}}
    4143* sharing the xpra socket directory between the host and the container. To do this you have multiple options:
    4244 * bind mount the directory containing the socket ({{{.xpra}}} or {{{/tmp}}} usually)