Report this

What is the reason for this report?

Which docker images/libraries are gVisor incompatible in App Platform?

Posted on April 12, 2021

Hi. Do you have any popular images/libraries that doesn’t work with gVisor runtime in App Platform? (I just read your beautiful article about DO-AP in cncf blog. I’m wondering which image/customer complaint are related to choosing gVisor as a limited runtime for apps.)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Heya,

Just came across this answer and decided to write some general guidelines for anyone who comes across this in the future despite the old question.

Yes, there are some libraries/images that currently do not work with the gVisor runtime in the App Platform. These usually include libraries or images that require specific kernel features or higher-level permissions, as gVisor has a smaller Linux system call surface and operates with a reduced privilege level for enhanced security.

Some examples include certain networking tools, certain debugging utilities, and specific databases. Note that the specifics can change, so it’s always best to test your app to ensure it works as expected.

For more information about the limitations of the gVisor runtime, you can consult the gVisor compatibility documentation on GitHub. Also, you can refer to the DigitalOcean App platform docs for more detailed information.

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.