Skip to content

Instantly share code, notes, and snippets.

@tschifftner
Created December 22, 2020 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tschifftner/35fcee4a7602648221ff47f6df329e48 to your computer and use it in GitHub Desktop.
Save tschifftner/35fcee4a7602648221ff47f6df329e48 to your computer and use it in GitHub Desktop.
Add secrets in Docker as environment variable
# Add secrets as environment variables
export $(egrep -v '^#' /run/secrets/* | xargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment