2019-03-30 02:40:11 +00:00
|
|
|
|
+++
|
|
|
|
|
title = "Compatibility"
|
|
|
|
|
weight = 100
|
|
|
|
|
+++
|
|
|
|
|
gVisor implements a large portion of the Linux surface and while we strive to
|
|
|
|
|
make it broadly compatible, there are (and always will be) unimplemented
|
|
|
|
|
features and bugs. The only real way to know if it will work is to try. If you
|
|
|
|
|
find a container that doesn’t work and there is no known issue, please [file a
|
2019-05-03 15:57:01 +00:00
|
|
|
|
bug][bug] indicating the full command you used to run the image. You can view
|
|
|
|
|
open issues related to compatibility [here][issues].
|
2019-03-30 02:40:11 +00:00
|
|
|
|
|
|
|
|
|
If you're able to provide the [debug logs](../debugging/), the
|
|
|
|
|
problem likely to be fixed much faster.
|
|
|
|
|
|
|
|
|
|
## What works?
|
|
|
|
|
|
|
|
|
|
The following applications/images have been tested:
|
|
|
|
|
|
|
|
|
|
* elasticsearch
|
|
|
|
|
* golang
|
|
|
|
|
* httpd
|
|
|
|
|
* java8
|
|
|
|
|
* jenkins
|
|
|
|
|
* mariadb
|
|
|
|
|
* memcached
|
|
|
|
|
* mongo
|
|
|
|
|
* mysql
|
|
|
|
|
* nginx
|
|
|
|
|
* node
|
|
|
|
|
* php
|
|
|
|
|
* postgres
|
|
|
|
|
* prometheus
|
|
|
|
|
* python
|
|
|
|
|
* redis
|
|
|
|
|
* registry
|
|
|
|
|
* tomcat
|
|
|
|
|
* wordpress
|
|
|
|
|
|
2019-08-26 20:09:49 +00:00
|
|
|
|
## Debugging tools
|
|
|
|
|
|
2019-08-26 22:33:29 +00:00
|
|
|
|
Most common debugging utilities work. Note that some tools, such as tcpdump and
|
|
|
|
|
old versions of ping, require excplicitly enabling raw sockets via the unsafe
|
|
|
|
|
`--net-raw` runsc flag. Specific tools include:
|
2019-08-26 20:09:49 +00:00
|
|
|
|
|
2019-08-26 23:30:08 +00:00
|
|
|
|
| Tool | Status |
|
|
|
|
|
| --- | --- |
|
|
|
|
|
| curl | Working |
|
|
|
|
|
| dig | Working |
|
|
|
|
|
| drill | Working |
|
|
|
|
|
| gdb | Working |
|
2019-08-26 23:32:00 +00:00
|
|
|
|
| ip | Some subcommands work (e.g. addr) |
|
2019-08-26 23:30:08 +00:00
|
|
|
|
| lsof | Working |
|
|
|
|
|
| nc | Working |
|
2019-08-26 20:09:49 +00:00
|
|
|
|
| netstat | [In progress](https://github.com/google/gvisor/issues/506) |
|
2019-08-26 23:30:08 +00:00
|
|
|
|
| nslookup | Working |
|
|
|
|
|
| ping | Working |
|
|
|
|
|
| ps | Working |
|
2019-08-26 23:33:28 +00:00
|
|
|
|
| ss | [In progress](https://github.com/google/gvisor/issues/506) |
|
2019-08-26 23:30:08 +00:00
|
|
|
|
| sshd | Partially working. Job control [in progress](https://github.com/google/gvisor/issues/154) |
|
2019-08-26 20:09:49 +00:00
|
|
|
|
| tcpdump | [In progress](https://github.com/google/gvisor/issues/173) |
|
2019-08-26 23:30:08 +00:00
|
|
|
|
| top | Working |
|
|
|
|
|
| wget | Working |
|
2019-08-26 20:09:49 +00:00
|
|
|
|
|
2019-05-03 15:57:01 +00:00
|
|
|
|
[bug]: https://github.com/google/gvisor/issues/new?title=Compatibility%20Issue:
|
|
|
|
|
[issues]: https://github.com/google/gvisor/issues?q=is%3Aissue+is%3Aopen+label%3A%22area%3A+compatibility%22
|