Closed elindydotcom closed 1 year ago
Why are you running it as root?
Why are you running it as root?
It's the default user for a new DigitalOcean Ubuntu 22.04 VM. We just spun it up and installed wp-local-docker for testing (first time we've' tried it). So just used the 'root' user for everything.
Should it be installed as a different user? Or should we install it as root and then create a new user for running the 10updocker commands?
('root' is also the default user for Linode and Vultr VMs while 'ubuntu' is the default user for some other cloud provider server VMs).
Sounds like you are using remote VMs to create remote based development environments. I would recommend creating a non-admin user to run your environments in as well as ensuring you have solid protections in place so your environment and the projects you are working on are not exposed. This project is meant to be run locally and you will need to perform additional changes to make it work remotely.
Troubleshooting
Describe the bug
When using the 10updocker create command on ubuntu 22.04 and logged in as root, the process errors out when building phpfpm.
The error is as follows:
Steps to Reproduce
Screenshots, screen recording, code snippet
https://www.screencast.com/t/Zpd3b5z0CfSc
Environment information
-Device: Ubuntu 22.04 VM on DigitalOcean -OS: Ubuntu 22.04 with all updates applied -Docker Desktop Version: n/a - using docker engine on ubuntu 22.04 only -browser and version: n/a - didn't get that far.
Code of Conduct