Hacker GitHub

← All repos

google/gvisor

View on GitHub ↗ ★ 19,848 Go

Application Kernel for Containers

82 mentions on Hacker News by 66 people: 8 stories, 74 comments · first 2018-05-02 · latest 2026-07-03

Mentions per year 82 mentions · busiest year 2018 (32)
20082026
  1. Recently gVisor added cuda checkpoint automation support, please consider using that: https://github.com/google/gvisor/commit/b3c184ce6b808648ddca...
    comment by ranjanayush · 2026-07-03 · in Reduce GVisor Cold Starts with GPU Snapshotting
  2. Us and the team from Modal have been upstreaming things to the GVisor repo ( https://github.com/google/gvisor/pulls ) in order to make it compatible with cuda-checkpoint and other parts of our system. While we are both contributing fixes…
  3. …which appears to perform better. There is also KVM. Both of these are options for gVisor: < https://github.com/google/gvisor > [1] < https://github.com/google/gvisor/blob/master/pkg/sentry/plat... >
  4. …gVisor is allowed to make to the host are listed right here in their seccomp filters[2]. [1] https://github.com/google/gvisor/blob/master/pkg/sentry/sysc... [2] https://github.com/google/gvisor/tree/master/runsc/boot/filt...
    comment by syzcowboy99 · 2026-02-05 · in Coding Agent VMs on NixOS with Microvm.nix
  5. …anyone out there who thinks that containers are a sandbox... There's a reason why gVisor exists: https://github.com/google/gvisor#why-does-gvisor-exist There's a reason why secureblue doesn't use containers:…
    comment by subsection1h · 2025-12-27 · in Ask HN: How are you sandboxing coding agents?
  6. …gVisor[1] runtime - "an application kernel that implements a Linux-like interface" - not Linux. [1] https://github.com/google/gvisor
  7. …kernel. It's not. That's the whole point of gVisor. You don't get to talk to the real kernel. [1] https://github.com/google/gvisor/blob/c68fb3199281d6f8fe02c7...
  8. Container security boundary can be much stronger if one wants. One can use something like https://github.com/google/gvisor as a container runtime for podman or docker. It's a good hybrid between VMs and containers. The container is put…
    comment by p12tic · 2025-02-12 · in WASM will replace containers
  9. One can use something like https://github.com/google/gvisor as a container runtime for podman or docker. It's a good hybrid between VMs and containers. The container is put into sort of VM via kvm, but it does not supply a kernel and talks…
    comment by p12tic · 2025-02-12 · in WASM will replace containers
  10. I find the README of the repo much better to quickly understand what this software is and isn't. https://github.com/google/gvisor
    comment by mkayokay · 2024-10-16 · in GVisor: Linux-Compatible Sandbox
  11. sort of reminds me of https://github.com/google/gvisor , re syscall interception and checking. gvisor had some significant performance impacts for io/syscall heavy workloads, but potentially seccomp/bpf could do better albeit that's mostly…
  12. If you want to use netstack without Bazel, just use the go branch: https://github.com/google/gvisor/tree/go go get gvisor.dev/gvisor/pkg/tcpip@go The go branch is auto generated with all of the generated code checked in.
  13. They upstreamed their gVisor changes: https://github.com/google/gvisor/pull/10287
  14. …- https://github.com/kata-containers/kata-containers - https://github.com/QuarkContainer/Quark - https://github.com/google/gvisor - https://github.com/containers/libkrun
  15. …and runs as a normal process. In other words, gVisor implements Linux by way of Linux." https://github.com/google/gvisor
    comment by mikepurvis · 2024-01-03 · in Maestro: A Linux-compatible kernel in Rust
  16. ▲ 26
    Gvisor: Application Kernel for Containers
    story by bx376 · 2024-01-03 · 5 comments
  17. …untrusted code, at least not without other layers of protection added on top. Otherwise stuff like https://github.com/google/gvisor would not need to exist. And even then as long as processes are sharing a host kernel they are always…
    comment by paxys · 2023-12-20 · in How to Escape a Container
  18. …red herring, as gVisor also “rolls it own” VMM [1] and certainly makes use of VMX and friends. [1] https://github.com/google/gvisor/tree/master/pkg/sentry/plat...
    comment by amscanne · 2023-07-28 · in Faster filesystem access with Directfs
  19. …in-process overlay...), all while maintaining a well-documented and super clean code base. [1]: https://github.com/google/gvisor [2]: https://github.com/usbarmory/tamago [3]: https://gvisor.dev/blog/2023/04/28/systrap-release
    comment by lima · 2023-05-21 · in OS in Go? Why Not
  20. …there isn't anything similar to it on the other side. [1] https://en.wikipedia.org/wiki/GVisor [2] https://github.com/google/gvisor/issues/1270
  21. …run a raw socket on it. Dumping packet from raw socket has faster interface than the device itself. https://github.com/google/gvisor/blob/master/pkg/tcpip/link/... https://github.com/google/gvisor/issues/210
  22. google/gvisor could be useful for this? https://github.com/google/gvisor : > gVisor is an application kernel, written in Go, that implements a substantial portion of the Linux system surface. It includes an Open Container Initiative (OCI)…
    comment by westurner · 2022-10-25 · in The Docker+WASM Technical Preview
  23. …more tools to detect bugs. gVisor, for example, has a really interesting tool called checklocks: https://github.com/google/gvisor/tree/master/tools/checklock... While it definitely has some caveats, ideas like these should help Go programs…
    comment by jchw · 2022-06-10 · in Data Race Patterns in Go
  24. …Do MS not have enough top-flight kernel engineers any more to do an in-kernel version of gvisor? https://github.com/google/gvisor Others have done it. Joyent enhanced the old Solaris `lxrun` environment to bring it to 64-bit and kernel 3.x…
    comment by lproven · 2022-03-21 · in Windows needs a change in priorities
  25. https://github.com/google/gvisor gives you essentially the same benefits as a unikernel without having to compromise on compatibility or recompile your apps, and integrates nicely with Kubernetes already. It also doesn't require a…
    comment by marmarama · 2022-02-16 · in Unikernels
  26. ▲ 94
    Go CheckLocks Analyzer
    story by lima · 2021-12-29 · 19 comments
  27. The main thing I'm missing with podman is gVisor support https://github.com/google/gvisor/issues/311 . Would be happy to switch once that is available!
    comment by madars · 2021-09-04 · in Migrating from Docker to Podman
  28. This is perhaps a better example: https://github.com/google/gvisor/blob/master/pkg/tcpip/trans... Also, some networking tests use separate frameworks (which look more like the setup the original post is describing, since those are needed…
    comment by amscanne · 2021-08-28 · in Unit testing a TCP stack (2015)
  29. …alone the harder parts. Also, take a look at gvisor's network stack. It's definitely unit tested. https://github.com/google/gvisor/tree/master/pkg/tcpip/link/... (an example)
    comment by eatonphil · 2021-08-28 · in Unit testing a TCP stack (2015)
  30. Is this what gvisor is? https://github.com/google/gvisor
    comment by mikepurvis · 2021-06-16 · in Execute Docker Containers as QEMU MicroVMs
  31. I’m not making a claim about its quality but gvisor is another isolation focused runtime https://github.com/google/gvisor
  32. …have to re-implement missing pieces in Mach kernel though so maybe it would not be as easy. [1] https://github.com/google/gvisor
    comment by neop1x · 2021-03-22 · in Docker for Mac M1 RC
  33. See also, for something surprisingly and alarmingly close to this, gvisor: https://github.com/google/gvisor
  34. …path of adding more functionality? Is it fair to think of NestyBox as a type of sandbox? https://pkg.go.dev/github.com/google/gvisor/runsc?tab=overvi...
  35. …thinks otherwise, https://www.f-secure.com/en/consulting/foundry/usb-armory As does Google, https://github.com/google/gvisor https://github.com/google/gapid Naturally if one is talking about specific uses cases like IoT with a couple of…
  36. > Linux containers are processes with better sandboxing simply not true: https://github.com/google/gvisor#why-does-gvisor-exist
  37. …for handing out FDs and other handles, presenting the filesystem to the user, etc). [1] - https://github.com/google/gvisor
  38. https://github.com/knative https://github.com/google/gvisor
  39. …code. [1] https://github.com/firecracker-microvm/firecracker [2] https://aws.amazon.com/lambda [3] https://github.com/google/gvisor
  40. Here is an example: https://github.com/google/gvisor - https://github.com/google/gvisor/tree/master/tools/go_generi... It was useful enough that someone made a standalone package: https://github.com/mmatczuk/go_generics
    comment by zigara · 2019-06-18 · in Go Creeping In
  41. …from having the Linux kernel completely other than as the native API / ABI for apps. Projects like https://github.com/google/gvisor are very promising in that regard even if they end up playing no part in how this eventually happens for…
  42. …be kept around in virtual machines or replaced with a compatibility layer on top of a microkernel. https://github.com/google/gvisor is an existing project which could be ported to arm64, expanded as needed and adjusted to run on top of…
  43. …files or create sockets on the host (those operations are controlled by an external agent). [1] https://github.com/google/gvisor/tree/master/test/syscalls/l... [2] https://github.com/google/syzkaller [3]…
  44. …additional security controls of some form if you're really running untrusted stuff in there. [1] https://github.com/google/gvisor/tree/master/pkg/sentry/plat...
  45. …be a pretty good sign this works in real life. [1] https://gvisor.dev/docs/architecture_guide/ [2] https://github.com/google/gvisor [3] https://gvisor.dev/
  46. There's also Google's Gvisor, for also running containers as VMs: https://github.com/google/gvisor (Handily it works with standard Docker, just put in an extra line in your /etc/docker/daemon.json)
  47. Cloud Run engineer here. Containers are run in gVisor https://github.com/google/gvisor as the container sandbox.
  48. …runs as a non-root user in its own container under docker, on top of Google's gVisor kernel ( https://github.com/google/gvisor ). I've also limited the containers in their resource usage and mounted a read-only root FS (there's also a…
  49. …[3] https://cloud.google.com/kubernetes-engine/ [4] https://docs.microsoft.com/en-us/azure/aks/ [5] https://github.com/google/gvisor [6] https://www.datadoghq.com/docker-adoption/
    comment by WestCoastJustin · 2019-03-10 · in Goodbye Docker and Thanks for all the Fish
  50. gVisor is also pretty neat, they say KVM support is experiemental though: https://github.com/google/gvisor gVisor is used behind Go 1.11 on App Engine so Google must be fairly confident that it's a sufficient security boundary though I'm…