Created
September 9, 2019 06:18
-
-
Save sangheonhan/f278b4c2c94db3726a13b7bce63068f3 to your computer and use it in GitHub Desktop.
GUI 실행을 위한 Docker Compose 설정
This file contains hidden or 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: "3.4" | |
services: | |
ubuntu: | |
image: ubuntu:18.04 | |
container_name: ubuntu | |
command: | |
- sleep | |
- infinity | |
volumes: | |
- /run/user/1000:/run/user/1000 | |
- /dev:/dev | |
- /tmp/.X11-unix:/tmp/.X11-unix:ro | |
environment: | |
- DISPLAY=$DISPLAY | |
- XDG_RUNTIME_DIR=/run/user/1000 | |
privileged: true | |
ipc: host | |
shm_size: 2048m | |
network_mode: host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment