Issue
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?
Solution
Adding
VNC_NO_PASSWORD: 1
to the environment
of the relevant service in docker-compose.yml worked for me.
Answered By - Denis Howe
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.