You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is analogous to --build-arg <varname>=<value> command line option and it's realtion opt the ARG command in a Dockerfile, should the documentation not include the same warning about not using this to pass secrets as seen in the Dockerfile documentation:
That the example uses password:secret seems particularly egregious if my assumption is correct.
If somebody can clarify my assumption in the affirmative I'll open a PR to update the examples and add the same wording as a warning from PR linked above.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Assuming that
is analogous to
--build-arg <varname>=<value>
command line option and it's realtion opt theARG
command in a Dockerfile, should the documentation not include the same warning about not using this to pass secrets as seen in the Dockerfile documentation:https://docs.docker.com/engine/reference/builder/#/arg
Related PR/Issue: moby/moby#24522
That the example uses
password:secret
seems particularly egregious if my assumption is correct.If somebody can clarify my assumption in the affirmative I'll open a PR to update the examples and add the same wording as a warning from PR linked above.
The text was updated successfully, but these errors were encountered: