Question

App Platform custom docker run arguments

I currently have an App setup on the App Platform, that automatically pulls changes from my repository and builds this. But I need to add extra arguments to the docker run command.

How can I achieve this?


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I have spent hours trying to figure out how to write the custom docker run command. The documentation isn’t good in DigitalOcean.

Hello @ShawnRG

You can achieve this by deploying the app using Dockerfile or passing the custom run command while deploying the app. So, please make the changes in the run command accordingly.

Here is some documentation that might help you in understanding it:

Sample App for Docker

More information on App Platform Dockerfile build system

More information on Run command

If the issue persists then please feel free to reach out to the support team and they will be happy to help you.

Best,

Dikshith