Error response from daemon: Windows does not support privileged mode

12/27/2019

I have installed the Docker Tool on my Windows 10 Pro machine.

Have pulled below images from Docker Hub:

docker pull elgalu/selenium

docker pull dosel/zalenium

When I am trying to start zalenium with the below command:

"docker run --rm -ti --name zalenium -p 4444:4444 -v /var/run/docker.sock:/var/run/docker.sock -v /c/Users/<username>:/home/seluser/videos --privileged dosel/zalenium start"

I am getting error:

C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: Windows does not support privileged mode.

I want to start the zalenium with the above command but I could not able to do it, because of this error.

Can anyone assist me on this, please?

-- Prasad
docker
kubernetes
selenium
selenium-webdriver
zalenium

1 Answer

1/2/2020

Unfortunately you did not provide enough information. Your Windows version, Docker for Windows version, how did you install it, etc.

Officially --priviledged flag is not supported as on the Github thread is already mentioned:

there is no support for privileged containers on Windows in the platform.

It's also confirmed in this thread.

In addition, you might check this thread. It's the same case.

-- PjoterS
Source: StackOverflow