Issue on up -d #184
-
|
Have the following issue on the up -d proccess on laravel project: Error: PHP Warning: require(/var/Www/html/vendor/autoload.php) failed to open stream here is my docker-compose: |
Beta Was this translation helpful? Give feedback.
Answered by
jaydrogers
Jun 12, 2023
Replies: 1 comment 2 replies
-
|
Thanks for posting your code. When are you exactly getting this error? Running the command from above gives me the expected results
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

It's probably a permissions issue.
When you use
docker runto run a command, it's going to run asrootdue to how PHP-FPM needs root to run.You should switch to
webuserinstead.More details here: