Changes between Version 12 and Version 13 of Usage/Docker
- Timestamp:
- 12/20/15 06:11:11 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Usage/Docker
v12 v13 42 42 If the hostname is different inside the container, you will need one of those workarounds: 43 43 * symlink or bind mount the server's unix domain socket if that's what you want to use to connect 44 * override the hostname used with the environment variable {{{XPRA_SOCKET_HOSTNAME}}}, ie: 45 {{{ 46 XPRA_SOCKET_HOSTNAME=myhostname xpra attach 47 }}} 48 * starting with version 0.15.3, you can connect to a unix domain socket by path using: 44 * you can connect to a specific unix domain socket by path using: 49 45 {{{ 50 46 xpra attach socket:/path/to/yourcontainers/socket 51 47 }}} 48 For older versions, you can override the hostname used with the environment variable {{{XPRA_SOCKET_HOSTNAME}}}, ie: {{{XPRA_SOCKET_HOSTNAME=myhostname xpra attach}}} 49 50 51 ---- 52 52 53 53 In order to be able to use {{{mmap}}} acceleration, the server expects to find the mmap file in the exact same path that the client used to create it. So you must ensure that the path to the mmap file (by default found in {{{$TMPDIR}}}) is the same on the host and in the container. (again, bind mounting a directory solves this problem)