What gVisor does
A container normally sends its system calls straight to the kernel of the host. gVisor puts its own kernel in between. That kernel is written in Go, runs in user space and implements the Linux system call interface itself. This part is called the Sentry. No system call goes straight to the host. The Sentry itself makes only a minimal set of host system calls.
How it compares with a microVM
gVisor can run without hardware virtualization. Its systrap platform works on machines without it. A microVM gives each sandbox a separate guest kernel. gVisor puts a user-space kernel in front of the shared host kernel.
Referencegvisor.dev