Changes between Version 18 and Version 19 of Usage/Docker
- Timestamp:
- 11/23/16 13:52:23 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Usage/Docker
v18 v19 7 7 = Rationale = 8 8 9 Xpra and docker can be used to isolate applications from unix user accounts.9 Xpra and docker can be used to isolate GUI applications from unix user accounts. 10 10 11 11 Depending on chosen setup, regular unix applications can have full access to '''all the files''' in the user's home directory. … … 29 29 {{{#!div class="box" 30 30 == Setup == 31 === Setup with xpra on host only === 32 Using x11docker on host, you can run GUI applications in docker images like in this example: 33 {{{x11docker --xpra x11docker/lxde pcmanfm}}} 31 34 35 === Setup with xpra on host and in docker image === 32 36 If you are running [https://www.centos.org/ CentOS], see here: [/wiki/Usage/Docker/CentOS] for installation instructions. 33 37 34 38 [[BR]] 35 39 36 Xpra needs to connect to the xpra server running inside the docker container.40 In the following solutions, xpra needs to connect to the xpra server running inside the docker container. 37 41 Your options are: 38 42 * 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}}}41 43 * sharing the xpra socket directory between the host and the container. To do this you have multiple options: 42 44 * bind mount the directory containing the socket ({{{.xpra}}} or {{{/tmp}}} usually)