Closed qpb8023 closed 3 years ago
If you want to run a container as root add the "--user root" argument, though, it is not recommended. If the reason to run as root is to install software, you should instead create a custom image, install everything you need on the custom image. Here is a guide on creating custom images. https://kasmweb.com/docs/latest/how_to/building_images.html
sudo docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/desktop:1.9.0
How does this command add the root option