xpra icon
Bug tracker and wiki

Changes between Version 5 and Version 6 of Usage/Docker


Ignore:
Timestamp:
02/24/15 15:46:06 (5 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Usage/Docker

    v5 v6  
    3333 * you could also create symlinks to individual sockets, but this can get messy very quickly
    3434
     35If the hostname is different inside the container, you will need to symlink or bind mount the server's unix domain socket if that's what you want to use to connect. Alternatively, you can override the hostname used with the environment variable {{{XPRA_SOCKET_HOSTNAME}}}:
     36{{{
     37XPRA_SOCKET_HOSTNAME=myhostname xpra attach
     38}}}
     39
    3540In 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)
    3641}}}