Created
October 18, 2016 17:47
-
-
Save rbsilva/30d6bbbebb87f3e90460cee21470535f to your computer and use it in GitHub Desktop.
Docker compose to open screens in host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
android: | |
image: your-docker-android | |
environment: | |
DISPLAY: $DISPLAY | |
volumes: | |
- /tmp/.X11-unix:/tmp/.X11-unix | |
- $HOME/.Xauthority:/home/container-user/.Xauthority | |
network_mode: "host" | |
command: script.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment