Question

How can I add a very necessary docker argument to DO apps?

How can i use the following argument with DO apps docker --shm-size? My program and many others cannot function properly without it because Docker only allocates 64MB in shared memory by default which is very low.


Submit an answer


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!

Sign In or Sign Up to Answer

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.

running locally on Docker. To download and install Docker, adhere to the instructions. a client of Git. To modify files, use an IDE or text editor. Visual Studio Code is advised by Docker. a conceptual grasp of images and containers.

alexdo
Site Moderator
Site Moderator badge
May 22, 2023

At this time, DigitalOcean App Platform doesn’t support specifying --shm-size or customizing shared memory size directly.

If you are using Docker on a droplet instead, you can try creating a custom build script with a docker-compose.yml file and specifying the necessary options there.

For more information about the App Platform’s limitations, see the DigitalOcean App Platform docs.

Hope that this helps!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel