2

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:

  • I'm still asked for a password
  • Trying to authenticate without password fails
  • When I use the default password (secret), it passes

Question: how do I avoid authentication completely?

enter image description here

customcommander
  • 11,496
  • 3
  • 35
  • 53

0 Answers0