Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
2 years agoEnvironment files with Laravel and Docker
Hi there.
I am trying to load secrets in to the environment file with Laravel and Docker but am having some issues.
I don't think I'm quite understanding how it works / how to get it to work.
...
Former Member
2 years agoHey @matthiasnz , thank you for reaching out to us!
"[ERROR] 2023/05/23 11:45:07 error while starting process: exec: "aws": executable file not found in $PATH"
This looks like op
cannot find the AWS executable. What is the output of which aws
, in your terminal? Can you try running op run --env-file="./.env" -- $(which aws)
, trying to pass the full path of the executable?
Is this actually possible with this setup?
It should be! Instructions here should work well in Dockerfile
s as well: https://developer.1password.com/docs/cli/install-server/
Additionally, 1Password CLI has a Docker image too: https://hub.docker.com/r/1password/op
Hope this helps. Would love to hear back from you!
Best,
Horia