start a container using host network requiring password
Describe the bug i used your repository to keep my project testing environment consistent, it's really useful. while my project need to communicate a device whose ip addr was 192.168.102.1(LAN IP ADDR with host), and i don't want to add a router to my host machine that as NAT, so i choose to use a host net to start the container. while when using host net, vnc always required a password to connect(even if i don't set a password via "-e VNC_PASSWORD"), i've tried "-e VNC_PASSWORD=mypassword" or "-e PASSWORD=mypassword", but all of these doesn't work. the vnc login page prompt" connection refused". may i ask if there is a default password to connect using host net?
To Reproduce Steps to reproduce the behavior:
- docker run --name ubuntu --privileged --net=host -e VNC_PASSWORD=mypassword -v /temp/souce:/temp/des crazychildren/ubuntu:cortex-env (this is my repo which was large, don't encourage to pull my repository,it was base on bionic-lxqt: Ubuntu 18.04 LXQt)
- open a browser, link to localhost;
Expected behavior use as -p 6080:80 that if you don't set a password, you can connect to container directly. or when you set vnc password, it could be use.
Screenshots

Versions (please complete the following information):
- OS: [e.g. Ubuntu 18.04]
- image tag: bionic-lxqt: Ubuntu 18.04 LXQt
same issue, i want to create a container with "--net=host", but when connecting using a browser, "http://127.0.0.1" or "http://127.0.0.1:80", it shows noVNC
Hi @CrazyChildren , @kevin0525
I know this has been inactive for a while but I'm facing a similar issue with a docker-ubuntu-desktop image running vnc and would love to know if you managed to make it work?
Thanks in advance!