Have an issue with executing php code ( Magento2 ) inside lxc container with mounted document_root from host machine.
lxc config device add centos7 www disk source=/home/user/projects/test path=/var/www/html/test
with
lxc config set centos7 security.privileged true
after attempting to launch magento2 setup from web browser it gives errors that php not found, version does not match, and so on...
after attempting to launch magento2 setup from CLI it seems to start, even pass 3 first steps, and falls on creating db tables.
is it possible to run magento2 in this case? or what should I to do?
Ubuntu 18.04 with lxd 3.0.2 php7.0 fpm + nginx