Use novnc with `network_mode: host`
ShevaDavid opened this issue · comments
D commented
If I set
network_mode: host
in docker-compose file, the http://localhost:8080/vnc.html does not work anymore
here is my setup
version: '2'
services:
ide:
image: psharkey/intellij:latest
network_mode: host
environment:
- DISPLAY=novnc:0.0
depends_on:
- novnc
novnc:
image: theasp/novnc:latest
network_mode: host
environment:
# Adjust to your screen size
- DISPLAY_WIDTH=1600
- DISPLAY_HEIGHT=968
- RUN_XTERM=no