Report this

What is the reason for this report?

How can I run my docker Component in an App with the --privileged flag ?

Posted on December 15, 2020
hqm

By hqm

We have an App which has two docker containers. We need to run docker with the --privileged flag in order to allow use of an s3 filesystem mounting module.

How would we get our container to be run with the --privileged flag or equivalent?



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.

Thanks for your response!

long shot question, by any chance does doctl support this flag

–cap-add SYS_ADMIN

👋 @hqm

This functionality is not available on App Platform currently. If possible your app should use the S3 API directly.

Sorry for the inconvenience. Our dev team is discussion possible solutions that can be approached in the future.

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.