github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/g3doc/user_guide/compatibility.md (about)

     1  # Applications
     2  
     3  [TOC]
     4  
     5  gVisor implements a large portion of the Linux surface and while we strive to
     6  make it broadly compatible, there are (and always will be) unimplemented
     7  features and bugs. The only real way to know if it will work is to try. If you
     8  find a container that doesn’t work and there is no known issue, please
     9  [file a bug][bug] indicating the full command you used to run the image. You can
    10  view open issues related to compatibility [here][issues].
    11  
    12  If you're able to provide the [debug logs](../debugging/), the problem likely to
    13  be fixed much faster.
    14  
    15  ## What works?
    16  
    17  The following applications/images have been tested:
    18  
    19  *   elasticsearch
    20  *   golang
    21  *   httpd
    22  *   java8
    23  *   jenkins
    24  *   mariadb
    25  *   memcached
    26  *   mongo
    27  *   mysql
    28  *   nginx
    29  *   node
    30  *   php
    31  *   postgres
    32  *   prometheus
    33  *   python
    34  *   redis
    35  *   registry
    36  *   tomcat
    37  *   wordpress
    38  
    39  ## Utilities
    40  
    41  Most common utilities work. Note that:
    42  
    43  *   Some tools, such as `tcpdump` and old versions of `ping`, require explicitly
    44      enabling raw sockets via the unsafe `--net-raw` runsc flag.
    45  *   Different Docker images can behave differently. For example, Alpine Linux
    46      and Ubuntu have different `ip` binaries.
    47  
    48      Specific tools include:
    49  
    50  <!-- mdformat off(don't wrap the table) -->
    51  
    52  | Tool       | Status                                                                                              |
    53  | :--------: | :-----------------------------------------:                                                         |
    54  | apt-get    | Working.                                                                                            |
    55  | bundle     | Working.                                                                                            |
    56  | cat        | Working.                                                                                            |
    57  | curl       | Working.                                                                                            |
    58  | dd         | Working.                                                                                            |
    59  | df         | Working.                                                                                            |
    60  | dig        | Working.                                                                                            |
    61  | drill      | Working.                                                                                            |
    62  | env        | Working.                                                                                            |
    63  | find       | Working.                                                                                            |
    64  | gcore      | Working.                                                                                            |
    65  | gdb        | Working.                                                                                            |
    66  | gosu       | Working.                                                                                            |
    67  | grep       | Working (unless stdin is a pipe and stdout is /dev/null).                                           |
    68  | ifconfig   | Works partially, like ip. Full support [in progress](https://gvisor.dev/issue/578).                 |
    69  | ip         | Some subcommands work (e.g. addr, route). Full support [in progress](https://gvisor.dev/issue/578). |
    70  | less       | Working.                                                                                            |
    71  | ls         | Working.                                                                                            |
    72  | lsof       | Working.                                                                                            |
    73  | mount      | Works in readonly mode. gVisor doesn't currently support creating new mounts at runtime.            |
    74  | nc         | Working.                                                                                            |
    75  | nmap       | Not working.                                                                                        |
    76  | netstat    | [In progress](https://gvisor.dev/issue/2112).                                                       |
    77  | nslookup   | Working.                                                                                            |
    78  | ping       | Working.                                                                                            |
    79  | ps         | Working.                                                                                            |
    80  | route      | Working.                                                                                            |
    81  | ss         | [In progress](https://gvisor.dev/issue/2114).                                                       |
    82  | sshd       | Partially working. Job control [in progress](https://gvisor.dev/issue/154).                         |
    83  | strace     | Working.                                                                                            |
    84  | tar        | Working.                                                                                            |
    85  | tcpdump    | Working. [Promiscuous mode in progress](https://gvisor.dev/issue/3333).                             |
    86  | top        | Working.                                                                                            |
    87  | uptime     | Working.                                                                                            |
    88  | vim        | Working.                                                                                            |
    89  | wget       | Working.                                                                                            |
    90  
    91  <!-- mdformat on -->
    92  
    93  [bug]: https://github.com/google/gvisor/issues/new?title=Compatibility%20Issue:
    94  [issues]: https://github.com/google/gvisor/issues?q=is%3Aissue+is%3Aopen+label%3A%22area%3A+compatibility%22