mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Update Linux version requirement for GSO
This commit is contained in:
committed by
Adin Scannell
parent
80036845c1
commit
45028bdd82
+1
-1
@@ -139,4 +139,4 @@ no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY
|
||||
desc = "Get info on the development of gVisor"
|
||||
|
||||
[params.vars]
|
||||
required_linux = "3.17+"
|
||||
required_linux = "4.14.77+"
|
||||
|
||||
@@ -5,7 +5,7 @@ weight = 1000
|
||||
|
||||
### What operating systems are supported?
|
||||
|
||||
gVisor requires Linux {{< required_linux >}}.
|
||||
gVisor requires Linux {{< required_linux >}} ([older Linux][old-linux]).
|
||||
|
||||
### What CPU architectures are supported?
|
||||
|
||||
@@ -57,3 +57,5 @@ directories.
|
||||
### What's the security model?
|
||||
|
||||
See the [Security Model](../../architecture_guide/security/).
|
||||
|
||||
[old-linux]: /docs/user_guide/networking/#gso
|
||||
|
||||
@@ -7,7 +7,8 @@ gVisor.
|
||||
|
||||
## Install gVisor
|
||||
|
||||
> Note: gVisor supports only x86\_64 and requires Linux {{< required_linux >}}.
|
||||
> Note: gVisor supports only x86\_64 and requires Linux {{< required_linux >}}
|
||||
> ([older Linux][old-linux]).
|
||||
|
||||
{{% readfile file="docs/includes/install_gvisor.md" markdown="true" %}}
|
||||
|
||||
@@ -87,4 +88,5 @@ Next, look at the different options available for gVisor: [platform](../platform
|
||||
[network](../networking/), [filesystem](../filesystem/).
|
||||
|
||||
[docker]: https://docs.docker.com/install/
|
||||
[old-linux]: /docs/user_guide/networking/#gso
|
||||
[storage-driver]: https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-storage-driver
|
||||
|
||||
@@ -60,4 +60,26 @@ Add the following `runtimeArgs` to your Docker configuration
|
||||
}
|
||||
```
|
||||
|
||||
### Disable GSO {#gso}
|
||||
|
||||
If your Linux is older than {{< required_linux >}}, you can disable Generic
|
||||
Segmentation Offload (GSO) to run with a kernel that is newer than 3.17. Add the
|
||||
`--gso=false` flag to your Docker runtime configuration (`/etc/docker/daemon.json`)
|
||||
and restart the Docker daemon:
|
||||
|
||||
> Note: Network performance, especially for large payloads, will be greatly reduced.
|
||||
|
||||
```json
|
||||
{
|
||||
"runtimes": {
|
||||
"runsc": {
|
||||
"path": "/usr/local/bin/runsc",
|
||||
"runtimeArgs": [
|
||||
"--gso=false"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
[netstack]: https://github.com/google/netstack
|
||||
|
||||
@@ -7,7 +7,8 @@ container using the runtime directly with the default platform.
|
||||
|
||||
## Install gVisor
|
||||
|
||||
> Note: gVisor supports only x86\_64 and requires Linux {{< required_linux >}}.
|
||||
> Note: gVisor supports only x86\_64 and requires Linux {{< required_linux >}}
|
||||
> ([older Linux][old-linux]).
|
||||
|
||||
{{% readfile file="docs/includes/install_gvisor.md" markdown="true" %}}
|
||||
|
||||
@@ -47,3 +48,4 @@ sudo runsc run hello
|
||||
Next try [running gVisor using Docker](../docker/).
|
||||
|
||||
[oci]: https://opencontainers.org/
|
||||
[old-linux]: /docs/user_guide/networking/#gso
|
||||
|
||||
Reference in New Issue
Block a user