Question

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

Posted December 15, 2020 353 views
DigitalOcean App Platform

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?

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.

×
Submit an Answer
2 answers

đź‘‹ @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.

Thanks for your response!

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

–cap-add SYS_ADMIN