Created
February 1, 2019 03:13
-
-
Save ridingintraffic/35c8d607aad93e1d4fd9c654b23f53b4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Python: | |
import os | |
print(os.environ['USERNAME']) | |
print(os.environ['PASSWORD']) | |
Docker: | |
docker run --env USERNAME=$USERNAME --env PASSWORD=$PASSWORD -- name docker-nginx -p 8080:80 -d nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment