I'm deploying a web app that consists of 5 containers:
- MariaDB
- PHP-FPM
- nginx
- Data Only Container
- WP CLI
When I try to run a WP CLI command, I get the following warning:
Error: YIKES! It looks like you're running this as root. You probably meant to run this as the user that your WordPress install exists under.
If you REALLY mean to run this as root, we won't stop you, but just bear in mind that any code on this site will then have full control of your server, making it quite DANGEROUS.
If you'd like to continue as root, please run this again, adding this flag: --allow-root
I know that in a normal WP installation I'll have several problems. However, as containers are isolated, will I have some security problems with my use case?