diff --git a/docs/locale/en/LC_MESSAGES/using.po b/docs/locale/en/LC_MESSAGES/using.po index 606b4e91..b7fa12f3 100644 --- a/docs/locale/en/LC_MESSAGES/using.po +++ b/docs/locale/en/LC_MESSAGES/using.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: docker-stacks latest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-04-19 22:35+0000\n" +"POT-Creation-Date: 2020-04-23 11:11+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,11 +18,11 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.8.0\n" -#: ../../using/common.md:1 6aae393505074359beac31a5ab528e51 +#: ../../using/common.md:1 fee6b4f373f3483cbd9a9a55b81c45ff msgid "# Common Features" msgstr "" -#: ../../using/common.md:3 e4e873f3c6354787a754359b3c14510a +#: ../../using/common.md:3 6cbc0f3555ef42f882f709f25ef16f72 msgid "" "A container launched from any Jupyter Docker Stacks image runs a Jupyter " "Notebook server by default. The container does so by executing a `start-" @@ -32,17 +32,17 @@ msgid "" msgstr "" # 298bc09d3aab4abcb413ad481d6242ff -#: ../../using/common.md:5 a2aea3102b774faaa70ae4693473a29c +#: ../../using/common.md:5 efb59d9d911f49be842460752903cbf0 msgid "" "This page describes the options supported by the startup script as well " "as how to bypass it to run alternative commands." msgstr "" -#: ../../using/common.md:7 9499587f052d484886727508b249c053 +#: ../../using/common.md:7 5871dfb617fd42d08cce660d2e650ce9 msgid "## Notebook Options" msgstr "" -#: ../../using/common.md:9 5b1681ecda314c5cb483165a05793a09 +#: ../../using/common.md:9 3d3a6484210e43fc88bdd5a215bb2a77 msgid "" "You can pass [Jupyter command line " "options](https://jupyter.readthedocs.io/en/latest/projects/jupyter-" @@ -52,7 +52,7 @@ msgid "" "token, you can run the following:" msgstr "" -#: ../../using/common.md:11 a8b4eb48a0c941f688b917324359790a +#: ../../using/common.md:11 ab3b6c58af6049968585b78f2d3fbf54 msgid "" "``` docker run -d -p 8888:8888 jupyter/base-notebook start-notebook.sh " "--NotebookApp.password='sha1:74ba40f8a388:c913541b7ee99d15d5ed31d4226bf7838f83a50e'" @@ -60,30 +60,30 @@ msgid "" msgstr "" # 4c08f057def247cbbfc8231e628cb792 -#: ../../using/common.md:15 19481d15a72b49b28a4075313422f11c +#: ../../using/common.md:15 460a11a75cda435fb2b33effe358ad32 msgid "" "For example, to set the base URL of the notebook server, you can run the " "following:" msgstr "" -#: ../../using/common.md:17 e5f2c95d7c9046cb9856c2389e2890ea +#: ../../using/common.md:17 bc0537be42774e27a21382c32567ee55 msgid "" "``` docker run -d -p 8888:8888 jupyter/base-notebook start-notebook.sh " "--NotebookApp.base_url=/some/path ```" msgstr "" -#: ../../using/common.md:21 b040ec53c22d4e028f8bf3f42077ad51 +#: ../../using/common.md:21 9a84adcbcd634bf4ae1cf54f318c61a8 msgid "## Docker Options" msgstr "" -#: ../../using/common.md:23 e9a242e9c0fb4b0bb5e0188860a09c5e +#: ../../using/common.md:23 1d84a032a4cb41dca30e5d7d01dcbfa1 msgid "" "You may instruct the `start-notebook.sh` script to customize the " "container environment before launching the notebook server. You do so by " "passing arguments to the `docker run` command." msgstr "" -#: ../../using/common.md:26 c93495a446554bc99697a5473a629326 +#: ../../using/common.md:26 5293b94fd40d4e819437badc08cc9f5e msgid "" "`-e NB_USER=jovyan` - Instructs the startup script to change the default " "container username from `jovyan` to the provided value. Causes the script" @@ -93,7 +93,7 @@ msgid "" "volumes with specific home folder." msgstr "" -#: ../../using/common.md:27 e008655b5c394513a31ae04526c3854c +#: ../../using/common.md:27 27fbe2f149c743e2b14bd86fe1b4af04 msgid "" "`-e NB_UID=1000` - Instructs the startup script to switch the numeric " "user ID of `$NB_USER` to the given value. This feature is useful when " @@ -104,7 +104,7 @@ msgid "" "See the last bullet below for details." msgstr "" -#: ../../using/common.md:28 ead2c0a34b574e9eb5c752dc300ae26b +#: ../../using/common.md:28 262d9a2006594f55ae94eb3b0b8230a3 msgid "" "`-e NB_GID=100` - Instructs the startup script to change the primary " "group of`$NB_USER` to `$NB_GID` (the new group is added with a name of " @@ -120,14 +120,14 @@ msgid "" " if you want them to be able to modify files in the image." msgstr "" -#: ../../using/common.md:29 687253a9229846ff9e62dbc39a7004bd +#: ../../using/common.md:29 64a832f10380431e8732a2b9670c9e11 msgid "" "`-e NB_GROUP=` - The name used for `$NB_GID`, which defaults to " "`$NB_USER`. This is only used if `$NB_GID` is specified and completely " "optional: there is only cosmetic effect." msgstr "" -#: ../../using/common.md:30 0a3a29a589db4de29453d9dd84151210 +#: ../../using/common.md:30 e887b008750d4b3f85bbe8a96cb5a67d msgid "" "`-e NB_UMASK=` - Configures Jupyter to use a different umask value" " from default, i.e. `022`. For example, if setting umask to `002`, new " @@ -141,7 +141,7 @@ msgid "" "you need to set a umask for these you must set `umask` for each command." msgstr "" -#: ../../using/common.md:31 4240a59df1d14152843a43ed4333b13b +#: ../../using/common.md:31 693fa7fe9be84082bbaffb82c2ed1e39 msgid "" "`-e CHOWN_HOME=yes` - Instructs the startup script to change the " "`$NB_USER` home directory owner and group to the current value of " @@ -152,7 +152,7 @@ msgid "" "CHOWN_HOME_OPTS='-R'`)." msgstr "" -#: ../../using/common.md:32 07a197b8cf3743849eda11ccbd266ed1 +#: ../../using/common.md:32 aba96199844548f38b6040ae9154ff57 msgid "" "`-e CHOWN_EXTRA=\",\"` - Instructs the startup " "script to change the owner and group of each comma-separated container " @@ -162,7 +162,7 @@ msgid "" "CHOWN_EXTRA_OPTS='-R'`)." msgstr "" -#: ../../using/common.md:33 2c36a092467448fcaad9c4d65d5e594e +#: ../../using/common.md:33 2d2be23bd3d144c5b82c2745d754f3c2 msgid "" "`-e GRANT_SUDO=yes` - Instructs the startup script to grant the `NB_USER`" " user passwordless `sudo` capability. You do **not** need this option to " @@ -175,14 +175,14 @@ msgid "" "you trust the user or if the container is running on an isolated host.**" msgstr "" -#: ../../using/common.md:34 d06140d1706c4745b20b81d4c7295bdf +#: ../../using/common.md:34 c2ccb6239b5846c19ad76e79ed53ec90 msgid "" "`-e GEN_CERT=yes` - Instructs the startup script to generates a self-" "signed SSL certificate and configure Jupyter Notebook to use it to accept" " encrypted HTTPS connections." msgstr "" -#: ../../using/common.md:35 d7f7537a38f74d249e851fd225f5d96b +#: ../../using/common.md:35 c08598b2969443aa9f90ac2a3915c632 msgid "" "`-e JUPYTER_ENABLE_LAB=yes` - Instructs the startup script to run " "`jupyter lab` instead of the default `jupyter notebook` command. Useful " @@ -190,14 +190,14 @@ msgid "" "variables is easier than change command line parameters." msgstr "" -#: ../../using/common.md:36 a7c037b34bc1496fa4cb87bb245d2431 +#: ../../using/common.md:36 4aed89ad99e842ce8d3dabe1d2ae1334 msgid "" "`-e RESTARTABLE=yes` - Runs Jupyter in a loop so that quitting Jupyter " "does not cause the container to exit. This may be useful when you need " "to install extensions that require restarting Jupyter." msgstr "" -#: ../../using/common.md:37 3f9fd08e75f24c82b7cebd983916f9ed +#: ../../using/common.md:37 7d4c6835add14e35ae362a809c6fda20 msgid "" "`-v /some/host/folder/for/work:/home/jovyan/work` - Mounts a host machine" " directory as folder in the container. Useful when you want to preserve " @@ -207,7 +207,7 @@ msgid "" "/some/host/folder/for/work`).**" msgstr "" -#: ../../using/common.md:38 a4b9448bd7e94a1b894638b5689c6932 +#: ../../using/common.md:38 ba996910dcd140a4af7820c3e5c8600d msgid "" "`--user 5000 --group-add users` - Launches the container with a specific " "user ID and adds that user to the `users` group so that it can modify " @@ -215,42 +215,42 @@ msgid "" "arguments as alternatives to setting `$NB_UID` and `$NB_GID`." msgstr "" -#: ../../using/common.md:40 d4dcf99c0dad4bea8ec6fcd513255822 +#: ../../using/common.md:40 331e3f924b6945778f042969119aa3be msgid "## Startup Hooks" msgstr "" -#: ../../using/common.md:42 0c7dadaba45b4ba49ea1a1862ea20a2d +#: ../../using/common.md:42 c3c05f42c90f49179214062d6ecff09d msgid "" "You can further customize the container environment by adding shell " "scripts (`*.sh`) to be sourced or executables (`chmod +x`) to be run to " "the paths below:" msgstr "" -#: ../../using/common.md:45 e51c92d928f44830aa84ef6c1ec3562e +#: ../../using/common.md:45 ee443ea3ccec4ad687563b69752123b7 msgid "" "`/usr/local/bin/start-notebook.d/` - handled before any of the standard " "options noted above are applied" msgstr "" -#: ../../using/common.md:47 d59ffad18f68451cb60127d3673bc1b3 +#: ../../using/common.md:47 ecad6a131c7b40b69a52184f6ffba923 msgid "" "`/usr/local/bin/before-notebook.d/` - handled after all of the standard " "options noted above are applied and just before the notebook server " "launches" msgstr "" -#: ../../using/common.md:50 1fe6bee280ce488981cc1db6d9063907 +#: ../../using/common.md:50 623597f099664a68a24d9fcb256293f3 msgid "" "See the `run-hooks` function in the [`jupyter/base-notebook " "start.sh`](https://github.com/jupyter/docker-stacks/blob/master/base-" "notebook/start.sh) script for execution details." msgstr "" -#: ../../using/common.md:53 62aae1b0c45b4f3d9a4b34ffe219eb68 +#: ../../using/common.md:53 944ac7c1f1c24167940ae3cd143b9fbf msgid "## SSL Certificates" msgstr "" -#: ../../using/common.md:55 8c26788d68544e9b97ac86b9d9c00779 +#: ../../using/common.md:55 40e3d7029ce149d48d06dea997b9265c msgid "" "You may mount SSL key and certificate files into a container and " "configure Jupyter Notebook to use them to accept HTTPS connections. For " @@ -259,11 +259,11 @@ msgid "" msgstr "" #: ../../using/common.md:57 ../../using/common.md:67 -#: 02b6d22a71dc4455a9a697b119ab5cf0 144dc034aafa4d2d9fcb302387111457 +#: abac0d196524481f80f20afc32ca8b17 eebba4a4e20e43a299dce68b6bff2073 msgid "``` docker run -d -p 8888:8888 \\" msgstr "" -#: ../../using/common.md:59 b308b51477f9446782463a1c79d242cd +#: ../../using/common.md:59 4202d8417b084277838065c0228dee55 msgid "" "-v /some/host/folder:/etc/ssl/notebook \\ jupyter/base-notebook start-" "notebook.sh \\ --NotebookApp.keyfile=/etc/ssl/notebook/notebook.key " @@ -274,23 +274,23 @@ msgstr "" #: ../../using/recipes.md:67 ../../using/recipes.md:294 #: ../../using/recipes.md:515 ../../using/running.md:34 #: ../../using/running.md:75 ../../using/running.md:97 -#: ../../using/specifics.md:147 1e737a98792a4ec1881f0a84b61b1170 -#: 5838dc1b91254dbb9b199845d1b507df 5c195bd14bb1498bbeb06949cf608fe2 -#: 810864885e164988be14d153e6cafb99 a4e2d977c4d64333b76f188a4abe5b73 -#: c130c6e912f74d5fac8213dcf7e7778e c2a70a804d97463cbe557cb0c4379980 -#: d974dcc9ce8a4f42924d49687086fed9 dd0097dcc88544caa59b772d5561f6c4 -#: e74f23d5022b4d5b8282ecf855db8b9c +#: ../../using/specifics.md:147 0ce4170d40c843d3ac09f277a0a64c82 +#: 43826767f09d4e9b971c667b8806922b 6d94e180844b42f3b8bfc57438f04c1c +#: 88e07cbc01934ca0ae54f90a4ecb488d 8ff55fb4037f4272833889f1ddba2cae +#: da6e019921dc4b2ba24172a1715d089e dd2a774fae354fc988e7207f026f5178 +#: f75a4d21ad5d4d5784c703a858fa474a f9974310df4b4a10b10dcba7992757bc +#: fc3b95797d5a4f5d9030f054c636f890 msgid "```" msgstr "" # e496d62ce1b7489eabf40a55471247b4 -#: ../../using/common.md:65 2ee951ab56ff404b801fa59af6486a72 +#: ../../using/common.md:65 bab17cd0af36427ab5b776295413bf63 msgid "" "Alternatively, you may mount a single PEM file containing both the key " "and certificate. For example:" msgstr "" -#: ../../using/common.md:69 ce67a595f11844798658f93b9dd728d2 +#: ../../using/common.md:69 1890633426b44292af59fbd60c77bf81 msgid "" "-v /some/host/folder/notebook.pem:/etc/ssl/notebook.pem \\ jupyter/base-" "notebook start-notebook.sh \\ " @@ -298,7 +298,7 @@ msgid "" msgstr "" # 6ada67b7d1a34f59ad235d7e49e6a298 -#: ../../using/common.md:74 7ec3cb8c8020473697f2d913838df631 +#: ../../using/common.md:74 a610901ac2a84dc0b911715b18e090b3 msgid "" "In either case, Jupyter Notebook expects the key and certificate to be a " "base64 encoded text file. The certificate file or PEM may contain one or " @@ -306,11 +306,11 @@ msgid "" msgstr "" # c908965cf0084fc2b276b50b47b87d18 -#: ../../using/common.md:76 c4df49916e5e4e6a8626fc558c6ec15a +#: ../../using/common.md:76 513585eeae8e4ddd89e34c4b5aed2769 msgid "For additional information about using SSL, see the following:" msgstr "" -#: ../../using/common.md:78 369880dcb7e543a7a485b9d42d14de36 +#: ../../using/common.md:78 15f9b2dbe3e14e65bf64f8953296cce7 msgid "" "The [docker-stacks/examples](https://github.com/jupyter/docker-" "stacks/tree/master/examples) for information about how to use [Let's " @@ -318,14 +318,14 @@ msgid "" " on a publicly visible domain." msgstr "" -#: ../../using/common.md:79 698a88883a2946f5a640ed7f9970a182 +#: ../../using/common.md:79 2d9473b8e4e1430f87b2e7bc3ee01af0 msgid "" "The [jupyter_notebook_config.py](https://github.com/jupyter/docker-" "stacks/blob/master/base-notebook/jupyter_notebook_config.py) file for how" " this Docker image generates a self-signed certificate." msgstr "" -#: ../../using/common.md:80 9200eaedad2d4ef4869d54c04104a1b7 +#: ../../using/common.md:80 8eaee24e828e432db47d6216ef200cee msgid "" "The [Jupyter Notebook documentation](https://jupyter-" "notebook.readthedocs.io/en/latest/public_server.html#securing-a-notebook-" @@ -333,15 +333,15 @@ msgid "" "general." msgstr "" -#: ../../using/common.md:82 57effce809db46c39e3898ade7127065 +#: ../../using/common.md:82 949500a4e80c4b5b913389163f15e838 msgid "## Alternative Commands" msgstr "" -#: ../../using/common.md:84 8326f350d8d644f5adcffe50e513e3f4 +#: ../../using/common.md:84 23918261c2c64957addd036a5c60c6a3 msgid "### start.sh" msgstr "" -#: ../../using/common.md:86 d27f6f978d2d47e5a6d39adf710bc7c5 +#: ../../using/common.md:86 a1f1473a7d3943099085390a44ea974c msgid "" "The `start-notebook.sh` script actually inherits most of its option " "handling capability from a more generic `start.sh` script. The `start.sh`" @@ -350,44 +350,44 @@ msgid "" "based `ipython` console in a container, do the following:" msgstr "" -#: ../../using/common.md:88 97b731796eee4cd58665273869104ccb +#: ../../using/common.md:88 186d1e49e2e244f78c62a6e1423345f6 msgid "``` docker run -it --rm jupyter/base-notebook start.sh ipython ```" msgstr "" # ad0be3e8095e4394afb367e9e56e1ca5 -#: ../../using/common.md:92 8eba4aa7e492424f92adf5990278cb06 +#: ../../using/common.md:92 f4c4d69412df4a6a87da06d867841ca5 msgid "Or, to run JupyterLab instead of the classic notebook, run the following:" msgstr "" -#: ../../using/common.md:94 83aa903a31b04e85a59890ccec66d8e3 +#: ../../using/common.md:94 3938da8308dd44fbba6431d9c5b676a9 msgid "" "``` docker run -it --rm -p 8888:8888 jupyter/base-notebook start.sh " "jupyter lab ```" msgstr "" -#: ../../using/common.md:98 7239eff3f3164e1e9d8bb666a0798baa +#: ../../using/common.md:98 041a68a61c7c4b23a6c45ff8738be3ef msgid "" "This script is particularly useful when you derive a new Dockerfile from " "this image and install additional Jupyter applications with subcommands " "like `jupyter console`, `jupyter kernelgateway`, etc." msgstr "" -#: ../../using/common.md:100 554b02023c9f49cf8e8ae8c9ef3653fe +#: ../../using/common.md:100 99745557724e4e6a8e02e12315a40291 msgid "### Others" msgstr "" -#: ../../using/common.md:102 720a202b5cfd4a748a764f9f50e7337c +#: ../../using/common.md:102 0d148f85e2f7429781b99aa878679486 msgid "" "You can bypass the provided scripts and specify an arbitrary start " "command. If you do, keep in mind that features supported by the " "`start.sh` script and its kin will not function (e.g., `GRANT_SUDO`)." msgstr "" -#: ../../using/common.md:104 69e334050bac42cc9b7307ffd356eaa5 +#: ../../using/common.md:104 e41d9819c3b14cb184849f6181b2024b msgid "## Conda Environments" msgstr "" -#: ../../using/common.md:106 07ae3acde7dc4fe98ffb44d011f4c215 +#: ../../using/common.md:106 9846868d968642509b461ddb799e53c8 msgid "" "The default Python 3.x [Conda " "environment](http://conda.pydata.org/docs/using/envs.html) resides in " @@ -396,24 +396,24 @@ msgid "" "`sudo` commands by the `start.sh` script." msgstr "" -#: ../../using/common.md:108 e588aa29c5e5422e944d841bcc92babd +#: ../../using/common.md:108 c19ac3048b3f42d6ab98de90e067ebb9 msgid "" "The `jovyan` user has full read/write access to the `/opt/conda` " "directory. You can use either `conda` or `pip` to install new packages " "without any additional permissions." msgstr "" -#: ../../using/common.md:110 b95c751214174b9aa79c986f08cc9e1c +#: ../../using/common.md:110 cb47f2705d364110b00f6a4479ba300e msgid "" "``` # install a package into the default (python 3.x) environment pip " "install some-package conda install some-package ```" msgstr "" -#: ../../using/recipes.md:1 db096305ac2c4545b99cf3c3ef26e95c +#: ../../using/recipes.md:1 1a63357c4cb24778b157ad48b264981f msgid "# Contributed Recipes" msgstr "" -#: ../../using/recipes.md:3 ca9ee7a3a3304e878646cc59d0e19732 +#: ../../using/recipes.md:3 7a81cc4c4ed643b3876117b959902968 msgid "" "Users sometimes share interesting ways of using the Jupyter Docker " "Stacks. We encourage users to [contribute these " @@ -423,11 +423,11 @@ msgid "" "knowledge." msgstr "" -#: ../../using/recipes.md:8 b7f13af31fc944cf9600421c5a7e2e2b +#: ../../using/recipes.md:8 7ce4651a4d9e4c8c8345b84c138caabf msgid "## Using `sudo` within a container" msgstr "" -#: ../../using/recipes.md:10 a99192244bb64acebcb2dad88388f591 +#: ../../using/recipes.md:10 d24c04c9baab4d1da485a5ddacbd73ea msgid "" "Password authentication is disabled for the `NB_USER` (e.g., `jovyan`). " "This choice was made to avoid distributing images with a weak default " @@ -435,7 +435,7 @@ msgid "" "container on a publicly accessible host." msgstr "" -#: ../../using/recipes.md:14 194d8dc6aa614877abdadaa5ec26f99c +#: ../../using/recipes.md:14 a0157d3ab67f425b918a7f0e212dd5d8 msgid "" "You can grant the within-container `NB_USER` passwordless `sudo` access " "by adding `-e GRANT_SUDO=yes` and `--user root` to your Docker command " @@ -443,17 +443,17 @@ msgid "" msgstr "" # f75300183d66418d958651b713e3c81e -#: ../../using/recipes.md:18 0da46126860f4b0abf5c47d95905df46 +#: ../../using/recipes.md:18 c3ed93ce319e4b8ebf96ea0566d447a5 msgid "For example:" msgstr "" -#: ../../using/recipes.md:20 1cf1600d3ea64495ade76d6d4e3abaa3 +#: ../../using/recipes.md:20 0e53a5a7853445feb6985cfe636c3e8f msgid "" "``` docker run -it -e GRANT_SUDO=yes --user root jupyter/minimal-notebook" " ```" msgstr "" -#: ../../using/recipes.md:24 f85bec03dd0e46539099a0650954528d +#: ../../using/recipes.md:24 86d449e59679426d9c0fd9cd195b21e2 msgid "" "**You should only enable `sudo` if you trust the user and/or if the " "container is running on an isolated host.** See [Docker security " @@ -461,16 +461,16 @@ msgid "" " more information about running containers as `root`." msgstr "" -#: ../../using/recipes.md:27 11dc6500d454403dbff5410c5b1b71ca +#: ../../using/recipes.md:27 74232407223a4ae094a3c12d878dd38f msgid "## Using `pip install` or `conda install` in a Child Docker image" msgstr "" # cfb1a65ed1a4453e8b3355f1c0c23b1c -#: ../../using/recipes.md:29 63d6ba781eb44470a1e4771295296470 +#: ../../using/recipes.md:29 95e58945f28a4884bae61433f325631b msgid "Create a new Dockerfile like the one shown below." msgstr "" -#: ../../using/recipes.md:31 9feea81a6b6749d7960bc116ffe95115 +#: ../../using/recipes.md:31 c6dad62b708245c3926e12ad9f267c47 msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install in the default python3 environment RUN " @@ -478,22 +478,22 @@ msgid "" msgstr "" # 3ab615dc6fb6425d954cae4ce14f08b9 -#: ../../using/recipes.md:38 799ae22233dc4f83bf9b9c4ddf699333 +#: ../../using/recipes.md:38 fbf41a61da8a4eccb3cc0e78c1ccbac1 msgid "Then build a new image." msgstr "" -#: ../../using/recipes.md:40 e9bbdef8210a44e394948eb237ea8af8 +#: ../../using/recipes.md:40 3733c10054d0494aa44f6090abea22f2 msgid "```bash docker build --rm -t jupyter/my-datascience-notebook . ```" msgstr "" -#: ../../using/recipes.md:44 cc14cf7c75bb4d439d452daee198cefe +#: ../../using/recipes.md:44 2ac71fe480e1474ab7ac8bc2d50d34e8 msgid "" "To use a requirements.txt file, first create your `requirements.txt` file" " with the listing of packages desired. Next, create a new Dockerfile like" " the one shown below." msgstr "" -#: ../../using/recipes.md:47 4005cd8dcb294a2ca3db1b93a3c0a009 +#: ../../using/recipes.md:47 a963de102b8c471197d93379010562cd msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install from requirements.txt file COPY " @@ -502,17 +502,17 @@ msgid "" msgstr "" #: ../../using/recipes.md:53 ../../using/recipes.md:65 -#: ../../using/recipes.md:129 3c74a211248e44ae9e29003c41898954 -#: 9f39293b965d4505b8760ead607a057f e55159b3be814120a3970c7d545b7f26 +#: ../../using/recipes.md:129 320cd4413f914342a3c99f546bbaa51f +#: 843faa6d68d4460aa21db578622e7982 e44702fcd06c41f18c6484227e09c526 msgid "fix-permissions $CONDA_DIR && \\ fix-permissions /home/$NB_USER" msgstr "" # f2f035925d764425b9999b19d36c1d30 -#: ../../using/recipes.md:57 68616f3a73424456abf5846343bc8481 +#: ../../using/recipes.md:57 82470637fbab4fd9b1ad462093cda056 msgid "For conda, the Dockerfile is similar:" msgstr "" -#: ../../using/recipes.md:59 c2bbf08ffa4f4bdab7955e8330b98dc9 +#: ../../using/recipes.md:59 28dee9fc9d724fab80e3091db15e865b msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install from requirements.txt file COPY " @@ -520,7 +520,7 @@ msgid "" "/tmp/requirements.txt && \\" msgstr "" -#: ../../using/recipes.md:69 5a27708994224c1c9166c2e88fee1309 +#: ../../using/recipes.md:69 26aba56f83a44e358b2c0120d461fc15 msgid "" "Ref: [docker-" "stacks/commit/79169618d571506304934a7b29039085e77db78c](https://github.com/jupyter" @@ -528,22 +528,22 @@ msgid "" "stacks/commit/79169618d571506304934a7b29039085e77db78c#commitcomment-15960081)" msgstr "" -#: ../../using/recipes.md:72 94f66dd658a944aa9d54482ed76ec4b9 +#: ../../using/recipes.md:72 95f785d7768e454f809de4f71f257aed msgid "## Add a Python 2.x environment" msgstr "" -#: ../../using/recipes.md:74 3676a57cec704f78b2f625a0180fbe17 +#: ../../using/recipes.md:74 e1a27436fcc44d429b89eb4aea910743 msgid "" "Python 2.x was removed from all images on August 10th, 2017, starting in " "tag `cc9feab481f7`. You can add a Python 2.x environment by defining your" " own Dockerfile inheriting from one of the images like so:" msgstr "" -#: ../../using/recipes.md:78 dfdf26d74f7943e394dc932216d49118 +#: ../../using/recipes.md:78 8cfbd7a351fb4c649b067abe46c154bd msgid "``` # Choose your desired base image FROM jupyter/scipy-notebook:latest" msgstr "" -#: ../../using/recipes.md:82 f5efb8e6420340b4a7d8f63e86e5227b +#: ../../using/recipes.md:82 eb04036051454641bf0c57e79f435578 msgid "" "# Create a Python 2.x environment using conda including at least the " "ipython kernel # and the kernda utility. Add any additional packages you " @@ -553,16 +553,16 @@ msgid "" msgstr "" #: ../../using/recipes.md:86 ../../using/recipes.md:116 -#: a2326631117042c9966ddfbeb6db3bb5 f07e57283b7845a18e51a5bf339a096f +#: 00dff24ca67a41398c29c5066f2a6e8e efcf576fa4ec4ca09b98eb56783c1e30 msgid "conda clean --all -f -y" msgstr "" #: ../../using/recipes.md:88 ../../using/recipes.md:253 -#: 4db2a0f672d241679e269feb767486e2 6acc3ace3d084545b5cc485cfc888d28 +#: 79cd32f049514276b1a44d611ec10d72 b9c27c245c534b1ba78c1ed28c811d59 msgid "USER root" msgstr "" -#: ../../using/recipes.md:90 e3ea9e18d45241d896361d991d9d2818 +#: ../../using/recipes.md:90 a2d1aaebcb824177ac1dac08e553aa40 msgid "" "# Create a global kernelspec in the image and modify it so that it " "properly activates # the python2 conda environment. RUN " @@ -571,21 +571,21 @@ msgid "" "/usr/local/share/jupyter/kernels/python2/kernel.json" msgstr "" -#: ../../using/recipes.md:95 1ebb3e4418ec4361a1f5072a2987223a +#: ../../using/recipes.md:95 4c22870a18c9409688b646c89dc16027 msgid "USER $NB_USER ```" msgstr "" -#: ../../using/recipes.md:98 008a6aac00034ac1af7fbd95044cdd5b +#: ../../using/recipes.md:98 a1e9123c6c944bb593de83c7f9744632 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/440](https://github.com/jupyter/docker-stacks/issues/440)" msgstr "" -#: ../../using/recipes.md:101 f7e1e05da1b44c3c9f2923d19070b875 +#: ../../using/recipes.md:101 3c78f9885c044583ae975075b9f1b197 msgid "## Add a Python 3.x environment" msgstr "" -#: ../../using/recipes.md:103 fda0f506d10a44ea95fdfb653eb8e429 +#: ../../using/recipes.md:103 f995a68e035945fd9ca33d87c3168ede msgid "" "The default version of Python that ships with conda/ubuntu may not be the" " version you want. To add a conda environment with a different version " @@ -593,17 +593,17 @@ msgid "" "Python 2.x but are slightly simpler (no need to switch to `root`):" msgstr "" -#: ../../using/recipes.md:106 23ddfa7439e14cceacc1b21f9b3d5d9d +#: ../../using/recipes.md:106 f05e52eb2f884bf8bf9bc9a484302bf7 msgid "``` # Choose your desired base image FROM jupyter/minimal-notebook:latest" msgstr "" -#: ../../using/recipes.md:110 c3d31cc698294eb8b7106c985debe003 +#: ../../using/recipes.md:110 e2828e10f44a4adba74bdabcbae332ff msgid "" "# name your environment and choose python 3.x version ARG " "conda_env=python36 ARG py_ver=3.6" msgstr "" -#: ../../using/recipes.md:114 15439e0e071c41c587950e5b4c3bfea1 +#: ../../using/recipes.md:114 e1df98b0c846499db1197b602fbc9bbf msgid "" "# you can add additional libraries you want conda to install by listing " "them below the first line and ending with \"&& \\\" RUN conda create " @@ -611,67 +611,67 @@ msgid "" "ipykernel && \\" msgstr "" -#: ../../using/recipes.md:118 2a1032ea2be14457a8f3e015e2a0e57a +#: ../../using/recipes.md:118 a782ce8d51e2450b85c4b7e9ccf004a8 msgid "" "# alternatively, you can comment out the lines above and uncomment those " "below # if you'd prefer to use a YAML file present in the docker build " "context" msgstr "" -#: ../../using/recipes.md:121 ab46fea95e924805bae809fe03667b7c +#: ../../using/recipes.md:121 dbafb6d7737f45958e6f3819d0605c8e msgid "" "# COPY environment.yml /home/$NB_USER/tmp/ # RUN cd /home/$NB_USER/tmp/ " "&& \\ # conda env create -p $CONDA_DIR/envs/$conda_env -f " "environment.yml && \\ # conda clean --all -f -y" msgstr "" -#: ../../using/recipes.md:127 81f88d98553f42c39a8702aa53e87435 +#: ../../using/recipes.md:127 e8d1f967600d4f199a3457b27fc6d3f9 msgid "" "# create Python 3.x environment and link it to jupyter RUN " "$CONDA_DIR/envs/${conda_env}/bin/python -m ipykernel install --user " "--name=${conda_env} && \\" msgstr "" -#: ../../using/recipes.md:132 107665feec274179a16d3874a00b54a8 +#: ../../using/recipes.md:132 02adedb768c74f0f82e441c8370fdd40 msgid "" "# any additional pip installs can be added by uncommenting the following " "line # RUN $CONDA_DIR/envs/${conda_env}/bin/pip install" msgstr "" -#: ../../using/recipes.md:135 dac6216fa1de4451b4830b177f5ea909 +#: ../../using/recipes.md:135 7d08094fe4794b18930a563ded8a3fc0 msgid "" "# prepend conda environment to path ENV PATH " "$CONDA_DIR/envs/${conda_env}/bin:$PATH" msgstr "" -#: ../../using/recipes.md:138 02b82bb09f9642a7ab24e537db0d6d15 +#: ../../using/recipes.md:138 98f28b8c6a694e3484ac7f462c18a6ec msgid "" "# if you want this environment to be the default one, uncomment the " "following line: # ENV CONDA_DEFAULT_ENV ${conda_env} ```" msgstr "" -#: ../../using/recipes.md:142 400cb17d289f400680800d5685b710b0 +#: ../../using/recipes.md:142 25191eeef221497a860685b81742ef15 msgid "## Run JupyterLab" msgstr "" -#: ../../using/recipes.md:144 62824734c420493a9a2c995d7ef6167a +#: ../../using/recipes.md:144 489eb21f31a3483a87b6c7180f14e425 msgid "" "JupyterLab is preinstalled as a notebook extension starting in tag " "[c33a7dc0eece](https://github.com/jupyter/docker-stacks/wiki/Docker-" "build-history)." msgstr "" -#: ../../using/recipes.md:147 9484335659754972a7d50b1d67aa5e93 +#: ../../using/recipes.md:147 08d302298e2548df8f2b3d8a6319d62c msgid "" "Run jupyterlab using a command such as `docker run -it --rm -p 8888:8888 " "jupyter/datascience-notebook start.sh jupyter lab`" msgstr "" -#: ../../using/recipes.md:150 1d2c9cb2ad7f4bc19e0efbfe3acee759 +#: ../../using/recipes.md:150 41eda646bb5047d0a51f751cfb5383bb msgid "## Dask JupyterLab Extension" msgstr "" -#: ../../using/recipes.md:152 fdf0dd7f69d54e998125b607a2452d73 +#: ../../using/recipes.md:152 4dd080abfb664336bd1dd3c07bfb70e0 msgid "" "[Dask JupyterLab Extension](https://github.com/dask/dask-labextension) " "provides a JupyterLab extension to manage Dask clusters, as well as embed" @@ -679,51 +679,51 @@ msgid "" "Dockerfile as:" msgstr "" -#: ../../using/recipes.md:154 411c7b9aabd9490da6bf15495804ae1c +#: ../../using/recipes.md:154 6d3851fe1e8e41738a37f64011db638f msgid "" "```dockerfile # Start from a core stack version FROM jupyter/scipy-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:158 6eeb19da5dc4483f8ed265fcdb02fbdc +#: ../../using/recipes.md:158 24807d03164f448a8ef6284e3a92c286 msgid "# Install the Dask dashboard RUN pip install dask_labextension ; \\" msgstr "" -#: ../../using/recipes.md:160 efc03746de1f4598be9a183eb7b434ac +#: ../../using/recipes.md:160 e21e95829b5745efa1b585b07261b75a msgid "jupyter labextension install -y --clean \\ dask-labextension" msgstr "" -#: ../../using/recipes.md:163 5b8033f0e5a04c6ba6354cdb453a2a16 +#: ../../using/recipes.md:163 069ff8365e6a4d6aab869708b9cb7f18 msgid "# Dask Scheduler & Bokeh ports EXPOSE 8787 EXPOSE 8786" msgstr "" -#: ../../using/recipes.md:167 a81097d2d43045a4910edfef9fcbf2ba +#: ../../using/recipes.md:167 5aca30fb7677482eac8f7832f195ba1c msgid "ENTRYPOINT [\"jupyter\", \"lab\", \"--ip=0.0.0.0\", \"--allow-root\"] ```" msgstr "" -#: ../../using/recipes.md:170 2d6fffa78ead4bd1aa429029ff59841b +#: ../../using/recipes.md:170 05236b4512ff4e5f891c44efb757f75e msgid "" "And build the image as: ``` docker build -t jupyter/scipy-" "dasklabextension:latest . ```" msgstr "" -#: ../../using/recipes.md:175 43f14ddbdef84bedba51f0c34ccfff54 +#: ../../using/recipes.md:175 055adecc5fda4a99be899448d55edd3f msgid "" "Once built, run using the command: ``` docker run -it --rm -p 8888:8888 " "-p 8787:8787 jupyter/scipy-dasklabextension:latest ```" msgstr "" -#: ../../using/recipes.md:180 43922a717cdb49219c44edf5d039a256 +#: ../../using/recipes.md:180 b345d5e6b2174e2192695f466bf6bcde msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/999](https://github.com/jupyter/docker-stacks/issues/999)" msgstr "" -#: ../../using/recipes.md:183 e15ac2ac12784a63a6f77dfcca3d3603 +#: ../../using/recipes.md:183 52464d03d0194f38acc29b11fc1847d4 msgid "## Let's Encrypt a Notebook server" msgstr "" -#: ../../using/recipes.md:185 2080fb189d634038adc6672242f4825d +#: ../../using/recipes.md:185 6aba97eea7544d89a39d199436cde917 msgid "" "See the README for the simple automation here [https://github.com/jupyter" "/docker-stacks/tree/master/examples/make-" @@ -732,67 +732,67 @@ msgid "" "Encrypt certificate." msgstr "" -#: ../../using/recipes.md:189 ba22828ff34a49a4b1c6e097cd33ec78 +#: ../../using/recipes.md:189 bec7a5e320b4427f8428188caadceea9 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/78](https://github.com/jupyter/docker-stacks/issues/78)" msgstr "" -#: ../../using/recipes.md:192 353b0f70898d461fb940e6bd5e260d61 +#: ../../using/recipes.md:192 eae4793b17a9401b9444364949746afd msgid "## Slideshows with Jupyter and RISE" msgstr "" -#: ../../using/recipes.md:194 33f342ca084f42afa6d8d76539667fb1 +#: ../../using/recipes.md:194 34dfb0bd24e74d47939da06797df0f03 msgid "" "[RISE](https://github.com/damianavila/RISE) allows via extension to " "create live slideshows of your notebooks, with no conversion, adding " "javascript Reveal.js:" msgstr "" -#: ../../using/recipes.md:197 90b14a2bf46b4eed9ba72b1064505537 +#: ../../using/recipes.md:197 10203af9afb44a679cee0029c5e9c2a4 msgid "" "``` # Add Live slideshows with RISE RUN conda install -c damianavila82 " "rise ```" msgstr "" -#: ../../using/recipes.md:202 b09a3caf548b47a591f625bc96c30b8d +#: ../../using/recipes.md:202 93ae36b1173540138115721161d10e3f msgid "" "Credit: [Paolo D.](https://github.com/pdonorio) based on [docker-" "stacks/issues/43](https://github.com/jupyter/docker-stacks/issues/43)" msgstr "" -#: ../../using/recipes.md:205 e83013f8114c492d8bf82d41593ef9ea +#: ../../using/recipes.md:205 c51f9fe5a2414e47abb5f925ee66169e msgid "## xgboost" msgstr "" # ce204678c3af4aa9a0fb55bb6de7554b -#: ../../using/recipes.md:207 2ed5f727194a41488f42304408d473c9 +#: ../../using/recipes.md:207 fa27190a32c247ad9fdea81de81dab3e msgid "" "You need to install conda's gcc for Python xgboost to work properly. " "Otherwise, you'll get an exception about libgomp.so.1 missing GOMP_4.0." msgstr "" -#: ../../using/recipes.md:210 1d4d8475733540ac89c6675c4b0e70ab +#: ../../using/recipes.md:210 188654380cc1420d8f771ff8d52cd250 #, python-format msgid "``` %%bash conda install -y gcc pip install xgboost" msgstr "" -#: ../../using/recipes.md:215 486b73a0162340b580596a729f02629f +#: ../../using/recipes.md:215 e89daed3c5cd44279236fc3c7b2455a7 msgid "import xgboost ```" msgstr "" -#: ../../using/recipes.md:218 88e2cd73e46047c8b8654ceb0052bedb +#: ../../using/recipes.md:218 c12e7a2bf9e94a60830e342091365121 msgid "## Running behind a nginx proxy" msgstr "" # ca7763a5a35a47bd9fb29ae9d00feab3 -#: ../../using/recipes.md:220 1275581a2ace470891458edbe1b5f086 +#: ../../using/recipes.md:220 bbaf522a74ce490c8bada1955a14808e msgid "" "Sometimes it is useful to run the Jupyter instance behind a nginx proxy, " "for instance:" msgstr "" -#: ../../using/recipes.md:222 535727aed6b44cd58bdf7c46d592abfe +#: ../../using/recipes.md:222 1b05f46c2ff84e4da62be6f4fe9a0b62 msgid "" "you would prefer to access the notebook at a server URL with a path " "(`https://example.com/jupyter`) rather than a port " @@ -800,14 +800,14 @@ msgid "" msgstr "" # a5129fb6e2b042f5b8161ed5318123f9 -#: ../../using/recipes.md:224 a278a50af8414a2f9a3ac1dfd55f9b9e +#: ../../using/recipes.md:224 06af60c189a74f89810efed0ef08fd2b msgid "" "you may have many different services in addition to Jupyter running on " "the same server, and want to nginx to help improve server performance in " "manage the connections" msgstr "" -#: ../../using/recipes.md:227 ed9965b537394e7fa661228b73a78972 +#: ../../using/recipes.md:227 ee36fc5e6fa94092a172efdf2ca5964f msgid "" "Here is a [quick example NGINX " "configuration](https://gist.github.com/cboettig/8643341bd3c93b62b5c2) to " @@ -818,11 +818,11 @@ msgid "" "services." msgstr "" -#: ../../using/recipes.md:232 3e76207ba8a44a4ba0d533f16c7d4bd5 +#: ../../using/recipes.md:232 977f8a468f73470c955d759865c6a1d8 msgid "## Host volume mounts and notebook errors" msgstr "" -#: ../../using/recipes.md:234 22cc14b419eb43499639ffce3899331e +#: ../../using/recipes.md:234 420556e2df154a78a52e2ed38042159f msgid "" "If you are mounting a host directory as `/home/jovyan/work` in your " "container and you receive permission errors or connection errors when you" @@ -833,45 +833,45 @@ msgid "" "section](../using/common.html#Docker-Options)" msgstr "" -#: ../../using/recipes.md:240 df1e97c1aabd408a94916acb2f258731 +#: ../../using/recipes.md:240 2e56480b40ee429cbe367c1200f6cf8f msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/199](https://github.com/jupyter/docker-stacks/issues/199)" msgstr "" -#: ../../using/recipes.md:243 a334451d5fdc430abe411cb275ff5614 +#: ../../using/recipes.md:243 6d7b0809593044e58e4089b43212f4fd msgid "## Manpage installation" msgstr "" # 7fc6566074ee4ba3a4e579437d7f151d -#: ../../using/recipes.md:245 f323a3d71403462aaf8d2da1a21dc7b5 +#: ../../using/recipes.md:245 e12b3901df1846d4bd677d7d45a9d539 msgid "" "Most containers, including our Ubuntu base image, ship without manpages " "installed to save space. You can use the following dockerfile to inherit " "from one of our images to enable manpages:" msgstr "" -#: ../../using/recipes.md:248 5dd1ed921ceb48099d2636a613dfdc28 +#: ../../using/recipes.md:248 da7ebd0103134f62b2ae2879c6f30cbd msgid "" "```dockerfile # Choose your desired base image ARG BASE_CONTAINER=jupyter" "/datascience-notebook:latest FROM $BASE_CONTAINER" msgstr "" -#: ../../using/recipes.md:255 13317b5d177c4011a376b56aa6f6529c +#: ../../using/recipes.md:255 5c8a336b2e7a4568acfcb6eb6591d4fd msgid "" "# Remove the manpage blacklist, install man, install docs RUN rm " "/etc/dpkg/dpkg.cfg.d/excludes \\" msgstr "" #: ../../using/recipes.md:257 ../../using/recipes.md:285 -#: 10e149eda57a47efaac6dfd638c45ab0 13c05426507e4dd68c80f0a566c7b423 +#: 12d103bb8e1b4b68a21de48e3699affe 75b2a6a89f3947b08f3b6bbab8ec5ee7 msgid "" "&& apt-get update \\ && dpkg -l | grep ^ii | cut -d' ' -f3 | xargs apt-" "get install -yq --no-install-recommends --reinstall man \\ && apt-get " "clean \\ && rm -rf /var/lib/apt/lists/*" msgstr "" -#: ../../using/recipes.md:262 6113cb9e3227441f8b6c119b345300a1 +#: ../../using/recipes.md:262 7da7dc2dfff0462ab133ab4c8f81cf28 msgid "" "# Workaround for a mandb bug, should be fixed in mandb > 2.8.5 # " "https://git.savannah.gnu.org/cgit/man-" @@ -880,17 +880,17 @@ msgid "" "\\" msgstr "" -#: ../../using/recipes.md:265 b94a3c230cb4470da5daaa5b0ece791f +#: ../../using/recipes.md:265 6c9fb566856e41108aaf5c1ceb196b85 msgid "" "&& echo \"MANPATH_MAP ${CONDA_DIR}/bin ${CONDA_DIR}/share/man\" >> " "/etc/manpath.config \\ && mandb" msgstr "" -#: ../../using/recipes.md:268 f68420ee88bd4e63a1a2acdfc905f9e8 +#: ../../using/recipes.md:268 323247261a584af18a96b52fa41128ba msgid "USER $NB_UID ```" msgstr "" -#: ../../using/recipes.md:271 977b002267da483d88a3f438c467353d +#: ../../using/recipes.md:271 9a98ebafdd014c08b143f845a735bca8 msgid "" "Adding the documentation on top of an existing singleuser image wastes a " "lot of space and requires reinstalling every system package, which can " @@ -899,7 +899,7 @@ msgid "" "Enabling manpages in the base Ubuntu layer prevents this container bloat:" msgstr "" -#: ../../using/recipes.md:276 afefd70c731545f9a5c4a52983ec5706 +#: ../../using/recipes.md:276 d30399b8199b4086a3f20cf15395b566 msgid "" "```Dockerfile # Ubuntu 18.04 (bionic) from 2018-05-26 # " "https://github.com/docker-library/official-" @@ -908,13 +908,13 @@ msgid "" " FROM $BASE_CONTAINER" msgstr "" -#: ../../using/recipes.md:282 140ba07efdd0426cbac4b1a025aad9f3 +#: ../../using/recipes.md:282 b84c6998c2294c47a0aa96da17fba8b0 msgid "" "ENV DEBIAN_FRONTEND noninteractive # Remove the manpage blacklist, " "install man, install docs RUN rm /etc/dpkg/dpkg.cfg.d/excludes \\" msgstr "" -#: ../../using/recipes.md:290 4ac05ed0cce147f2a5f869b5397c7f1f +#: ../../using/recipes.md:290 1ecba0d31ba54d2990e0c7b4c870aa25 msgid "" "# Workaround for a mandb bug, should be fixed in mandb > 2.8.5 # " "https://git.savannah.gnu.org/cgit/man-" @@ -922,55 +922,55 @@ msgid "" "\"MANPATH_MAP /opt/conda/bin /opt/conda/man\" >> /etc/manpath.config \\" msgstr "" -#: ../../using/recipes.md:293 0d408a43a80841d59d51437a6feaf7eb +#: ../../using/recipes.md:293 3cb55941790a4ba6a49843ec26249d28 msgid "" "&& echo \"MANPATH_MAP /opt/conda/bin /opt/conda/share/man\" >> " "/etc/manpath.config" msgstr "" -#: ../../using/recipes.md:296 c1a3b72011cc4611ab5c21140fb30dd6 +#: ../../using/recipes.md:296 e77340bebe634629808d9242adeb5443 msgid "" "Be sure to check the current base image in `base-notebook` before " "building." msgstr "" -#: ../../using/recipes.md:298 4b258990345f4b6cbbb9b5ee8081d443 +#: ../../using/recipes.md:298 353c2f29d018407b910f3a1d43582080 msgid "## JupyterHub" msgstr "" # af0ca920391b419b805ae3809388fcf2 -#: ../../using/recipes.md:300 92d95d46b14a481bace597bf78c07174 +#: ../../using/recipes.md:300 ed76a7c3ee094650978b0881729b264f msgid "We also have contributed recipes for using JupyterHub." msgstr "" -#: ../../using/recipes.md:302 a7188bac845548888338afe418781157 +#: ../../using/recipes.md:302 2d2ed2b8692c41418ea70bf05bb198fc msgid "### Use JupyterHub's dockerspawner" msgstr "" # 81e1dbb4c1c34f4c9e88630adff3d1e9 -#: ../../using/recipes.md:304 b9d865b4c0e84f03a726e443374f3d43 +#: ../../using/recipes.md:304 0f5a6d17708d4179810050aea70b48e8 msgid "" "In most cases for use with DockerSpawner, given any image that already " "has a notebook stack set up, you would only need to add:" msgstr "" # 837b7a2dac01402e8cd2cc398bd5d785 -#: ../../using/recipes.md:307 0a6eca92fdb34be983db8bee0f1ae237 +#: ../../using/recipes.md:307 620f6c06a3d6480da9ed02ade00346cf msgid "install the jupyterhub-singleuser script (for the right Python)" msgstr "" # d9816cb5ae2041e2a5fde9cdfb91262f -#: ../../using/recipes.md:308 070024f5cec641e0bdf2d0573f033594 +#: ../../using/recipes.md:308 9bede06b65a542659d65dfb2aab52711 msgid "change the command to launch the single-user server" msgstr "" -#: ../../using/recipes.md:310 2bbd4062c3954e02a0f6d443666a1bec +#: ../../using/recipes.md:310 bf0a61ba3aba4968be7947572e0dfbf7 msgid "" "Swapping out the `FROM` line in the `jupyterhub/singleuser` Dockerfile " "should be enough for most cases." msgstr "" -#: ../../using/recipes.md:313 d5d27f85217f44329dc223a3a9a34e38 +#: ../../using/recipes.md:313 56fdd5785d734417bc47610222b23862 msgid "" "Credit: [Justin Tyberg](https://github.com/jtyberg), " "[quanghoc](https://github.com/quanghoc), and [Min " @@ -980,99 +980,99 @@ msgid "" "stacks/pull/185)" msgstr "" -#: ../../using/recipes.md:318 937648754c9540d8b88b1b13c306e403 +#: ../../using/recipes.md:318 4ccfa0e5f38c4ff68a308dd10b1bf9cf msgid "### Containers with a specific version of JupyterHub" msgstr "" -#: ../../using/recipes.md:320 1732122c10c443379dcafd73aaa08b1b +#: ../../using/recipes.md:320 5a8cae235eca460daa8d7584a940583e msgid "" "To use a specific version of JupyterHub, the version of `jupyterhub` in " "your image should match the version in the Hub itself." msgstr "" -#: ../../using/recipes.md:323 2c354f32f71f4a25a37e3824e03aaa4c +#: ../../using/recipes.md:323 db4904533db446119c70b9aa47c30703 msgid "" "``` FROM jupyter/base-notebook:5ded1de07260 RUN pip install " "jupyterhub==0.8.0b1 ```" msgstr "" -#: ../../using/recipes.md:328 43786c2883b145149702053f86342541 +#: ../../using/recipes.md:328 9312418dd67a4cebb11d63b3ecb1e02b msgid "" "Credit: [MinRK](https://github.com/jupyter/docker-" "stacks/issues/423#issuecomment-322767742)" msgstr "" -#: ../../using/recipes.md:330 5fc797f6addf4c609f09ff251369761b +#: ../../using/recipes.md:330 acfc70b9688849188f41e5b36c66c276 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/177](https://github.com/jupyter/docker-stacks/issues/177)" msgstr "" -#: ../../using/recipes.md:333 3a5f39f044f34f4aa152e03380bce9fd +#: ../../using/recipes.md:333 3147933d9e4d4a19ac06947a9f091861 msgid "## Spark" msgstr "" # 975c96d6a0b843dfabd889c753671c93 -#: ../../using/recipes.md:335 6dca15b3d7d84f1fb132c7ee5edbe9e1 +#: ../../using/recipes.md:335 5dbeae9703bd4ffcb8e388e90fc06d2a msgid "A few suggestions have been made regarding using Docker Stacks with spark." msgstr "" -#: ../../using/recipes.md:337 b309ce7b4ea447cb97f786ddfee83140 +#: ../../using/recipes.md:337 bdc701c7fad24dfcb3493064ece5def5 msgid "### Using PySpark with AWS S3" msgstr "" # dc4059d42eaa495f8ebca84ebc91ac09 -#: ../../using/recipes.md:339 8761701bff0544ba963143ac35039de2 +#: ../../using/recipes.md:339 8fcdd9259a494c34b4b11484d90a2b96 msgid "Using Spark session for hadoop 2.7.3" msgstr "" -#: ../../using/recipes.md:341 57abbf2402f84943ac3e0c944b49cf05 +#: ../../using/recipes.md:341 9b198e4b9a504ae0b87c69c519ec31ca msgid "" "```py import os # !ls /usr/local/spark/jars/hadoop* # to figure out what " "version of hadoop os.environ['PYSPARK_SUBMIT_ARGS'] = '--packages " "\"org.apache.hadoop:hadoop-aws:2.7.3\" pyspark-shell'" msgstr "" -#: ../../using/recipes.md:346 7a20e029fbb74d4baf7886b5e5951434 +#: ../../using/recipes.md:346 95cbfba45f1f442da2f12deb7daa2185 msgid "import pyspark myAccessKey = input() mySecretKey = input()" msgstr "" -#: ../../using/recipes.md:354 5d87316af086472aa22581d764e58e6f +#: ../../using/recipes.md:354 a9f83e3f06814884b34a2b664f84dd12 msgid "spark = pyspark.sql.SparkSession.builder \\" msgstr "" -#: ../../using/recipes.md:351 4546d6cd3ce64104a731a2e359583651 +#: ../../using/recipes.md:351 c3c98e5c26a34056a5b73c70108c4cbe msgid "" ".master(\"local[*]\") \\ .config(\"spark.hadoop.fs.s3a.access.key\", " "myAccessKey) \\ .config(\"spark.hadoop.fs.s3a.secret.key\", mySecretKey) " "\\ .getOrCreate()" msgstr "" -#: ../../using/recipes.md:356 b89ae55fb3dd4a2bbeb15bcefcd0c9f2 +#: ../../using/recipes.md:356 f4e175d9041f4ce6a7b2ebecf4250603 msgid "df = spark.read.parquet(\"s3://myBucket/myKey\") ```" msgstr "" # d2c12e3525bf4d9ca518fef02c4a79d3 -#: ../../using/recipes.md:359 7a99fb4bdb3e4b62ac453993a9ce1073 +#: ../../using/recipes.md:359 6a7ed9d4867745e9bbaf069c9bf6b9bc msgid "Using Spark context for hadoop 2.6.0" msgstr "" -#: ../../using/recipes.md:361 4a6474a215294eaca973666e10ba359d +#: ../../using/recipes.md:361 1284dfb387ce4e98a75db7212e3b2686 msgid "" "```py import os os.environ['PYSPARK_SUBMIT_ARGS'] = '--packages " "com.amazonaws:aws-java-sdk:1.10.34,org.apache.hadoop:hadoop-aws:2.6.0 " "pyspark-shell'" msgstr "" -#: ../../using/recipes.md:365 ecf4e1f530ef47fc99c7f0d106b8451a +#: ../../using/recipes.md:365 ad1db37145674262b486a4b1d34aa44c msgid "import pyspark sc = pyspark.SparkContext(\"local[*]\")" msgstr "" -#: ../../using/recipes.md:368 d7ddc12e2dbd48888b9122ceee25ef1c +#: ../../using/recipes.md:368 e05839442f0f4d2d98b5dacd73c77064 msgid "from pyspark.sql import SQLContext sqlContext = SQLContext(sc)" msgstr "" -#: ../../using/recipes.md:371 94a8294f18464ae7a912318668e4c1f6 +#: ../../using/recipes.md:371 0967690650f94c0b82a180bf6dd372c1 msgid "" "hadoopConf = sc._jsc.hadoopConfiguration() myAccessKey = input() " "mySecretKey = input() hadoopConf.set(\"fs.s3.impl\", " @@ -1081,21 +1081,21 @@ msgid "" "hadoopConf.set(\"fs.s3.awsSecretAccessKey\", mySecretKey)" msgstr "" -#: ../../using/recipes.md:378 8f337992549f4423bb2fd17814ee8d40 +#: ../../using/recipes.md:378 e68bf27ae942490b93bae51201afe61c msgid "df = sqlContext.read.parquet(\"s3://myBucket/myKey\") ```" msgstr "" -#: ../../using/recipes.md:381 b663436dfa4f4c3dbf6649079dd350fc +#: ../../using/recipes.md:381 f03229c69af145b3b0ecc46a110141c8 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/127](https://github.com/jupyter/docker-stacks/issues/127)" msgstr "" -#: ../../using/recipes.md:384 9774b5e7bdf74456ab48afbd713a3e19 +#: ../../using/recipes.md:384 cab2204d0c194b19aa5ab1bf058c5573 msgid "### Using Local Spark JARs" msgstr "" -#: ../../using/recipes.md:386 b49f2a87fb11447b8f62ae43e4ab6c99 +#: ../../using/recipes.md:386 60a7701eab9e4265846b4b10c7add7f5 msgid "" "``` import os os.environ['PYSPARK_SUBMIT_ARGS'] = '--jars /home/jovyan" "/spark-streaming-kafka-assembly_2.10-1.6.1.jar pyspark-shell' import " @@ -1107,17 +1107,17 @@ msgid "" "ssc.start() ```" msgstr "" -#: ../../using/recipes.md:400 91931c54e48c467886e2e8801c76810e +#: ../../using/recipes.md:400 848e0bca15604d27804af52b4e40ba5f msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/154](https://github.com/jupyter/docker-stacks/issues/154)" msgstr "" -#: ../../using/recipes.md:403 9c4fa30e5d9647d9bcd7360a06c1295c +#: ../../using/recipes.md:403 e6b84fd3e4da4940bde900add3088ec8 msgid "### Using spark-packages.org" msgstr "" -#: ../../using/recipes.md:405 4be454f32c734070bfdaaf7be638cc12 +#: ../../using/recipes.md:405 8b0389acebf146358f190c29106f63d6 msgid "" "If you'd like to use packages from [spark-packages.org](https://spark-" "packages.org/), see " @@ -1126,21 +1126,21 @@ msgid "" "environment before creating a SparkContext." msgstr "" -#: ../../using/recipes.md:410 5c90bd686f53417b9371317c96af528c +#: ../../using/recipes.md:410 183f7b3a577a4534bfcc924616d4d149 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/43](https://github.com/jupyter/docker-stacks/issues/43)" msgstr "" -#: ../../using/recipes.md:413 bdaf5eebcaf942c2a959c35e3430fbd5 +#: ../../using/recipes.md:413 a2e8516a354e4839a0ef56728e53cedf msgid "### Use jupyter/all-spark-notebooks with an existing Spark/YARN cluster" msgstr "" -#: ../../using/recipes.md:415 cf843054c0004ebb93d4398afb4034d4 +#: ../../using/recipes.md:415 1952669b6466468a846e554c6906b1e1 msgid "``` FROM jupyter/all-spark-notebook" msgstr "" -#: ../../using/recipes.md:418 4e1957a0c33a49829a7674d176f93f3d +#: ../../using/recipes.md:418 4c405f69d5574757921c05125c5428bc msgid "" "# Set env vars for pydoop ENV HADOOP_HOME /usr/local/hadoop-2.7.3 ENV " "JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 ENV HADOOP_CONF_HOME " @@ -1148,14 +1148,14 @@ msgid "" "/usr/local/hadoop-2.7.3/etc/hadoop" msgstr "" -#: ../../using/recipes.md:424 6605f1fe00434a139adca5ca16f4b37f +#: ../../using/recipes.md:424 a136e84081334d6a869248e8ed4ad2b2 msgid "" "USER root # Add proper open-jdk-8 not just the jre, needed for pydoop RUN" " echo 'deb http://cdn-fastly.deb.debian.org/debian jessie-backports main'" " > /etc/apt/sources.list.d/jessie-backports.list && \\" msgstr "" -#: ../../using/recipes.md:427 3614006660d8451fa1fdceab39564330 +#: ../../using/recipes.md:427 debc0d2fe37048c8af72b7ce1c6a1db6 msgid "" "apt-get -y update && \\ apt-get install --no-install-recommends -t " "jessie-backports -y openjdk-8-jdk && \\ rm /etc/apt/sources.list.d" @@ -1163,11 +1163,11 @@ msgid "" "/var/lib/apt/lists/ && \\" msgstr "" -#: ../../using/recipes.md:435 d57d22fbe1f14e8880aa6d518ecba13b +#: ../../using/recipes.md:435 eb7e611b73f044c8adcbbc834a3f3b59 msgid "# Add hadoop binaries" msgstr "" -#: ../../using/recipes.md:433 a9614641e2a34cdfbed79016d37f315c +#: ../../using/recipes.md:433 cea2b35e43e94bbcbf79a93557483db1 msgid "" "wget " "http://mirrors.ukfast.co.uk/sites/ftp.apache.org/hadoop/common/hadoop-2.7.3/hadoop-2.7.3.tar.gz" @@ -1176,41 +1176,41 @@ msgid "" " \\" msgstr "" -#: ../../using/recipes.md:440 59ef6280a20347668f14996ab5ff04b3 +#: ../../using/recipes.md:440 81e222099e4e43d4b1c75993817664de msgid "# Install os dependencies required for pydoop, pyhive" msgstr "" -#: ../../using/recipes.md:438 fad466df20674357bc8a16a90259c37b +#: ../../using/recipes.md:438 50e6abfd35fc43cc877d912d2266bf30 msgid "" "apt-get update && \\ apt-get install --no-install-recommends -y build-" "essential python-dev libsasl2-dev && \\ apt-get clean && \\ rm -rf " "/var/lib/apt/lists/* && \\" msgstr "" -#: ../../using/recipes.md:442 5afb92f563844362ba100cbd47e1e137 +#: ../../using/recipes.md:442 2b2b78aaf31a4b50b9c17e8d286a7227 msgid "" "# Remove the example hadoop configs and replace # with those for our " "cluster. # Alternatively this could be mounted as a volume" msgstr "" -#: ../../using/recipes.md:445 a1d64e4a3e3846d4a8554ef18162fc5d +#: ../../using/recipes.md:445 64570416106a4004a9b395a7e99c16fc msgid "rm -f /usr/local/hadoop-2.7.3/etc/hadoop/*" msgstr "" -#: ../../using/recipes.md:447 7b88e05eefda4c2bb81154f470c2bd22 +#: ../../using/recipes.md:447 5039f7a33aa442bfa00f5238526c0178 msgid "" "# Download this from ambari / cloudera manager and copy here COPY " "example-hadoop-conf/ /usr/local/hadoop-2.7.3/etc/hadoop/" msgstr "" -#: ../../using/recipes.md:450 f2e08e94517b44de948e04c5cf3d0c9d +#: ../../using/recipes.md:450 ef8128cafc1340b6a8bb984ec8da7fc5 msgid "" "# Spark-Submit doesn't work unless I set the following RUN echo " "\"spark.driver.extraJavaOptions -Dhdp.version=2.5.3.0-37\" >> " "/usr/local/spark/conf/spark-defaults.conf && \\" msgstr "" -#: ../../using/recipes.md:452 18bf6452ea6948af90010c42ccd1acf4 +#: ../../using/recipes.md:452 a80865476a6f43a79fbba193f7659098 msgid "" "echo \"spark.yarn.am.extraJavaOptions -Dhdp.version=2.5.3.0-37\" >> " "/usr/local/spark/conf/spark-defaults.conf && \\ echo " @@ -1224,24 +1224,24 @@ msgid "" msgstr "" #: ../../using/recipes.md:461 ../../using/recipes.md:509 -#: 029bf7e8ed364a1fab1b5ec4c8f164dc 6482a0c4967845f3b212979e878ce2d6 +#: 13baace4431748a2b5f56da1ea20848b ce4bc697f2a8402383458a42759395b4 msgid "USER $NB_USER" msgstr "" -#: ../../using/recipes.md:463 c0ab1c96fe434e28a7d065c7c1d954c0 +#: ../../using/recipes.md:463 d81ea56150fb4b30a4347adc94bd7404 msgid "" "# Install useful jupyter extensions and python libraries like : # - " "Dashboards # - PyDoop # - PyHive RUN pip install jupyter_dashboards faker" " && \\" msgstr "" -#: ../../using/recipes.md:468 9470c0b8690243ba8658b6385117a6be +#: ../../using/recipes.md:468 70a4ea7761d04280ad09af2ba78671bf msgid "" "jupyter dashboards quick-setup --sys-prefix && \\ pip2 install pyhive " "pydoop thrift sasl thrift_sasl faker" msgstr "" -#: ../../using/recipes.md:471 e0583515affa426490f49a6bd4c5e22d +#: ../../using/recipes.md:471 cbfee95e8d614d108f0dd5bf886a52bf msgid "" "USER root # Ensure we overwrite the kernel config so that toree connects " "to cluster RUN jupyter toree install --sys-prefix --spark_opts=\"--master" @@ -1250,25 +1250,25 @@ msgid "" "spark.hadoop.yarn.timeline-service.enabled=false\" USER $NB_USER ```" msgstr "" -#: ../../using/recipes.md:477 8fef89727bb6471d8fde6d3958067671 +#: ../../using/recipes.md:477 719dfd9f0f7c45b391556c4420722ace msgid "" "Credit: [britishbadger](https://github.com/britishbadger) from [docker-" "stacks/issues/369](https://github.com/jupyter/docker-stacks/issues/369)" msgstr "" -#: ../../using/recipes.md:480 35a7f2c41e344e92bbe70438c3433c17 +#: ../../using/recipes.md:480 9cb4474064da483c85c8edac58242d34 msgid "" "## Run Jupyter Notebook/Lab inside an already secured environment (i.e., " "with no token)" msgstr "" -#: ../../using/recipes.md:482 80b7da04609d4ac2b2f35ac331deaa6c +#: ../../using/recipes.md:482 f93e03cf3dbe4300adcadd91dda3f04e msgid "" "(Adapted from [issue 728](https://github.com/jupyter/docker-" "stacks/issues/728))" msgstr "" -#: ../../using/recipes.md:484 258b2df56e024af2bbfc7b9f60336117 +#: ../../using/recipes.md:484 b9052d40733f48cca22a2ed00bda0fb4 msgid "" "The default security is very good. There are use cases, encouraged by " "containers, where the jupyter container and the system it runs within, " @@ -1278,94 +1278,94 @@ msgid "" msgstr "" # 7476a6d5eae74ecaae966e56390c096e -#: ../../using/recipes.md:489 a5a014cdbc444cefb9c0aeba9d8f81fa +#: ../../using/recipes.md:489 4bcfbae03e384973a4ebc64d723a6f86 msgid "For jupyterlab:" msgstr "" -#: ../../using/recipes.md:491 c4bbffd69fe6427fb9aa925225d658c5 +#: ../../using/recipes.md:491 256ad5b8fdba4200851d3adc340fadbb msgid "" "``` docker run jupyter/base-notebook:6d2a05346196 start.sh jupyter lab " "--LabApp.token='' ```" msgstr "" # f2efc5a0ba6b4c53b2047cc5f22bdbaa -#: ../../using/recipes.md:495 dc3d2b2d5cc54eed8063466346a0df01 +#: ../../using/recipes.md:495 0f5cb9473db9489abeff718b0530aabd msgid "For jupyter classic:" msgstr "" -#: ../../using/recipes.md:497 4f20f188be5e42a38215655c15c8da49 +#: ../../using/recipes.md:497 499031ee826646bd80093b5314fc1545 msgid "" "``` docker run jupyter/base-notebook:6d2a05346196 start.sh jupyter " "notebook --NotebookApp.token='' ```" msgstr "" -#: ../../using/recipes.md:501 08403f8ee36947409d0ba27c55e902e8 +#: ../../using/recipes.md:501 92c4bf3f99a94f858e102d567f296e60 msgid "## Enable nbextension spellchecker for markdown (or any other nbextension)" msgstr "" # 8ccfbcb4264f48d0b6709fe81aa0a86d -#: ../../using/recipes.md:503 e63186699f9e4075aad3f024e0474c3c +#: ../../using/recipes.md:503 72b680af4dcf4deba776fe1b91ed169a msgid "NB: this works for classic notebooks only" msgstr "" -#: ../../using/recipes.md:505 701bcebd011d41c08159eccdbe349212 +#: ../../using/recipes.md:505 185cdef57e0d4da7b2e9393601015577 msgid "" "``` # Update with your base image of choice FROM jupyter/minimal-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:513 0aa4c8aa183245259c76405b8da6cd5f +#: ../../using/recipes.md:513 c43d00a7e0ce4586887dc18b1e036954 msgid "RUN pip install jupyter_contrib_nbextensions && \\" msgstr "" -#: ../../using/recipes.md:512 4644369edf6848c99ee922fc0bd5261d +#: ../../using/recipes.md:512 dc26991ae9164a2d8a5cbaccd541a8cc msgid "" "jupyter contrib nbextension install --user && \\ # can modify or enable " "additional extensions here jupyter nbextension enable spellchecker/main " "--user" msgstr "" -#: ../../using/recipes.md:517 a992994e3d1742c58e5ee2bef0422a1d +#: ../../using/recipes.md:517 306f4dc7510f4136bf87ffb77d88cd5c msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/675](https://github.com/jupyter/docker-stacks/issues/675)" msgstr "" -#: ../../using/running.md:1 ac301792f5d4476283d0f79647a664a6 +#: ../../using/running.md:1 c53f32fc2d1f40ce9ed2dcbb25fa4f95 msgid "# Running a Container" msgstr "" # 1f345e7a53e94439b936b3f4bbc877da # 324906e630c646b0ae10bbff6ed587fa #: ../../using/running.md:3 ../../using/selecting.md:7 -#: 7055bb586299482995d8d2e209b08467 8a99b28854e1465ebc6c16edb3bd6a35 +#: 6632361a2021422d932d753f04361e0a c33d2d88799d4146bb8e1e24baf39e4b msgid "Using one of the Jupyter Docker Stacks requires two choices:" msgstr "" # 781cbaffaea24fb08451cc83327cfa9b # 1c6c83776a3b4a27a8ed4128a0dceeb7 #: ../../using/running.md:5 ../../using/selecting.md:9 -#: 3af679af5d014c9d8d46dd0e5cfddcdd db6eca6a501849f391c5b2fad2e4c036 +#: de535b96e71341be8bb930cfacb8bb4c efa07a8ad0e24ff99c9bc72a0f8fa3c6 msgid "Which Docker image you wish to use" msgstr "" # 632f67c9207e4ed9ba01bf59c4d942f7 # ab191cfc95204429b7c0271ecdf69d33 #: ../../using/running.md:6 ../../using/selecting.md:10 -#: 10431c739b064150a023e8ab720fb21d 2637205c76c345568645b713b885fd5e +#: 6994b43f3f674ebab3373fdaa596d92a d1e5efefa19344c29a5ffd12eed7e3c2 msgid "How you wish to start Docker containers from that image" msgstr "" # ebf870aa1ede4e2ab8fdcb2cef0fd610 -#: ../../using/running.md:8 1472b6a00607411fbda4275772adf860 +#: ../../using/running.md:8 0476b5f6f0d0489b93806dc916722623 msgid "This section provides details about the second." msgstr "" -#: ../../using/running.md:10 51439996f0b3480fbe3247d8e71de8cc +#: ../../using/running.md:10 4cdf6351003c42d1a6bef4834654640f msgid "## Using the Docker CLI" msgstr "" -#: ../../using/running.md:12 fb013e3360474d2dbecec9d49486038a +#: ../../using/running.md:12 6ef19c5c3a754f9991cea4a9d1ffa76a msgid "" "You can launch a local Docker container from the Jupyter Docker Stacks " "using the [Docker command line " @@ -1374,7 +1374,7 @@ msgid "" "following are some common patterns." msgstr "" -#: ../../using/running.md:14 2b15b5ff0637403dac5c5a3e60687e92 +#: ../../using/running.md:14 742390a040ff4b3785707b1168a01416 msgid "" "**Example 1** This command pulls the `jupyter/scipy-notebook` image " "tagged `2c80cf3537ca` from Docker Hub if it is not already present on the" @@ -1383,11 +1383,11 @@ msgid "" "terminal and include a URL to the notebook server." msgstr "" -#: ../../using/running.md:16 8c336d5009dc4e5d840a1d96829be061 +#: ../../using/running.md:16 fb042931483a4bcfb2bf1885c8bbe162 msgid "``` docker run -p 8888:8888 jupyter/scipy-notebook:2c80cf3537ca" msgstr "" -#: ../../using/running.md:19 a46ac1c07bcc48b18722d3d8b4ca8b46 +#: ../../using/running.md:19 0cea423d60364879a3fab2a539f9e039 msgid "" "Executing the command: jupyter notebook [I 15:33:00.567 NotebookApp] " "Writing notebook server cookie secret to " @@ -1407,25 +1407,25 @@ msgid "" msgstr "" #: ../../using/running.md:31 ../../using/running.md:72 -#: ../../using/running.md:94 0c05824ab7404acea08d1b65a6a1356f -#: 60df2c03857846048434362141602a4e cab45d5ff20d4e268791b14d308f225f +#: ../../using/running.md:94 18245ad5c84f4a748a43a53d2f9f8bf1 +#: 7a3876cff9794c28a46af93bd42ae916 d98970fc53b345f9b0c21540339ed903 msgid "" "Copy/paste this URL into your browser when you connect for the first " "time, to login with a token:" msgstr "" -#: ../../using/running.md:33 5101a23dc7584ba9ab51b2000193a503 +#: ../../using/running.md:33 44bf57bf1dba4a51825fa1e56f52375a msgid "http://localhost:8888/?token=112bb073331f1460b73768c76dffb2f87ac1d4ca7870d46a" msgstr "" -#: ../../using/running.md:36 c8ad261eba2f431eb5bf5351c293d7a9 +#: ../../using/running.md:36 a6a3d2a828294431aa99cf47ac7285d8 msgid "" "Pressing `Ctrl-C` shuts down the notebook server but leaves the container" " intact on disk for later restart or permanent deletion using commands " "like the following:" msgstr "" -#: ../../using/running.md:38 dda62d8286b44b7b98d6dfba17b00f5d +#: ../../using/running.md:38 1fd3a7a954cf4844aeb6358f3dfc34e3 msgid "" "``` # list containers docker ps -a CONTAINER ID IMAGE" " COMMAND CREATED STATUS" @@ -1434,7 +1434,7 @@ msgid "" "Exited (0) 39 seconds ago cocky_mirzakhani" msgstr "" -#: ../../using/running.md:44 ac5e86abc22c48b494804016e296c2f5 +#: ../../using/running.md:44 c37166772f7d45c7a6648101561597c2 msgid "" "# start the stopped container docker start -a d67fe77f1a84 Executing the " "command: jupyter notebook [W 16:45:02.020 NotebookApp] WARNING: The " @@ -1442,11 +1442,11 @@ msgid "" "encryption. This is not recommended. ..." msgstr "" -#: ../../using/running.md:50 92b55d6a471043c9ad684753960a634c +#: ../../using/running.md:50 8bd2a10a783b47538b1e34288c900244 msgid "# remove the stopped container docker rm d67fe77f1a84 d67fe77f1a84 ```" msgstr "" -#: ../../using/running.md:55 eae4db8bf5274619b88c877007de782b +#: ../../using/running.md:55 46fb18b909964975a991956e5f8eef4b msgid "" "**Example 2** This command pulls the `jupyter/r-notebook` image tagged " "`e5c5a7d3e52d` from Docker Hub if it is not already present on the local " @@ -1456,13 +1456,13 @@ msgid "" "container port (8888) instead of the the correct host port (10000)." msgstr "" -#: ../../using/running.md:57 62af0b5c3d494c53a8932694cda1bef0 +#: ../../using/running.md:57 b829a12264b5448d89a967e9d13721e8 msgid "" "``` docker run --rm -p 10000:8888 -v \"$PWD\":/home/jovyan/work " "jupyter/r-notebook:e5c5a7d3e52d" msgstr "" -#: ../../using/running.md:60 f162cb752d1a4b8eb0e11cf1a4d2c9e1 +#: ../../using/running.md:60 5f0ffe884dfc413690fb2bd12073c0e1 msgid "" "Executing the command: jupyter notebook [I 19:31:09.573 NotebookApp] " "Writing notebook server cookie secret to " @@ -1481,18 +1481,18 @@ msgid "" " all kernels (twice to skip confirmation). [C 19:31:12.122 NotebookApp]" msgstr "" -#: ../../using/running.md:74 635ee31403344b52b3d64922083c1ba8 +#: ../../using/running.md:74 a1d936f95aab4ba8b5b4778d41621455 msgid "http://localhost:8888/?token=3b8dce890cb65570fb0d9c4a41ae067f7604873bd604f5ac" msgstr "" -#: ../../using/running.md:77 5d6b49690b3a4e71a1f6725fbaa9ec27 +#: ../../using/running.md:77 c8640bc2f6a84d02a8c0f2c2080c9dd3 msgid "" "Pressing `Ctrl-C` shuts down the notebook server and immediately destroys" " the Docker container. Files written to `~/work` in the container remain " "touched. Any other changes made in the container are lost." msgstr "" -#: ../../using/running.md:79 cff375a433214c9c824e37b4e3cb7ea8 +#: ../../using/running.md:79 aac60ce5b7554fe7bf7f39cd05fc1772 msgid "" "**Example 3** This command pulls the `jupyter/all-spark-notebook` image " "currently tagged `latest` from Docker Hub if an image tagged `latest` is " @@ -1501,33 +1501,33 @@ msgid "" "randomly selected port." msgstr "" -#: ../../using/running.md:81 6ecd34f140b54d5eafc098156fdec18b +#: ../../using/running.md:81 630e8e84953e403188a84470ddec96ba msgid "``` docker run -d -P --name notebook jupyter/all-spark-notebook ```" msgstr "" # 9a561b9bb5944059801c71862521d66a -#: ../../using/running.md:85 0e4ce7e476ec4935ad52c7b660fe344b +#: ../../using/running.md:85 8f670707aec24fe49a940f4a563a1295 msgid "" "The assigned port and notebook server token are visible using other " "Docker commands." msgstr "" -#: ../../using/running.md:87 e30cdda71d6742dc9bf4b78893f72772 +#: ../../using/running.md:87 5917177c778f4bc8b0a9cd34f7a4217a msgid "" "``` # get the random host port assigned to the container port 8888 docker" " port notebook 8888 0.0.0.0:32769" msgstr "" -#: ../../using/running.md:92 850429b7c9e144aca06645c899b0fb42 +#: ../../using/running.md:92 52ac0238526e4c4596936f921e6e3bfc msgid "# get the notebook token from the logs docker logs --tail 3 notebook" msgstr "" -#: ../../using/running.md:96 6ee5abdc937e494c8ae720a192bcde4c +#: ../../using/running.md:96 62aeab8648034b508d474bf3daa61a5f msgid "http://localhost:8888/?token=15914ca95f495075c0aa7d0e060f1a78b6d94f70ea373b00" msgstr "" # c4bc333e19324e2a93118e21b1f8f360 -#: ../../using/running.md:99 1a4e818a790a46e4b6811114cd03053f +#: ../../using/running.md:99 22d248200edb4c9fa08773c8e087ed41 msgid "" "Together, the URL to visit on the host machine to access the server in " "this case is " @@ -1535,25 +1535,25 @@ msgid "" msgstr "" # bf82931e197b40ad940d9969993120a2 -#: ../../using/running.md:101 8d0cab91568a40948726c5efac87dfef +#: ../../using/running.md:101 29edf6dfc0934a438da58d0637c2943f msgid "" "The container runs in the background until stopped and/or removed by " "additional Docker commands." msgstr "" -#: ../../using/running.md:103 cf2dbe34fbd743078f59e55c4508477d +#: ../../using/running.md:103 92209fb5549544788047a168dcc7406d msgid "``` # stop the container docker stop notebook notebook" msgstr "" -#: ../../using/running.md:108 cd1edec6e83c41afaced49879b81e896 +#: ../../using/running.md:108 3175e0b5004941f18a9c0a728292e134 msgid "# remove the container permanently docker rm notebook notebook ```" msgstr "" -#: ../../using/running.md:113 4cbda35406b84544b06ce83e63287e7d +#: ../../using/running.md:113 bf1aa30e9d3643af8eef3b531512e52a msgid "## Using Binder" msgstr "" -#: ../../using/running.md:115 5ff0f9b16c63449d8641ca78446dd204 +#: ../../using/running.md:115 536d8bd6d62d4a42b717afbcd54682ed msgid "" "[Binder](https://mybinder.org/) is a service that allows you to create " "and share custom computing environments for projects in version control. " @@ -1567,11 +1567,11 @@ msgid "" "instructions." msgstr "" -#: ../../using/running.md:117 387778920ded43079d2e4cdb8b56153f +#: ../../using/running.md:117 6995b419abd044a2821a749e24dc507f msgid "## Using JupyterHub" msgstr "" -#: ../../using/running.md:119 940e0211fa6b4982bde3b4530189047d +#: ../../using/running.md:119 355eab8b6ea44ad59f9e80274a541f73 msgid "" "You can configure JupyterHub to launcher Docker containers from the " "Jupyter Docker Stacks images. If you've been following the [Zero to " @@ -1585,11 +1585,11 @@ msgid "" "[dockerspawner](https://github.com/jupyterhub/dockerspawner) instead." msgstr "" -#: ../../using/running.md:121 3ee4036801924a7eac38ab48669ba01c +#: ../../using/running.md:121 b3c48dc979df4058b067b6be0cc866da msgid "## Using Other Tools and Services" msgstr "" -#: ../../using/running.md:123 15d0c9eb51e54bbfab3d2519b621fee9 +#: ../../using/running.md:123 836aeb622ba5464ea5a78a67f9b91793 msgid "" "You can use the Jupyter Docker Stacks with any Docker-compatible " "technology (e.g., [Docker Compose](https://docs.docker.com/compose/), " @@ -1599,32 +1599,32 @@ msgid "" "containers from these images." msgstr "" -#: ../../using/selecting.md:1 f7b4e334bb35484e814930532b219a9f +#: ../../using/selecting.md:1 b49accacba704f9aab7ec91aebb0af40 msgid "# Selecting an Image" msgstr "" -#: ../../using/selecting.md:3 f0b9176ae1fc45cb8ceb21b2512715bd +#: ../../using/selecting.md:3 06d13ee1c3c74ae198611f1aa8b715fe msgid "[Core Stacks](#core-stacks)" msgstr "" -#: ../../using/selecting.md:4 a3b8d4bcc71d4a63a1e2a8e3eacb8b13 +#: ../../using/selecting.md:4 2d2056a35e9844de98b2a52474af7c99 msgid "[Image Relationships](#image-relationships)" msgstr "" -#: ../../using/selecting.md:5 1c515f211409413dad066b94c0c5d72c +#: ../../using/selecting.md:5 d9386b0dfe004e26a17ee352d8ebd0f4 msgid "[Community Stacks](#community-stacks)" msgstr "" # af7e19bb10ec44348e8121be4129ce8a -#: ../../using/selecting.md:12 13c3b75889a947558587b174d252887f +#: ../../using/selecting.md:12 0f68190110724eed8bff3cb7b5952db9 msgid "This section provides details about the first." msgstr "" -#: ../../using/selecting.md:14 54e40e8e91f14318a1f4c83e24999355 +#: ../../using/selecting.md:14 159432e181a64a5da62dd46ebec64295 msgid "## Core Stacks" msgstr "" -#: ../../using/selecting.md:16 e7e9936ecaa14f11b6a27aa8094f6555 +#: ../../using/selecting.md:16 cf7b3d26b1d04738b0c6dad034517a34 msgid "" "The Jupyter team maintains a set of Docker image definitions in the " "[https://github.com/jupyter/docker-stacks](https://github.com/jupyter" @@ -1632,11 +1632,11 @@ msgid "" "images including their contents, relationships, and versioning strategy." msgstr "" -#: ../../using/selecting.md:19 679a08a6118a4fff82c840d6993fb1da +#: ../../using/selecting.md:19 3110958903a841a8aa226c16b35e25db msgid "### jupyter/base-notebook" msgstr "" -#: ../../using/selecting.md:21 340ac4340ecb42669fae98116433101f +#: ../../using/selecting.md:21 4f864700b15740d293183a95f23edc04 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/base-notebook) | [Dockerfile commit history](https://github.com/jupyter" @@ -1644,62 +1644,62 @@ msgid "" "image tags](https://hub.docker.com/r/jupyter/base-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:25 e8c59cecb9274740a97a4bebef176d7e +#: ../../using/selecting.md:25 7b1aa76e7b844f58af3960c743d134cc msgid "" "`jupyter/base-notebook` is a small image supporting the [options common " "across all core stacks](common.md). It is the basis for all other stacks." msgstr "" -#: ../../using/selecting.md:27 0023c3173da846169649184b547b7e72 +#: ../../using/selecting.md:27 35a15c9991314139ac4810f0af00bec6 msgid "" -"Minimally-functional Jupyter Notebook server (e.g., no " -"[pandoc](https://pandoc.org/) for saving notebooks as PDFs)" +"Minimally-functional Jupyter Notebook server (e.g., no LaTeX support for " +"saving notebooks as PDFs)" msgstr "" -#: ../../using/selecting.md:28 bbe31e032684489ba45bbc2c5f6c1319 +#: ../../using/selecting.md:28 cb41f4353bc1425fa13930342a76bea9 msgid "[Miniconda](https://conda.io/miniconda.html) Python 3.x in `/opt/conda`" msgstr "" # c5732a5536554f91b8dd7e8946beaab8 -#: ../../using/selecting.md:29 2cdeb80b7f754f37b014b9a22c199301 +#: ../../using/selecting.md:29 ffefef2f2fa64929925917128d7e9c2f msgid "No preinstalled scientific computing packages" msgstr "" -#: ../../using/selecting.md:30 6cb1bd3744aa4480b8ab2a9fb0460ae6 +#: ../../using/selecting.md:30 6b8e933019814b28b12b2d0939d2f41b msgid "" "Unprivileged user `jovyan` (`uid=1000`, configurable, see options) in " "group `users` (`gid=100`) with ownership over the `/home/jovyan` and " "`/opt/conda` paths" msgstr "" -#: ../../using/selecting.md:31 a2db7354e147459eb10dc1a96327f495 +#: ../../using/selecting.md:31 34fd20dd7b57470ab8a0c7e172ffe62a msgid "" "`tini` as the container entrypoint and a `start-notebook.sh` script as " "the default command" msgstr "" -#: ../../using/selecting.md:32 8d8c9940ac1148ec9ef8124849bc2b54 +#: ../../using/selecting.md:32 35f00518b22c49d696f47e3356fbafce msgid "" "A `start-singleuser.sh` script useful for launching containers in " "JupyterHub" msgstr "" -#: ../../using/selecting.md:33 2bca2a2c0bc54428866e78b2e0323036 +#: ../../using/selecting.md:33 616b32ba49ea4b728bf692a673bc8f10 msgid "" "A `start.sh` script useful for running alternative commands in the " "container (e.g. `ipython`, `jupyter kernelgateway`, `jupyter lab`)" msgstr "" # 075e6ffe0f5b4d508d555992f5dd6fe1 -#: ../../using/selecting.md:34 f3ccedd7645d433fb22118b3e5002500 +#: ../../using/selecting.md:34 8fd53e52102d43f48129e1dfb71baa2a msgid "Options for a self-signed HTTPS certificate and passwordless sudo" msgstr "" -#: ../../using/selecting.md:36 370ca79f2e124de285bc4b1bd6db96e3 +#: ../../using/selecting.md:36 93d18726214b40688506d3fac13fa179 msgid "### jupyter/minimal-notebook" msgstr "" -#: ../../using/selecting.md:38 6fa070411a5a4aec9926e95313cca556 +#: ../../using/selecting.md:38 c0414b93f8034e838d35ab1ebab5cc07 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/minimal-notebook) | [Dockerfile commit " @@ -1708,39 +1708,33 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/minimal-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:42 9c2ddcd29ba64079aadfc0b4de01b671 +#: ../../using/selecting.md:42 5db6d6056da54db2a548105849c9b6c9 msgid "" "`jupyter/minimal-notebook` adds command line tools useful when working in" " Jupyter applications." msgstr "" -#: ../../using/selecting.md:44 bfb42f8c85244eb39a0c2fc8662f6226 +#: ../../using/selecting.md:44 80d6660a261b423eb8360f2a77346424 msgid "Everything in `jupyter/base-notebook`" msgstr "" -#: ../../using/selecting.md:45 c35fe7b3e6164ff89bb0a74d0b627bed +#: ../../using/selecting.md:45 3c43a083990441118007900a5e82899e +msgid "[TeX Live](https://www.tug.org/texlive/) for notebook document conversion" +msgstr "" + +#: ../../using/selecting.md:46 64bf22a7141745ecba32df342c2ddb0b msgid "" -"[Pandoc](http://pandoc.org) and [TeX Live](https://www.tug.org/texlive/) " -"for notebook document conversion" +"[git](https://git-scm.com/), [emacs](https://www.gnu.org/software/emacs/)" +" (actually `emacs-nox`), [vi](https://vim.org/) (actually `vim-tiny`), " +"[jed](https://www.jedsoft.org/jed/), [nano](https://www.nano-" +"editor.org/), tzdata, and unzip" msgstr "" -#: ../../using/selecting.md:46 12b514cc785d4cc891af4f2ecdf2ce51 -msgid "" -"[git](https://git-scm.com/), " -"[emacs](https://www.gnu.org/software/emacs/), [vi](https://vim.org/) " -"(actually `vim-tiny`), [jed](https://www.jedsoft.org/jed/), " -"[nano](https://www.nano-editor.org/), tzdata, and" -msgstr "" - -#: ../../using/selecting.md:47 f3183e43f68643e592cd70a1b27c8049 -msgid "unzip" -msgstr "" - -#: ../../using/selecting.md:49 1d819d521e754dc6ad48cc2ff183fc55 +#: ../../using/selecting.md:48 c8266740f6334480915e5c7e1b62f405 msgid "### jupyter/r-notebook" msgstr "" -#: ../../using/selecting.md:51 2a98e2d964a34d7cbadd7192f03713e0 +#: ../../using/selecting.md:50 3aed13b4598f45e5bbfe8841e200b067 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-" "stacks/tree/master/r-notebook) | [Dockerfile commit " @@ -1749,33 +1743,33 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/r-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:55 efc3c85e8da84b9f90155b2526ac8000 +#: ../../using/selecting.md:54 d8c23e4b16404d60a50c1b67e34f4437 msgid "`jupyter/r-notebook` includes popular packages from the R ecosystem." msgstr "" -#: ../../using/selecting.md:57 ../../using/selecting.md:79 -#: 6408f898d2a042b2971368796d026d01 8210d15104ab4d92879ff60349231bfd +#: ../../using/selecting.md:56 ../../using/selecting.md:78 +#: 6a1a160c9db34ac8ac367e3602576ea6 b3680fc627b14adda573c1ac821d6888 msgid "Everything in `jupyter/minimal-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:58 0e2a3f7dd12c4cc18a52494dc528ed08 +#: ../../using/selecting.md:57 8cb96dca2d214473981167bbc582bdd7 msgid "The [R](https://www.r-project.org/) interpreter and base environment" msgstr "" -#: ../../using/selecting.md:59 ../../using/selecting.md:135 -#: 860e4db838ac4289b736117c4b8b78c3 c2bfe3b8fd7f4f59b4ce793e326eecbd +#: ../../using/selecting.md:58 ../../using/selecting.md:134 +#: 533f931fe91b4c1ca913affd865bb8af 81bab00cfa474c51b5e24033d3893a6e msgid "" "[IRKernel](https://irkernel.github.io/) to support R code in Jupyter " "notebooks" msgstr "" -#: ../../using/selecting.md:60 e9bba003acbf4f79811ed6a8105bde32 +#: ../../using/selecting.md:59 51ec9653f77843cb9859de2498ef2dc5 msgid "" "[tidyverse](https://www.tidyverse.org/) packages, including " "[ggplot2](http://ggplot2.org/), [dplyr](http://dplyr.tidyverse.org/)," msgstr "" -#: ../../using/selecting.md:61 86787a9a3784472dbdfd31986960521d +#: ../../using/selecting.md:60 a148acc2e83e48a3a9656c0e64285e58 msgid "" "[tidyr](http://tidyr.tidyverse.org/), " "[readr](http://readr.tidyverse.org/), " @@ -1800,11 +1794,11 @@ msgid "" " packages from [conda-forge](https://conda-forge.github.io/feedstocks)" msgstr "" -#: ../../using/selecting.md:71 520beb36b5454836b571b5a1138e31d9 +#: ../../using/selecting.md:70 c1921881c6b040abbbb22f20adbe9f58 msgid "### jupyter/scipy-notebook" msgstr "" -#: ../../using/selecting.md:73 f8dba4abdde84f359595d112fa1dc736 +#: ../../using/selecting.md:72 0803399832ec4953be72932a08ce6d4c msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/scipy-notebook) | [Dockerfile commit history](https://github.com/jupyter" @@ -1812,20 +1806,20 @@ msgid "" "image tags](https://hub.docker.com/r/jupyter/scipy-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:77 4747e0d766014daea8592b12203a2991 +#: ../../using/selecting.md:76 2ddbdaed75f0443da030404df56f0fd7 msgid "" "`jupyter/scipy-notebook` includes popular packages from the scientific " "Python ecosystem." msgstr "" -#: ../../using/selecting.md:80 bdf0f5fb810c4868a0d8b71f8a2e4a6e +#: ../../using/selecting.md:79 94c562be608b41169334995b1ec4e145 msgid "" -"[pandas](https://pandas.pydata.org/), " +"[dask](https://dask.org/), [pandas](https://pandas.pydata.org/), " "[numexpr](https://github.com/pydata/numexpr), " "[matplotlib](https://matplotlib.org/), [scipy](https://www.scipy.org/)," msgstr "" -#: ../../using/selecting.md:81 afcb71238ec945efb6f47f6ba0cd7a1f +#: ../../using/selecting.md:80 cbe741b8d86a4cba922a13e3563e3b09 msgid "" "[seaborn](https://seaborn.pydata.org/), [scikit-learn](http://scikit-" "learn.org/stable/), [scikit-image](http://scikit-image.org/), " @@ -1849,11 +1843,11 @@ msgid "" "learning datasets" msgstr "" -#: ../../using/selecting.md:90 79a68601b28741f2806af84cf2cd8ac6 +#: ../../using/selecting.md:89 346d0779e3d14f4084cfdd711032502b msgid "### jupyter/tensorflow-notebook" msgstr "" -#: ../../using/selecting.md:92 6d1b8b6c6f694e0e89fca5b57218d348 +#: ../../using/selecting.md:91 c9bb6c6b28bd49fe87a10c2b2c510b6d msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/tensorflow-notebook) | [Dockerfile commit " @@ -1862,28 +1856,28 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/tensorflow-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:96 8443c0d7dd0646b4b3a033af7761ee83 +#: ../../using/selecting.md:95 00cd98d84ea24cd29128c57c4663dffa msgid "" "`jupyter/tensorflow-notebook` includes popular Python deep learning " "libraries." msgstr "" -#: ../../using/selecting.md:98 ../../using/selecting.md:122 -#: 2a354b8e22b74973af0a4b8ddd47abf1 8725c1c1d2dd472a9b36b36b1efb6fa8 +#: ../../using/selecting.md:97 ../../using/selecting.md:121 +#: 5dc6a04b0aba427f883131bd8bae37ea a4e5b227f97e44e8803cc7672799ba08 msgid "Everything in `jupyter/scipy-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:99 71a8adaabe044d67b1ae50a2bc9a10fc +#: ../../using/selecting.md:98 4d1e73a3cdf645b8bf58fa6c630d9ea3 msgid "" "[tensorflow](https://www.tensorflow.org/) and [keras](https://keras.io/) " "machine learning libraries" msgstr "" -#: ../../using/selecting.md:101 9ab65bcc018a4ea68b3c3d7bcfb560e7 +#: ../../using/selecting.md:100 07518e9560914140a48522e17c16dcae msgid "### jupyter/datascience-notebook" msgstr "" -#: ../../using/selecting.md:103 df3fb561b4924f1ea68ed55c09c42848 +#: ../../using/selecting.md:102 c1173ac02eb748f8b87f6c5325a1a12a msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/datascience-notebook) | [Dockerfile commit " @@ -1892,40 +1886,40 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/datascience-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:107 11e18fd52504431b91a2f886e7bd9fd0 +#: ../../using/selecting.md:106 9a8bb013db2748569a5e8a680161adbe msgid "" "`jupyter/datascience-notebook` includes libraries for data analysis from " "the Julia, Python, and R communities." msgstr "" -#: ../../using/selecting.md:109 7ec85f00c36c4f6297c18d0c1d66deff +#: ../../using/selecting.md:108 9906789ffb4f41339dd1f4e7dac526ab msgid "" "Everything in the `jupyter/scipy-notebook` and `jupyter/r-notebook` " "images, and their ancestor images" msgstr "" -#: ../../using/selecting.md:110 f916c383d9dc4e75b8c573ac1c3bbf9f +#: ../../using/selecting.md:109 050a7a1072344fa18797dbc61303518b msgid "The [Julia](https://julialang.org/) compiler and base environment" msgstr "" -#: ../../using/selecting.md:111 2938afd87a554de89e67deec6046482c +#: ../../using/selecting.md:110 f55f86bf77784157b75e7312c2aa423a msgid "" "[IJulia](https://github.com/JuliaLang/IJulia.jl) to support Julia code in" " Jupyter notebooks" msgstr "" -#: ../../using/selecting.md:112 679db304fca648aa842579f35da6186c +#: ../../using/selecting.md:111 843172c5306b45bdb2518ed96da05349 msgid "" "[HDF5](https://github.com/JuliaIO/HDF5.jl), " "[Gadfly](http://gadflyjl.org/stable/), and " "[RDatasets](https://github.com/johnmyleswhite/RDatasets.jl) packages" msgstr "" -#: ../../using/selecting.md:114 4523b42693df42f1afb44d2bfa04b851 +#: ../../using/selecting.md:113 ca7a1135efca41caa723cde6e7f9da5b msgid "### jupyter/pyspark-notebook" msgstr "" -#: ../../using/selecting.md:116 e7bc13da20db46008b7f19ae9b29471a +#: ../../using/selecting.md:115 7a2adbe431e146c694001fbd6a04b3e9 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/pyspark-notebook) | [Dockerfile commit " @@ -1934,25 +1928,25 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/pyspark-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:120 d0e546ab9aed4686a2edb5555412b74c +#: ../../using/selecting.md:119 b47c0ef0a9274bdd92e7ae754f472c65 msgid "" "`jupyter/pyspark-notebook` includes Python support for Apache Spark, " "optionally on Mesos." msgstr "" -#: ../../using/selecting.md:123 6905a4afae2d4457856ae1a9b4ac5316 +#: ../../using/selecting.md:122 cc35b11a9e65458bbd4c315b7ddb17d3 msgid "[Apache Spark](https://spark.apache.org/) with Hadoop binaries" msgstr "" -#: ../../using/selecting.md:124 9030b2660ed643219c18e183cfd902bc +#: ../../using/selecting.md:123 bed635a8f05a4b4193f3d37cfc02db94 msgid "[Mesos](http://mesos.apache.org/) client libraries" msgstr "" -#: ../../using/selecting.md:126 90942ed5463a47c5a1ec3451b54165c9 +#: ../../using/selecting.md:125 dfbff820d53649deaebeea20e0ac4d0a msgid "### jupyter/all-spark-notebook" msgstr "" -#: ../../using/selecting.md:128 a70202e1dd134f0492823bffb20d396a +#: ../../using/selecting.md:127 76ab93c83eab4e488413840d459d7521 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/all-spark-notebook) | [Dockerfile commit " @@ -1961,35 +1955,35 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/all-spark-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:132 76148b2528624293aaf61e68a771d212 +#: ../../using/selecting.md:131 c557b42b9cb74006858c8b9d184edd6c msgid "" "`jupyter/all-spark-notebook` includes Python, R, and Scala support for " "Apache Spark, optionally on Mesos." msgstr "" -#: ../../using/selecting.md:134 8de2370c39ad46cda57cd5a7996b4bfe +#: ../../using/selecting.md:133 440d36bdc4b046f2b06ed0394575f69c msgid "Everything in `jupyter/pyspark-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:136 54fb11ad07c44b8fb9938f7a765e3ce5 +#: ../../using/selecting.md:135 b22bcc080c2e45ce814edc14647bc00c msgid "" "[Apache Toree](https://toree.apache.org/) and [spylon-" "kernel](https://github.com/maxpoint/spylon-kernel) to support Scala code " "in Jupyter notebooks" msgstr "" -#: ../../using/selecting.md:137 62d517ab79024406b1e49ae709006325 +#: ../../using/selecting.md:136 b3ccf6e0670c449ab00d1e6207e395ee msgid "" "[ggplot2](http://ggplot2.org/), [sparklyr](http://spark.rstudio.com/), " "and [rcurl](https://cran.r-project.org/web/packages/RCurl/index.html) " "packages" msgstr "" -#: ../../using/selecting.md:139 7b9208c73c0c4c10b9836e7d0edcf1ab +#: ../../using/selecting.md:138 0ae37b7d966746ee83b2cd33d80261c0 msgid "### Image Relationships" msgstr "" -#: ../../using/selecting.md:141 511f3d97451942febfa6ef38512f6d58 +#: ../../using/selecting.md:140 5e52590323614e8e99ccae145d71e6ef msgid "" "The following diagram depicts the build dependency tree of the core " "images. (i.e., the `FROM` statements in their Dockerfiles). Any given " @@ -1997,7 +1991,7 @@ msgid "" "it." msgstr "" -#: ../../using/selecting.md:144 7a8cc647cfae4880967fda06397a9c1a +#: ../../using/selecting.md:143 11575e39366542c394b75933a8f267f7 msgid "" "[![Image inheritance " "diagram](../images/inherit.svg)](http://interactive.blockdiag.com/?compression=deflate&src" @@ -2006,11 +2000,11 @@ msgid "" "Zh7Z24OLLq2SjaxpvP10lX35vCf6pOxELFmUbQiUz4oQhYzMc3gCrRt2cWe_FKosmSjyFHC6OS1AwdQWCtyj7sfh523_BI9hKlQ25YdOFdv5fcH0kiEMA)" msgstr "" -#: ../../using/selecting.md:147 bc505159e6f84ca9a580f846b60a7662 +#: ../../using/selecting.md:146 37b4788f44744d139eeaa14f411cceba msgid "### Builds" msgstr "" -#: ../../using/selecting.md:149 a9cb9b4115a64f4a9fc153121b4a91a7 +#: ../../using/selecting.md:148 45041b27f2264d82b8a156017ef8f7c9 msgid "" "Pull requests to the `jupyter/docker-stacks` repository trigger builds of" " all images on Travis CI. These images are for testing purposes only and " @@ -2019,18 +2013,18 @@ msgid "" " Hub." msgstr "" -#: ../../using/selecting.md:152 a8783b0ebc8148c9b56aaae398f2af07 +#: ../../using/selecting.md:151 3ba3a58b5b804dc3896c7535e3116c44 msgid "### Versioning" msgstr "" -#: ../../using/selecting.md:154 daf6bc5be2db45afa5a03ed6a0b40870 +#: ../../using/selecting.md:153 70f2ff342f0d474798cb087441a2861f msgid "" "The `latest` tag in each Docker Hub repository tracks the master branch " "`HEAD` reference on GitHub. `latest` is a moving target, by definition, " "and will have backward-incompatible changes regularly." msgstr "" -#: ../../using/selecting.md:157 b67fa913d259412cb7fbe7a34bae179c +#: ../../using/selecting.md:156 ed420cf8042c4df2a5fe8f5f19e9dfce msgid "" "Every image on Docker Hub also receives a 12-character tag which " "corresponds with the git commit SHA that triggered the image build. You " @@ -2041,7 +2035,7 @@ msgid "" "stacks/tree/7c45ec67c8e7))." msgstr "" -#: ../../using/selecting.md:161 b4ab71b3f5c244378f7e4ae8182725ee +#: ../../using/selecting.md:160 98b7ee30fa384e1d8b0a144249cf5acf msgid "" "You must refer to git-SHA image tags when stability and reproducibility " "are important in your work. (e.g. `FROM jupyter/scipy-" @@ -2051,12 +2045,12 @@ msgid "" "library in a notebook)." msgstr "" -#: ../../using/selecting.md:165 84bbdf21138b4baa9e9ba55028974a63 +#: ../../using/selecting.md:164 8bd9b8143c8c41ccaa9a36269f94c731 msgid "## Community Stacks" msgstr "" # a448d28293544f72b0e5de024b0a1ef5 -#: ../../using/selecting.md:167 89eb09c63ab1486a9180e4b31ebc0d3f +#: ../../using/selecting.md:166 ec596ab2c06545f9a26887e81115f510 msgid "" "The core stacks are just a tiny sample of what's possible when combining " "Jupyter with other technologies. We encourage members of the Jupyter " @@ -2064,14 +2058,14 @@ msgid "" "them below." msgstr "" -#: ../../using/selecting.md:170 92a535051e0943568defe03a7538c703 +#: ../../using/selecting.md:169 7bc2c6f44688492b9785724bfbd15f5a msgid "" "[csharp-notebook is a community Jupyter Docker Stack image. Try C# in " "Jupyter Notebooks](https://github.com/tlinnet/csharp-notebook). The image" " includes more" msgstr "" -#: ../../using/selecting.md:171 21508370ed1b45758a59cbe7b372a870 +#: ../../using/selecting.md:170 bacac23e3dae40cdb1c3d1515d23c409 msgid "" "than 200 Jupyter Notebooks with example C# code and can readily be tried " "online via mybinder.org. Click here to launch " @@ -2079,25 +2073,25 @@ msgid "" "/csharp-notebook/master)." msgstr "" -#: ../../using/selecting.md:174 374fcf1ee6354899a49d8ea3c383e1fc +#: ../../using/selecting.md:173 b7740aeaffcf4c53a088ca0ccfae46bf msgid "" "[education-notebook is a community Jupyter Docker Stack " "image](https://github.com/umsi-mads/education-notebook). The image " "includes nbgrader and RISE on top of" msgstr "" -#: ../../using/selecting.md:175 81bbb0f44daa45a6a974cfd79da5128c +#: ../../using/selecting.md:174 29b72462f2754749bb4a2fb44a1b5d7a msgid "" "the datascience-notebook image. Click here to launch it on " "[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh" "/umsi-mads/education-notebook/master)." msgstr "" -#: ../../using/selecting.md:178 bfddfc55ed414aef97935b088a5ac6ae +#: ../../using/selecting.md:177 514093050a354a899f6c12766f3e01d9 msgid "__crosscompass/ihaskell-notebook__" msgstr "" -#: ../../using/selecting.md:180 6c80a293aee8401e9da0792713e2ace2 +#: ../../using/selecting.md:179 1dd8a5b55896400292329301cc0bba62 msgid "" "[Source on GitHub](https://github.com/jamesdbrock/ihaskell-notebook) | " "[Dockerfile commit history](https://github.com/jamesdbrock/ihaskell-" @@ -2105,31 +2099,31 @@ msgid "" "tags](https://hub.docker.com/r/crosscompass/ihaskell-notebook/tags)" msgstr "" -#: ../../using/selecting.md:184 e72d1992886043ffb982c2bbdfe00c72 +#: ../../using/selecting.md:183 1fd301c5fdea48f8989ef6153e4074bc msgid "" "`crosscompass/ihaskell-notebook` is based on " "[IHaskell](https://github.com/gibiansky/IHaskell). Includes popular " "packages and example notebooks." msgstr "" -#: ../../using/selecting.md:186 35871ca826fe4376a951d45221d8e2c9 +#: ../../using/selecting.md:185 6d997f10cbb548228f6a5db771963b92 msgid "Try it on binder: [![launch Learn You a Haskell for Great" msgstr "" -#: ../../using/selecting.md:187 203cd4062019412b941dca261eea4be4 +#: ../../using/selecting.md:186 b488038909b44d71926f1e21a0529d20 msgid "" "Good!](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jamesdbrock" "/learn-you-a-haskell-" "notebook/master?urlpath=lab/tree/learn_you_a_haskell/00-preface.ipynb)" msgstr "" -#: ../../using/selecting.md:189 72e98027fac84db2a58a2b28b6cf6a3f +#: ../../using/selecting.md:188 cd98123ed2a444b384f4cd6bf0a57e78 msgid "" "[java-notebook is a community Jupyter Docker Stack " "image](https://github.com/jbindinga/java-notebook). The image includes" msgstr "" -#: ../../using/selecting.md:190 4bd0376450b04164bcf37c664a702882 +#: ../../using/selecting.md:189 9eff080a3b1a4491bc91ec0cbff1dde8 msgid "" "[IJava](https://github.com/SpencerPark/IJava) kernel on top of the " "minimal-notebook image. Click here to launch it on " @@ -2137,28 +2131,28 @@ msgid "" "/java-notebook/master)." msgstr "" -#: ../../using/selecting.md:193 1fe833bec3dc4005b2cb3a25400b1246 +#: ../../using/selecting.md:192 443654931aca4296bcb53e0a5b453518 msgid "" "[sage-notebook](https://github.com/sharpTrick/sage-notebook) is a " "community Jupyter Docker Stack image with the " "[sagemath](https://sagemath.org) kernel on top of" msgstr "" -#: ../../using/selecting.md:194 3163a3ac64324494855153f6dbcd5d78 +#: ../../using/selecting.md:193 a2e0c5e52a524d1b8e018a1f1a6a712f msgid "" "the minimal-notebook image. Click here to launch it on " "[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/sharpTrick" "/sage-notebook/master)." msgstr "" -#: ../../using/selecting.md:197 0d2ea6e1e0e44171a95974efc2592381 +#: ../../using/selecting.md:196 9fb579e052734242a64ab2e403a877cd msgid "" "[GPU-Jupyter](https://github.com/iot-salzburg/gpu-jupyter/): Leverage " "Jupyter Notebooks with the power of your NVIDIA GPU and perform GPU " "calculations using" msgstr "" -#: ../../using/selecting.md:198 3b976602e6d94211b0d60204a888c446 +#: ../../using/selecting.md:197 b094a76a76ce4f9ba5366491e4818d5e msgid "" "Tensorflow and Pytorch in collaborative notebooks. This is done by " "generating a Dockerfile, that consists of the **nvidia/cuda** base image," @@ -2167,40 +2161,40 @@ msgid "" "top of it." msgstr "" -#: ../../using/selecting.md:203 29bc7b0a1184489aaf65361f10cb26fd +#: ../../using/selecting.md:202 0b80a82e9b7d4ec5a987fe0e8023f32e msgid "" "[cgspatial-notebook](https://github.com/SCiO-systems/cgspatial-notebook) " "is a community Jupyter Docker Stack image. The image includes major " "geospatial Python &" msgstr "" -#: ../../using/selecting.md:204 e9cad013c8a84cd890c8c0ee3f0e2b8b +#: ../../using/selecting.md:203 bc5ab58f5c0e47a89661af9ea72b8097 msgid "" "R libraries on top of the datascience-notebook image. Try it on " "binder:[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh" "/SCiO-systems/cgspatial-notebook/master)" msgstr "" -#: ../../using/selecting.md:208 f7472028f70f408e99957adbf92df948 +#: ../../using/selecting.md:207 63994ea22033487e8be01afdc0d48cc6 msgid "" "See the [contributing guide](../contributing/stacks.md) for information " "about how to create your own Jupyter Docker Stack." msgstr "" -#: ../../using/specifics.md:1 383eb4e118444d379906076c35c2cdb6 +#: ../../using/specifics.md:1 aaaaaaddb49b44779bfcca1075971446 msgid "# Image Specifics" msgstr "" # 06b0d21a881140a29e17e5b9fa5598ab -#: ../../using/specifics.md:3 66ebf375c7ab43c8805450dbeb26af02 +#: ../../using/specifics.md:3 e6e2e035e3a74449837ee4b8db938834 msgid "This page provides details about features specific to one or more images." msgstr "" -#: ../../using/specifics.md:5 47811d514e96415c9235a3ad87304a87 +#: ../../using/specifics.md:5 1360f19320954007b0e633977a6c3465 msgid "## Apache Spark" msgstr "" -#: ../../using/specifics.md:7 926501c97d0e4b088de90c20a179e67a +#: ../../using/specifics.md:7 2938dca9e5a94292a2ce9ea02658cc3b msgid "" "**Specific Docker Image Options** * `-p 4040:4040` - The `jupyter" "/pyspark-notebook` and `jupyter/all-spark-notebook` images open [SparkUI " @@ -2213,11 +2207,11 @@ msgid "" "8888:8888 -p 4040:4040 -p 4041:4041 jupyter/pyspark-notebook`" msgstr "" -#: ../../using/specifics.md:10 530f46863bfe4b68a9268d9753d8e430 +#: ../../using/specifics.md:10 f945cd39d2b94aa8a9c007753c2f6033 msgid "**Usage Examples**" msgstr "" -#: ../../using/specifics.md:12 71f654090138460fba934e80ed03e60b +#: ../../using/specifics.md:12 a2a2fa28b7b842ffbea438e2764f73b1 msgid "" "The `jupyter/pyspark-notebook` and `jupyter/all-spark-notebook` images " "support the use of [Apache Spark](https://spark.apache.org/) in Python, " @@ -2225,23 +2219,23 @@ msgid "" "how to get started using them." msgstr "" -#: ../../using/specifics.md:14 ba7f6dc5ad5644929c792c13cfa7e8a0 +#: ../../using/specifics.md:14 c6e843a2bf854b93a33f1679b01c248a msgid "### Using Spark Local Mode" msgstr "" # 15a0171869f3437481b9dfb2aec3db00 -#: ../../using/specifics.md:16 c8ba5f89877948b1b08317012cd629e4 +#: ../../using/specifics.md:16 065c2d8034b7496d93c9a7ae4187f47a msgid "" "Spark local mode is useful for experimentation on small data when you do " "not have a Spark cluster available." msgstr "" #: ../../using/specifics.md:18 ../../using/specifics.md:74 -#: 4dec0b588e7a415b8077e7081c7beb08 efd9a7b7d46e494a95f0b006737aa17f +#: 3c29f54547554896bfa2d062a7fb2dcd 63a74fca45f24911a25c53d8e0219b98 msgid "#### In a Python Notebook" msgstr "" -#: ../../using/specifics.md:20 30884ffc0ac2442595e1b4301b6f6ea2 +#: ../../using/specifics.md:20 1759a7f0079847909b25ac8028a192c0 msgid "" "```python from pyspark.sql import SparkSession spark = " "SparkSession.builder.appName(\"SimpleApp\").getOrCreate() # do something " @@ -2249,38 +2243,38 @@ msgid "" msgstr "" #: ../../using/specifics.md:27 ../../using/specifics.md:101 -#: 7a5e7dc6757e43b08891b623e4778d71 b2e189a158a1424dbdce05529f32231d +#: 25185527c9cd438199858fcd97bc74a3 3b4df7de5f994b0d8571e21dce089cbf msgid "#### In a R Notebook" msgstr "" #: ../../using/specifics.md:29 ../../using/specifics.md:103 -#: 54df2ba2219a48e4b6628c995ce47cd5 cb4012b75cc5460c97ca72fc9353e56e +#: 8b6df5bdd7b346df9393936f94f08cf9 d3bc0fe9f5494bb09c101a0e14984d77 msgid "```r library(SparkR)" msgstr "" -#: ../../using/specifics.md:32 b1fa788b5a774cc180278bdf3c990699 +#: ../../using/specifics.md:32 2310789cc53e478980968b3856e9020b msgid "as <- sparkR.session(\"local[*]\")" msgstr "" -#: ../../using/specifics.md:34 3e509903885742aa8737ba6e05a1ebf3 +#: ../../using/specifics.md:34 4fa030285cf341aca1cb27335c41f348 msgid "" "# do something to prove it works df <- as.DataFrame(iris) head(filter(df," " df$Petal_Width > 0.2)) ```" msgstr "" #: ../../using/specifics.md:39 ../../using/specifics.md:122 -#: 4752e4ddb18c406f839f51b9733c9c88 5b8ec758776c430fb00c2c5b41d31e1a +#: 37060554bbbe4acf8ef41fa0eb657019 ae34c4fd2089496ab11dd9e7cd2937f3 msgid "#### In a Spylon Kernel Scala Notebook" msgstr "" -#: ../../using/specifics.md:41 7500e24a481c4ea8a07095ddc05ccc96 +#: ../../using/specifics.md:41 4de98e8fe87c4f279ed919823e422da7 #, python-format msgid "" "Spylon kernel instantiates a `SparkContext` for you in variable `sc` " "after you configure Spark options in a `%%init_spark` magic cell." msgstr "" -#: ../../using/specifics.md:43 f32c3852ba1e4665b0adf6abe0811c33 +#: ../../using/specifics.md:43 93f5605a259d495e9e9f084a06d7e91c #, python-format msgid "" "```python %%init_spark # Configure Spark to use a local master " @@ -2288,43 +2282,43 @@ msgid "" msgstr "" #: ../../using/specifics.md:49 ../../using/specifics.md:131 -#: 4b1218d9c0a14ea5a19248307e6bfcd4 c8840f5b63794d3a8bf292d0dab3f45e +#: 477f868321914eef934f4ac5db702aa9 d2c813f4713843f4aa56b334fe18163e msgid "" "```scala // Now run Scala code that uses the initialized SparkContext in " "sc val rdd = sc.parallelize(0 to 999) rdd.takeSample(false, 5) ```" msgstr "" #: ../../using/specifics.md:55 ../../using/specifics.md:137 -#: 10136d469e4d47db96faf9784ef369ef e59cffcab117433582311bf291024916 +#: 3c7444d3dede4fcdb3f2fdc06b7bb76e 7c838e7af69c4be5aff49c44a06c394a msgid "#### In an Apache Toree Scala Notebook" msgstr "" -#: ../../using/specifics.md:57 709791c2ba244c13bdb9ff2d35c8b62e +#: ../../using/specifics.md:57 40783aed3b944acf90a53a450437fdf1 msgid "" "Apache Toree instantiates a local `SparkContext` for you in variable `sc`" " when the kernel starts." msgstr "" -#: ../../using/specifics.md:59 f581ecd3f4ae4200b9df7b33f6acc79b +#: ../../using/specifics.md:59 f5d417c9a12041008fc91cdb40ffe7fa msgid "```scala val rdd = sc.parallelize(0 to 999) rdd.takeSample(false, 5) ```" msgstr "" -#: ../../using/specifics.md:64 544ce3f7d2e74277bb96472d670bec51 +#: ../../using/specifics.md:64 a0db33903bac463bbae6027b0c7458a1 msgid "### Connecting to a Spark Cluster on Mesos" msgstr "" # 4926e921fbd24baba9888b3f08cf4f51 -#: ../../using/specifics.md:66 e091fee1ca144f5dbee7265452b2c464 +#: ../../using/specifics.md:66 c5149f04736741d39959661b8b721d39 msgid "This configuration allows your compute cluster to scale with your data." msgstr "" -#: ../../using/specifics.md:68 6c1e4f827a5c42afa91862fde4465d3c +#: ../../using/specifics.md:68 8953875a11bc4a36b30110803820ec7c msgid "" "[Deploy Spark on Mesos](http://spark.apache.org/docs/latest/running-on-" "mesos.html)." msgstr "" -#: ../../using/specifics.md:69 eb717b36933e4f40af71b4f2dd32b0e2 +#: ../../using/specifics.md:69 8196b23b33194d908a15ce3c521b3240 msgid "" "Configure each slave with [the `--no-switch_user` " "flag](https://open.mesosphere.com/reference/mesos-slave/) or create the " @@ -2332,7 +2326,7 @@ msgid "" msgstr "" #: ../../using/specifics.md:70 ../../using/specifics.md:166 -#: 3191b72bc7b94476bde48ffdad914108 e074c924ccef4569a87e597fb12418b1 +#: be45897803104f74af649640813dad55 f145f14b1874498f9210efbcf0cbe5b0 msgid "" "Run the Docker container with `--net=host` in a location that is network " "addressable by all of your Spark workers. (This is a [Spark networking " @@ -2341,7 +2335,7 @@ msgid "" msgstr "" #: ../../using/specifics.md:71 ../../using/specifics.md:167 -#: 956a3d53f1354ddaa20ec5e52a95f824 a5a7bc61dab04c288da0b0a7f66d7ce5 +#: c9c6c78d09cc42e28ea0509468114323 f7ac3bb57f6d4ea2b1ee566e292b9684 msgid "" "NOTE: When using `--net=host`, you must also use the flags `--pid=host -e" " TINI_SUBREAPER=true`. See https://github.com/jupyter/docker-" @@ -2349,21 +2343,21 @@ msgid "" msgstr "" # 16c4327879294075a64b4329f972321c -#: ../../using/specifics.md:72 5d2a33599e6e439981396277ef2be5ed +#: ../../using/specifics.md:72 2405f8c928314f289f8211289681959f msgid "Follow the language specific instructions below." msgstr "" -#: ../../using/specifics.md:76 63cd2fd900c340e8ba7c0c5700842d8b +#: ../../using/specifics.md:76 88139acde5704d339d638c5db0aab9b1 msgid "" "```python import os # make sure pyspark tells workers to use python3 not " "2 if both are installed os.environ['PYSPARK_PYTHON'] = '/usr/bin/python3'" msgstr "" -#: ../../using/specifics.md:81 55662363fffc4d07b74ae576a1535913 +#: ../../using/specifics.md:81 3f82da6d7f5f46ae8961a40e1d55153c msgid "import pyspark conf = pyspark.SparkConf()" msgstr "" -#: ../../using/specifics.md:84 dbf284b38ea74dd2b80f96ca00c7c303 +#: ../../using/specifics.md:84 73f99fd836cd41ecb72f0e8f19635851 msgid "" "# point to mesos master or zookeeper entry (e.g., " "zk://10.10.10.10:2181/mesos) conf.setMaster(\"mesos://10.10.10.10:5050\")" @@ -2375,17 +2369,17 @@ msgid "" "conf.set(\"spark.core.connection.ack.wait.timeout\", \"1200\")" msgstr "" -#: ../../using/specifics.md:93 74215f82ea4c42ab86fb8506f2e8485a +#: ../../using/specifics.md:93 06db05181bb54d36bc87e6a32182da66 msgid "# create the context sc = pyspark.SparkContext(conf=conf)" msgstr "" -#: ../../using/specifics.md:96 cc271fac7d524054bf6090e790936815 +#: ../../using/specifics.md:96 a7c8b6ca7c6c4999a089cd3cf73afedd msgid "" "# do something to prove it works rdd = sc.parallelize(range(100000000)) " "rdd.sumApprox(3) ```" msgstr "" -#: ../../using/specifics.md:106 be23cf8946e945c5bc82c656df1996c6 +#: ../../using/specifics.md:106 c115d036aa394e5684d94195f82bf34f msgid "" "# Point to mesos master or zookeeper entry (e.g., " "zk://10.10.10.10:2181/mesos) # Point to spark binary package in HDFS or " @@ -2395,23 +2389,23 @@ msgid "" "sparkR.session(\"mesos://10.10.10.10:5050\", sparkEnvir=list(" msgstr "" -#: ../../using/specifics.md:111 9ef1fddd6a154a6c8f7381dd39a29a7c +#: ../../using/specifics.md:111 90ea8416d08f4308985c2ede7979ddfc msgid "" "spark.executor.uri=\"hdfs://10.10.10.10/spark/spark-2.2.0-bin-" "hadoop2.7.tgz\", spark.executor.memory=\"8g\" )" msgstr "" -#: ../../using/specifics.md:114 0980da0608be4c549fea49c37cef0c91 +#: ../../using/specifics.md:114 3526eb1f60d14e4da432350abdb8123b msgid ")" msgstr "" -#: ../../using/specifics.md:116 daac847cecce4711b4df0fade6a81773 +#: ../../using/specifics.md:116 8e102f7163464b809f8b3703bd7257b3 msgid "" "# do something to prove it works data(iris) df <- as.DataFrame(iris) " "head(filter(df, df$Petal_Width > 0.2)) ```" msgstr "" -#: ../../using/specifics.md:124 ed3a9f374eec4c53b64ea479ac8633ba +#: ../../using/specifics.md:124 a618bc4f5eab47de85111337723b2836 #, python-format msgid "" "```python %%init_spark # Configure the location of the mesos master and " @@ -2420,7 +2414,7 @@ msgid "" "-bin-hadoop2.7.tgz ```" msgstr "" -#: ../../using/specifics.md:139 3f67bc8d08f346d18dde5959ea55519b +#: ../../using/specifics.md:139 d2e9efdf3eba46d98c0c9680b2b59eb3 msgid "" "The Apache Toree kernel automatically creates a `SparkContext` when it " "starts based on configuration information from its command line arguments" @@ -2430,119 +2424,119 @@ msgid "" msgstr "" # 3e3d5ec9fa554e75989856139938f4f8 -#: ../../using/specifics.md:141 6f2b2c4ee8eb46d38a3646a4efa33dd4 +#: ../../using/specifics.md:141 f9685bcb4c874b5c8bc6bea697af9447 msgid "" "For instance, to pass information about a Mesos master, Spark binary " "location in HDFS, and an executor options, you could start the container " "like so:" msgstr "" -#: ../../using/specifics.md:143 a18659f89a994807bdbe8ed1b4e93b82 +#: ../../using/specifics.md:143 9e2add11b46b4f06b5b386f1bc9d983e msgid "" "``` docker run -d -p 8888:8888 -e SPARK_OPTS='--" "master=mesos://10.10.10.10:5050 \\" msgstr "" -#: ../../using/specifics.md:145 ef5d839894d14873a045835d9ab740ba +#: ../../using/specifics.md:145 f8b9bdc38e81436a80d273101da5fc83 msgid "" "--spark.executor.uri=hdfs://10.10.10.10/spark/spark-2.2.0-bin-" "hadoop2.7.tgz \\ --spark.executor.memory=8g' jupyter/all-spark-notebook" msgstr "" # fa8494a4dde544109b9f6f49ac28178f -#: ../../using/specifics.md:149 631a6af2bb6d447a8e1fe01f7b103f96 +#: ../../using/specifics.md:149 915011f0174a462caa89acb098655c16 msgid "" "Note that this is the same information expressed in a notebook in the " "Python case above. Once the kernel spec has your cluster information, you" " can test your cluster in an Apache Toree notebook like so:" msgstr "" -#: ../../using/specifics.md:151 5223ac7aeddd411889e3db6810a605cd +#: ../../using/specifics.md:151 311b032019944f429193ec6bfca44695 msgid "" "```scala // should print the value of --master in the kernel spec " "println(sc.master)" msgstr "" -#: ../../using/specifics.md:155 28452de91c76418b9809a26af70efb9f +#: ../../using/specifics.md:155 03b517d4f728429aa9228680d80ba700 msgid "" "// do something to prove it works val rdd = sc.parallelize(0 to 99999999)" " rdd.sum() ```" msgstr "" -#: ../../using/specifics.md:160 423f27808f9f4d429b01e4f6d0613aad +#: ../../using/specifics.md:160 9e52e4dfe4984f3abad70a1ddeab550d msgid "### Connecting to a Spark Cluster in Standalone Mode" msgstr "" # 79db0ba4244a4701aa8dfe0053d5579c -#: ../../using/specifics.md:162 6ec24205a981441d995651aef18aa592 +#: ../../using/specifics.md:162 30f85b25718a4304a338aab22dac154d msgid "" "Connection to Spark Cluster on Standalone Mode requires the following set" " of steps:" msgstr "" # 2c728588b6df4753a0c08f969364a79a -#: ../../using/specifics.md:164 3f376078b0eb4d43ba8ab6fc02ef2286 +#: ../../using/specifics.md:164 3d8888e259cf4583abec31ccdbb3d938 msgid "" "Verify that the docker image (check the Dockerfile) and the Spark Cluster" " which is being deployed, run the same version of Spark." msgstr "" -#: ../../using/specifics.md:165 fb849727f8544faea996bab7abd7e1d3 +#: ../../using/specifics.md:165 2cc15a406cea4b1a9a5d7666f8625ab8 msgid "" "[Deploy Spark in Standalone Mode](http://spark.apache.org/docs/latest" "/spark-standalone.html)." msgstr "" # 3c781f06114240e28dcdb0c40a5d5cf5 -#: ../../using/specifics.md:168 a3f6859593184471a6b28617a6abeb9f +#: ../../using/specifics.md:168 8e8f00e8b5dc4b5ba9bd4c59c92f1b51 msgid "" "The language specific instructions are almost same as mentioned above for" " Mesos, only the master url would now be something like " "spark://10.10.10.10:7077" msgstr "" -#: ../../using/specifics.md:170 ea1983b265174e49b32971c0223eb0b1 +#: ../../using/specifics.md:170 dd87a8d64ff44bfb83f3f95b9599a2c0 msgid "## Tensorflow" msgstr "" -#: ../../using/specifics.md:172 66115a7e155443a4a7e2f095d45bf5e1 +#: ../../using/specifics.md:172 ad6fce63da924d47a4779e6a93628980 msgid "" "The `jupyter/tensorflow-notebook` image supports the use of " "[Tensorflow](https://www.tensorflow.org/) in single machine or " "distributed mode." msgstr "" -#: ../../using/specifics.md:174 4b0d02aca7aa48758931ebe0d11a2170 +#: ../../using/specifics.md:174 36e7bcdddf6e4a409e4d7b41ce8dc8e8 msgid "### Single Machine Mode" msgstr "" #: ../../using/specifics.md:176 ../../using/specifics.md:190 -#: 75539100ef6c45c9af462329e0da5909 98b709f8caef40968edf0d807dd66dc9 +#: 2937b4c943b9454cb155a05cf2bce7cb 33cbf328575949b2a58529d5f2c755e9 msgid "```python import tensorflow as tf" msgstr "" -#: ../../using/specifics.md:179 35cca62aef06450b893339b6cea567f9 +#: ../../using/specifics.md:179 3daca1bdea3345b0b2ceb12ddabd7769 msgid "hello = tf.Variable('Hello World!')" msgstr "" -#: ../../using/specifics.md:181 0449ded7988d4d488c37e9e9ad28cc98 +#: ../../using/specifics.md:181 4accebd772874dc1a47c5b0f3e581b75 msgid "sess = tf.Session() init = tf.global_variables_initializer()" msgstr "" #: ../../using/specifics.md:184 ../../using/specifics.md:199 -#: 415b7f4e3aec4ec99e4b601c53ae5149 ad8a3842519543faa8f64fd006330d94 +#: 04fce08997ae43f1852b3ed223fa4010 ce708f2f55794338b5438b299c073a47 msgid "sess.run(init) sess.run(hello) ```" msgstr "" -#: ../../using/specifics.md:188 f1d7ed726dce48358fd65a4be4b7f492 +#: ../../using/specifics.md:188 15711eb07f19410089103560cb80fb20 msgid "### Distributed Mode" msgstr "" -#: ../../using/specifics.md:193 16212372ab804636bb27d9343c51e0e5 +#: ../../using/specifics.md:193 8de34afd6b334d2e9e47570caa856bdc msgid "hello = tf.Variable('Hello Distributed World!')" msgstr "" -#: ../../using/specifics.md:195 aae3de5011294dc79fb8bf2cc6ee01d7 +#: ../../using/specifics.md:195 793cd534e6db425883d258f8d2643c3b msgid "" "server = tf.train.Server.create_local_server() sess = " "tf.Session(server.target) init = tf.global_variables_initializer()" @@ -4083,3 +4077,33 @@ msgstr "" #~ "editor.org/), tzdata, and" #~ msgstr "" +#~ msgid "" +#~ "Minimally-functional Jupyter Notebook server" +#~ " (e.g., no [pandoc](https://pandoc.org/) for " +#~ "saving notebooks as PDFs)" +#~ msgstr "" + +#~ msgid "" +#~ "[Pandoc](http://pandoc.org) and [TeX " +#~ "Live](https://www.tug.org/texlive/) for notebook " +#~ "document conversion" +#~ msgstr "" + +#~ msgid "" +#~ "[git](https://git-scm.com/), " +#~ "[emacs](https://www.gnu.org/software/emacs/), " +#~ "[vi](https://vim.org/) (actually `vim-tiny`), " +#~ "[jed](https://www.jedsoft.org/jed/), [nano](https://www.nano-" +#~ "editor.org/), tzdata, and" +#~ msgstr "" + +#~ msgid "unzip" +#~ msgstr "" + +#~ msgid "" +#~ "[pandas](https://pandas.pydata.org/), " +#~ "[numexpr](https://github.com/pydata/numexpr), " +#~ "[matplotlib](https://matplotlib.org/), " +#~ "[scipy](https://www.scipy.org/)," +#~ msgstr "" +