1

I want to run a specific container(k3s) need privileged mode in a windows docker with(lcow feature), but windows do not support --privileged. so Is there any way to replace it with --security-opt and --cap-add?

bangzhuzhu
  • 11
  • 2
  • The `docker run` documentation has a [list of capabilities](https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities); but note that these are Linux capabilities and this might not work in a Windows container. – David Maze Sep 05 '22 at 11:28
  • @DavidMaze, yes I want to run a linux container in windows host(which called LCOW), but this setting not allow --privileged, so I want figure out a way to replace it. – bangzhuzhu Sep 06 '22 at 06:29

0 Answers0