I learned about gVisor from https://security.stackexchange.com/a/259275/133925 . It runs containers under a custom kernel, written in Go, with very intense security.
My question is: The whole point of Docker is to use the host kernel. How does gVisor run it under a custom kernel of their own?
syscall
op and direct it to its usermode app? Won't the CPU act onsyscall
the way it always does: e.g. switching to kernel mode?