File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,18 +16,30 @@ services:
1616 shm_size : " 2g"
1717
1818 gui :
19+ user : root
1920 image : rcs-dev
2021 container_name : gui-dev
2122 tty : true
2223 stdin_open : true
2324 environment :
2425 - DISPLAY=${DISPLAY}
2526 volumes :
26- - .:/home/devuser/project
27+ # - .:/home/devuser/project
2728 - /tmp/.X11-unix:/tmp/.X11-unix
29+ - /dev:/dev
2830 shm_size : " 2g"
29-
31+ privileged : true
32+ network_mode : host
33+ cap_add :
34+ - SYS_NICE
35+ ulimits :
36+ rtprio : 99
37+ rttime : -1
38+ memlock :
39+ soft : 8428281856
40+ hard : 8428281856
3041 gpu :
42+ user : root
3143 image : rcs-dev
3244 container_name : gpu-dev
3345 tty : true
@@ -37,7 +49,7 @@ services:
3749 - NVIDIA_VISIBLE_DEVICES=all
3850 - NVIDIA_DRIVER_CAPABILITIES=all
3951 volumes :
40- - .:/home/devuser/project
52+ # - .:/home/devuser/project
4153 - /tmp/.X11-unix:/tmp/.X11-unix
4254 - /dev:/dev
4355 shm_size : " 2g"
You can’t perform that action at this time.
0 commit comments