I'm currently spending my time as a father of 2 grown-up sons, Perl hacker who is not afraid to touch other tech, sort-of DJ, bicyclist, cook & taker-of-pictures
Yeah, I saw that, thanks. But the syntax I'm using passes existing environment variables to the container. As I understand it, the --env-file version requires me to hard-code the values in the file. And I'm not sure I want that.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You can also pack all your ENV vars into an env file and then do
docker --env-file path/to/file.env ...
Yeah, I saw that, thanks. But the syntax I'm using passes existing environment variables to the container. As I understand it, the
--env-file
version requires me to hard-code the values in the file. And I'm not sure I want that.