https://prefect.io logo
a

ale

12/02/2020, 6:24 PM
Hi folks, is it possible to pass environment variables to containers when starting prefect agent in Docker mode from command line? I see we can pass volumes, but not environment variables. Is this possible?
j

josh

12/02/2020, 7:12 PM
@ale You should be able to pass in environment variables like:
Copy code
prefect agent docker start --env bleh=foo --env asdf=ghji -e more=env
z

Zanie

12/02/2020, 7:12 PM
🙂
prefect agent docker start --help
lists this option
a

ale

12/02/2020, 7:14 PM
Forgot to mention that I'm still on prefect 0.13.13. But maybe it just works even with 0.13.13
2 Views