document --e, --env command line flag

pull/295/head
Romain Primet 2018-04-09 21:18:36 +02:00
rodzic 00b40edeb4
commit cdc8f0c4bc
2 zmienionych plików z 14 dodań i 0 usunięć

Wyświetl plik

@ -24,3 +24,9 @@ or similar traditional docker command.
Check out the [binder-examples](http://github.com/binder-examples/) github
organization for example Dockerfiles you can copy & modify for your own use!
## How do I set environment variables?
Use the `-e` or `--env` flag for each variable that you want to define.
For example `jupyter-repo2docker -e VAR1=val1 -e VAR2=val2 ...`

Wyświetl plik

@ -131,6 +131,14 @@ be used by docker directly.
jupyter-repo2docker --no-build --debug https://github.com/jakevdp/PythonDataScienceHandbook
Setting environment variables
-----------------------------
If you want to define environment variables, you can pass the ``--env`` or ``-e`` parameter to the commandline:
.. code-block:: bash
jupyter-repo2docker -e VAR1=val1 -e VAR2=val2 ...
Accessing help from the command line
------------------------------------