Open kevinmnm opened 7 months ago
You can specify the user with docker exec
command:
$ docker exec -it -u root CONTAINER_NAME bash
default:~$ id
uid=0(root) gid=0(root) groups=0(root)
You will be able to set kasm-user password then if you want ;)
I stood up Docker container via running
docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/core-ubuntu-focal:1.14.0
and then I randocker exec
command to directly SSH into the container. Its default user iskasm-user
and I can't runsudo
command because I don't know its password.