Report this

What is the reason for this report?

App Platform custom docker run arguments

Posted on July 16, 2021

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?



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.

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

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

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.