I'm having an issue with nxagent where keyboard options (ie ctrl:nocaps) are being ignored. In digging into this, x11docker is setting a keyboard= option for nxagent based on 'setxkbmap -query', but isn't applying any option. When I modify x11docker to pass 'keyboard=clone' instead, nxagent properly detects my options and applies them. I'm happy to submit a pull request if it would be helpful.