I am using selenium/standalone-chrome-debug
.
By default connecting to the container via VNC will trigger an authentication prompt which can be avoided by setting an environment variable as per the documentation:
If you want to run VNC without password authentication you can set the environment variable
VNC_NO_PASSWORD=1
.
When I start the container with the following command, I'm still prompted for the password:
docker run -d -p 4444:4444 -p 0:5900 -v /dev/shm:/dev/shm -e VNC_NO_PASSWORD=1 selenium/standalone-chrome-debug
As you can see in the following screencast:
secret
), it passesQuestion: how do I avoid authentication completely?
Adding
VNC_NO_PASSWORD: 1
to the environment
of the relevant service in docker-compose.yml worked for me.