diff --git a/docs/locale/en/LC_MESSAGES/using.po b/docs/locale/en/LC_MESSAGES/using.po index 39f777ff..00893c80 100644 --- a/docs/locale/en/LC_MESSAGES/using.po +++ b/docs/locale/en/LC_MESSAGES/using.po @@ -9,20 +9,20 @@ msgid "" msgstr "" "Project-Id-Version: docker-stacks latest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-24 20:17+0000\n" +"POT-Creation-Date: 2020-11-17 19:06+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.8.0\n" +"Generated-By: Babel 2.9.0\n" -#: ../../using/common.md:1 bf01362533a044c9972c5a2ac0c9d54d +#: ../../using/common.md:1 75be93b8760847de897c87bf38cb6b50 msgid "# Common Features" msgstr "" -#: ../../using/common.md:3 1f8b6d9c4e174d1ea92285f9c34b6870 +#: ../../using/common.md:3 5925c2c3f30a4f73ae4f3c8d2b83685e 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 f0f19eee4aa84a788f4aa7d8fc17a35e +#: ../../using/common.md:5 1729f2b0cc6f40e5ac7e18625dfea690 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 3309e9669c564fb19e7955a5548a1648 +#: ../../using/common.md:7 4ba01c4de3204e9a9cd1ef0bb3d2aff6 msgid "## Notebook Options" msgstr "" -#: ../../using/common.md:9 f157a30b23fa45bfa8bdd92f81d18233 +#: ../../using/common.md:9 40efeebf57da448fae49474929fc941b 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 4f5ea4c9df30481da29b735ffb43ce4a +#: ../../using/common.md:11 a7675c5ef4d2438eb631a2064e5fa37f msgid "" "```bash docker run -d -p 8888:8888 jupyter/base-notebook start-" "notebook.sh " @@ -61,30 +61,30 @@ msgid "" msgstr "" # 4c08f057def247cbbfc8231e628cb792 -#: ../../using/common.md:15 11822a14e522483a839be9645fb90a26 +#: ../../using/common.md:15 e638160c0e83441aa398023f9c3484e9 msgid "" "For example, to set the base URL of the notebook server, you can run the " "following:" msgstr "" -#: ../../using/common.md:17 77c8886f5f894b5fafa51eb367f7801b +#: ../../using/common.md:17 d62f5dc87f354f0c87730c0644289c11 msgid "" "```bash docker run -d -p 8888:8888 jupyter/base-notebook start-" "notebook.sh --NotebookApp.base_url=/some/path ```" msgstr "" -#: ../../using/common.md:21 b2258d7cff74446baa0f23d7aa6a3157 +#: ../../using/common.md:21 31b5538ccd4642f4ade49927a05d36ee msgid "## Docker Options" msgstr "" -#: ../../using/common.md:23 98785bce098e4c20b88a82b57a415f9e +#: ../../using/common.md:23 77764512892a45bca47b03dec1abe097 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 0aa0fd1ac31d42c1a5248051d38152fc +#: ../../using/common.md:26 0d859ec0686c4cb7b8f854399080ba5c msgid "" "`-e NB_USER=jovyan` - Instructs the startup script to change the default " "container username from `jovyan` to the provided value. Causes the script" @@ -95,7 +95,7 @@ msgid "" "volumes with specific home folder." msgstr "" -#: ../../using/common.md:27 2ca41e8a50674d41a045de62e224e4d2 +#: ../../using/common.md:27 a2e416dfda194b5e895d16f4ded7c76e 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 " @@ -106,7 +106,7 @@ msgid "" "See the last bullet below for details." msgstr "" -#: ../../using/common.md:28 0f4651caff624ec4befec96cf75004d5 +#: ../../using/common.md:28 01116b854944426d838c39d530b05a31 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 " @@ -122,14 +122,14 @@ msgid "" " if you want them to be able to modify files in the image." msgstr "" -#: ../../using/common.md:29 44d44818914545cab2fb4bd63eed6890 +#: ../../using/common.md:29 15e78ea9844443f9a64835caf9cb2a05 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 ca9c7bc3cb56437caef14a05020db103 +#: ../../using/common.md:30 d5b93839ea2d4cf7bfc4b1b25aeeb28b 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 " @@ -143,7 +143,7 @@ msgid "" "you need to set a umask for these you must set `umask` for each command." msgstr "" -#: ../../using/common.md:31 a49ccd91f89d481a9d07bc7af6571a35 +#: ../../using/common.md:31 2999a6eb569e40e681d8dfcabce87e26 msgid "" "`-e CHOWN_HOME=yes` - Instructs the startup script to change the " "`$NB_USER` home directory owner and group to the current value of " @@ -154,7 +154,7 @@ msgid "" "CHOWN_HOME_OPTS='-R'`)." msgstr "" -#: ../../using/common.md:32 65fb94afbe2b43dabe32ed61d5698686 +#: ../../using/common.md:32 fced71975c1e46fc9f9cdbe58d11ce74 msgid "" "`-e CHOWN_EXTRA=\",\"` - Instructs the startup " "script to change the owner and group of each comma-separated container " @@ -164,7 +164,7 @@ msgid "" "CHOWN_EXTRA_OPTS='-R'`)." msgstr "" -#: ../../using/common.md:33 ceb9cb2148e846a99f630f046d5f80d1 +#: ../../using/common.md:33 4b41d2faf3db429ea2165c0fe88c9646 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 " @@ -177,14 +177,14 @@ msgid "" "you trust the user or if the container is running on an isolated host.**" msgstr "" -#: ../../using/common.md:34 359481822cc9412db41080236e57bb9f +#: ../../using/common.md:34 513f5cc28ef1403cb2ad5e689778d894 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 4208a667ae604e4b89cc7852d10f7b11 +#: ../../using/common.md:35 1e24f99f4a5a43eabe98859bbf7de786 msgid "" "`-e JUPYTER_ENABLE_LAB=yes` - Instructs the startup script to run " "`jupyter lab` instead of the default `jupyter notebook` command. Useful " @@ -192,14 +192,14 @@ msgid "" "variables is easier than change command line parameters." msgstr "" -#: ../../using/common.md:36 0ed80b7c7bc945d881cc1455cfe0ddbc +#: ../../using/common.md:36 b65c89e12618446bb0bbb32ceee7fc0b 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 3abd84e3b27448a8b8ec4e406bd93230 +#: ../../using/common.md:37 a454c8b7fdc949538300e7b316d9a829 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 " @@ -209,7 +209,7 @@ msgid "" "/some/host/folder/for/work`).**" msgstr "" -#: ../../using/common.md:38 25a0147a54ad4c2da8403dcaea355f96 +#: ../../using/common.md:38 23ede2156ced4fc3adb32820ce16d97c 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 " @@ -217,42 +217,42 @@ msgid "" "arguments as alternatives to setting `$NB_UID` and `$NB_GID`." msgstr "" -#: ../../using/common.md:40 8bb56fe7fdc6478b994b81dee624287e +#: ../../using/common.md:40 e8bdac50efef4d89abc4a3e090f68847 msgid "## Startup Hooks" msgstr "" -#: ../../using/common.md:42 7e521253514b406a9278074aaf99a0f6 +#: ../../using/common.md:42 38b64051c7764f1dafd537f3f28e69cb 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 3e99d2d14a074e2290e64234eb032ca7 +#: ../../using/common.md:45 fd59b47cb0bb463086b0edeaa13ee1b5 msgid "" "`/usr/local/bin/start-notebook.d/` - handled before any of the standard " "options noted above are applied" msgstr "" -#: ../../using/common.md:47 cc6a8c7bc1694568ac7df145ecfb5e32 +#: ../../using/common.md:47 67897d0764e14dc38cca25ed2951cb7a 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 256003ef440e4ac494d8711f737703ac +#: ../../using/common.md:50 175c10e517ad4f8ea73c7b2411e10d67 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 f64f4b4cb8ce45a7937669bf461e6b78 +#: ../../using/common.md:53 ae02340b79854635a7d5e93725dd29ad msgid "## SSL Certificates" msgstr "" -#: ../../using/common.md:55 911dbcac8dcb473b9c59d15b199852b9 +#: ../../using/common.md:55 f36677241f344103bd5e1bcf454b8e33 msgid "" "You may mount SSL key and certificate files into a container and " "configure Jupyter Notebook to use them to accept HTTPS connections. For " @@ -261,11 +261,11 @@ msgid "" msgstr "" #: ../../using/common.md:57 ../../using/common.md:67 -#: 1c133016832445aab5c3c962b4807cbb 8cb20095200548f2aa2ad621e09e43d9 +#: d1368ae6b8e94ec68fdc57f3eba8a306 e06368cad0ea4cc8bedda2e102abee87 msgid "```bash docker run -d -p 8888:8888 \\" msgstr "" -#: ../../using/common.md:59 7e9ad2c5ac8d41bca272b73bb77074c1 +#: ../../using/common.md:59 bcc95c2a74ea4f1cbfaaed03c2d23102 msgid "" "-v /some/host/folder:/etc/ssl/notebook \\ jupyter/base-notebook start-" "notebook.sh \\ --NotebookApp.keyfile=/etc/ssl/notebook/notebook.key " @@ -276,22 +276,22 @@ msgstr "" #: ../../using/recipes.md:67 ../../using/recipes.md:286 #: ../../using/recipes.md:507 ../../using/running.md:34 #: ../../using/running.md:75 ../../using/running.md:97 -#: 17e7afbf936849d0bbd5c6161566b11f 26cb2d0e331a46829278d4be6549cf23 -#: 2a6bb824026b40638cc7e5eb6b1586a3 3332222ab6e3449c86ed64e7703ea517 -#: 387fb271fd7045a6bccc5b4f6786eed6 987034c0a02c4ab4afac5605ea33a695 -#: ba81e841c3c44dd2867f0563c82158a3 e76e54a8e6284a8181424f6ebf787450 -#: ec13b710c89545698477c3eefdd0dc1a +#: 27ecf5d7a4ea4c81877d6fbd09a64281 72e3ea5ef8414b90812bd4a0eb43ec9a +#: 77c2b287a97940e2b23fee7a43cba219 7ed3e7bf262b4d4a86a998e260a7cb89 +#: 8959b7a649e34b1a9fbfd17c9bcc7a4f af52c5e870d141e1b7b793d2a69ca7a1 +#: d60cdcdeae0547f4a5f333f918cff528 dffa2c7bcb6041a2b509410af8fc5f84 +#: e58c52ad78a44d7b8dce8d13b4c33cef msgid "```" msgstr "" # e496d62ce1b7489eabf40a55471247b4 -#: ../../using/common.md:65 7b8e1fa0bf474cf092d5da83c78254f4 +#: ../../using/common.md:65 493ba919d6ce40548c8033e28f1368c8 msgid "" "Alternatively, you may mount a single PEM file containing both the key " "and certificate. For example:" msgstr "" -#: ../../using/common.md:69 83773d771fd746ec94e3ad9830364a54 +#: ../../using/common.md:69 f4860921196b40d28bae5b98ba3c3da2 msgid "" "-v /some/host/folder/notebook.pem:/etc/ssl/notebook.pem \\ jupyter/base-" "notebook start-notebook.sh \\ " @@ -299,7 +299,7 @@ msgid "" msgstr "" # 6ada67b7d1a34f59ad235d7e49e6a298 -#: ../../using/common.md:74 c64757f8ce6c4f72b240b4c066c3b285 +#: ../../using/common.md:74 b724991dc0484630a70f61fb4c297f30 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 " @@ -307,11 +307,11 @@ msgid "" msgstr "" # c908965cf0084fc2b276b50b47b87d18 -#: ../../using/common.md:76 7bbf5107c169414e80272ba6ea8d0dd4 +#: ../../using/common.md:76 d6d9f6de8f5b4506bdc303603fa17f24 msgid "For additional information about using SSL, see the following:" msgstr "" -#: ../../using/common.md:78 3e0b843fe3a7464e8ed968912a43761a +#: ../../using/common.md:78 d58d4ccd8f3a49f289d231a336d20936 msgid "" "The [docker-stacks/examples](https://github.com/jupyter/docker-" "stacks/tree/master/examples) for information about how to use [Let's " @@ -319,14 +319,14 @@ msgid "" " on a publicly visible domain." msgstr "" -#: ../../using/common.md:79 42c1297901364dee81251fda725ad8d6 +#: ../../using/common.md:79 91a3a0f34ab844c7aa73e72407db0912 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 0dcd5f9257dc4cc4a6efd16921f01d40 +#: ../../using/common.md:80 8f957568940942e0857b352c02c2aa0e msgid "" "The [Jupyter Notebook documentation](https://jupyter-" "notebook.readthedocs.io/en/latest/public_server.html#securing-a-notebook-" @@ -334,15 +334,15 @@ msgid "" "general." msgstr "" -#: ../../using/common.md:82 1cd3373b6e8a44b394326012c3906ad9 +#: ../../using/common.md:82 d71935bd2db34a4e94bd21d4d3abf81f msgid "## Alternative Commands" msgstr "" -#: ../../using/common.md:84 de11b353bcb449acb2feef9819ecccb1 +#: ../../using/common.md:84 83f4b87c408b4d10b02e4f1d52f2c9c2 msgid "### start.sh" msgstr "" -#: ../../using/common.md:86 e084653dfe814432a76a6ad2a41975cd +#: ../../using/common.md:86 f1098e5bbf22411296dce9ad734af851 msgid "" "The `start-notebook.sh` script actually inherits most of its option " "handling capability from a more generic `start.sh` script. The `start.sh`" @@ -351,44 +351,44 @@ msgid "" "based `ipython` console in a container, do the following:" msgstr "" -#: ../../using/common.md:88 2c39b252925b482a9bcfccbb20a0de2a +#: ../../using/common.md:88 e4bf70e3acae4dcda3f93b9406c69f6f msgid "```bash docker run -it --rm jupyter/base-notebook start.sh ipython ```" msgstr "" # ad0be3e8095e4394afb367e9e56e1ca5 -#: ../../using/common.md:92 f2e83ce13a04424e8c739e150cf830d4 +#: ../../using/common.md:92 9e9f47f21ea44c25a9b9528936267b5d msgid "Or, to run JupyterLab instead of the classic notebook, run the following:" msgstr "" -#: ../../using/common.md:94 d5076bfd5cbd4dcdbcf77e31ef100bf8 +#: ../../using/common.md:94 c50db2bc04a84b5496b15d9f32b426c5 msgid "" "```bash docker run -it --rm -p 8888:8888 jupyter/base-notebook start.sh " "jupyter lab ```" msgstr "" -#: ../../using/common.md:98 bfbf3816a5044efbb55ce25d57d03f70 +#: ../../using/common.md:98 dcbc0298ed8d41bf89bfbf583801b62c 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 c51cbf94e3f942efa1ce927f4e733ce2 +#: ../../using/common.md:100 245c72cc04234c5086907c75cbc0f3d5 msgid "### Others" msgstr "" -#: ../../using/common.md:102 0e4fa748504c4487b62761dec6c846d8 +#: ../../using/common.md:102 e715c46f51fd44dab676752bbabd9241 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 9128f5439418416d88277f93d77dbac1 +#: ../../using/common.md:104 a9c620b14fc144b99f11f685e65bb0f6 msgid "## Conda Environments" msgstr "" -#: ../../using/common.md:106 37ce058e585f46f4bd9f3d94eeea15ae +#: ../../using/common.md:106 67772819ddbe4765b80b1ef971b9af2b msgid "" "The default Python 3.x [Conda " "environment](http://conda.pydata.org/docs/using/envs.html) resides in " @@ -397,24 +397,24 @@ msgid "" "`sudo` commands by the `start.sh` script." msgstr "" -#: ../../using/common.md:108 0454b010c6a54f3b8690dd80e91e7823 +#: ../../using/common.md:108 1616f80f287143738a9d469c0ec0c6fc 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 90b8749c3ae44f5c96e8d94adeac742e +#: ../../using/common.md:110 0a07a21584cf4adb885177218d53af9b msgid "" "```bash # install a package into the default (python 3.x) environment pip" " install some-package conda install some-package ```" msgstr "" -#: ../../using/recipes.md:1 003d2f5b43b14073b0761b1d9c8400af +#: ../../using/recipes.md:1 a05d0676ae2a4c32baa48ede330fe72e msgid "# Contributed Recipes" msgstr "" -#: ../../using/recipes.md:3 f39c135beeee4b9b89529e5ca2e5b205 +#: ../../using/recipes.md:3 3220abdbb0d04222a5fde5f279cf9464 msgid "" "Users sometimes share interesting ways of using the Jupyter Docker " "Stacks. We encourage users to [contribute these " @@ -424,11 +424,11 @@ msgid "" "knowledge." msgstr "" -#: ../../using/recipes.md:8 f127fa463c514bf79f432dd94a7ff8ed +#: ../../using/recipes.md:8 31227b651dcf45659f4fc9c5d712d29f msgid "## Using `sudo` within a container" msgstr "" -#: ../../using/recipes.md:10 0c99b3fa3b324deb886c9e78f2e07f31 +#: ../../using/recipes.md:10 0ab884db4ba44ff2a6653c151fb9e16a msgid "" "Password authentication is disabled for the `NB_USER` (e.g., `jovyan`). " "This choice was made to avoid distributing images with a weak default " @@ -436,7 +436,7 @@ msgid "" "container on a publicly accessible host." msgstr "" -#: ../../using/recipes.md:14 3e5190d0dcce449a9542200640c1f08e +#: ../../using/recipes.md:14 1b0be11dfac34b41ac5f2bff5da750cd 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 " @@ -444,17 +444,17 @@ msgid "" msgstr "" # f75300183d66418d958651b713e3c81e -#: ../../using/recipes.md:18 e5d00f3bdd214c92b7fe6575d4303285 +#: ../../using/recipes.md:18 efc0dd7bbf70458b869a069384814d90 msgid "For example:" msgstr "" -#: ../../using/recipes.md:20 474272678eee41498833f672dfc58221 +#: ../../using/recipes.md:20 cc2e1688421b42588112af3bbf5891fe msgid "" "```bash docker run -it -e GRANT_SUDO=yes --user root jupyter/minimal-" "notebook ```" msgstr "" -#: ../../using/recipes.md:24 eac978dd04414d2c89dd18e7b07c10d7 +#: ../../using/recipes.md:24 0335076a8ce64a77880aa643708f2df8 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 " @@ -462,16 +462,16 @@ msgid "" " more information about running containers as `root`." msgstr "" -#: ../../using/recipes.md:27 2af5125ffb6640c9a5d835ab27b467a7 +#: ../../using/recipes.md:27 e2f970e8a22241c1817878bbaeb1de33 msgid "## Using `pip install` or `conda install` in a Child Docker image" msgstr "" # cfb1a65ed1a4453e8b3355f1c0c23b1c -#: ../../using/recipes.md:29 3e21fc9259284fbe800200bb5c749a8f +#: ../../using/recipes.md:29 182ac41a4eeb40ceb458dfb18623fbfa msgid "Create a new Dockerfile like the one shown below." msgstr "" -#: ../../using/recipes.md:31 54884ef1a4764ea1aa58a34695a9b735 +#: ../../using/recipes.md:31 d2cba50b69414465aae12599527f88f1 msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install in the default python3 environment RUN " @@ -479,22 +479,22 @@ msgid "" msgstr "" # 3ab615dc6fb6425d954cae4ce14f08b9 -#: ../../using/recipes.md:38 8f50c0e969b249759cfd85d30c0eeeb3 +#: ../../using/recipes.md:38 fb91a57fc218498a95399a9c09abb92e msgid "Then build a new image." msgstr "" -#: ../../using/recipes.md:40 8ef5636c2add4adf9c549dbd2d520bf8 +#: ../../using/recipes.md:40 2d76ff3d732a481e95a8aa9b83f8e295 msgid "```bash docker build --rm -t jupyter/my-datascience-notebook . ```" msgstr "" -#: ../../using/recipes.md:44 590cc9c5bcbf4c1b8ff276897e399a51 +#: ../../using/recipes.md:44 bc837ca1913440f49c2e79c19173fb75 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 899d66c5d80f4614984cd11932ad509d +#: ../../using/recipes.md:47 9d7ccf9a0d61420498f735d2fc3fbfdf msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install from requirements.txt file COPY " @@ -503,17 +503,17 @@ msgid "" msgstr "" #: ../../using/recipes.md:53 ../../using/recipes.md:65 -#: ../../using/recipes.md:129 53ca0c5bbf824f2ca307953d3e4dcbac -#: 601d0633607c46f08723e115de7e1f05 e481bf29fc0b4e58af3d0cfa12e51042 +#: ../../using/recipes.md:129 12ccf20064bd4323af0e274806bf3e6f +#: 6f284905d74b4ae0bc045b9878c8bed9 b5d115414a8a41c1a99674f981ecfca5 msgid "fix-permissions $CONDA_DIR && \\ fix-permissions /home/$NB_USER" msgstr "" # f2f035925d764425b9999b19d36c1d30 -#: ../../using/recipes.md:57 81c469dd978443068b7f1f5054e49e21 +#: ../../using/recipes.md:57 5ff3314969d8457baeb5ae023ba0eecc msgid "For conda, the Dockerfile is similar:" msgstr "" -#: ../../using/recipes.md:59 db8f537f221b44d4acb6baa163033345 +#: ../../using/recipes.md:59 5bf5e45362a24f7697d48b63b083e5e0 msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install from requirements.txt file COPY " @@ -521,7 +521,7 @@ msgid "" "--yes --file /tmp/requirements.txt && \\" msgstr "" -#: ../../using/recipes.md:69 a4a4a21df6244afbbaac2a6d9621e3c2 +#: ../../using/recipes.md:69 8ea03029e62d41ed820a646f877ba9d8 msgid "" "Ref: [docker-" "stacks/commit/79169618d571506304934a7b29039085e77db78c](https://github.com/jupyter" @@ -529,24 +529,24 @@ msgid "" "stacks/commit/79169618d571506304934a7b29039085e77db78c#commitcomment-15960081)" msgstr "" -#: ../../using/recipes.md:72 8b23be0398b34e9e86220ae7322a8261 +#: ../../using/recipes.md:72 ddc0fa748c2e45e58f28027f47edc4f0 msgid "## Add a Python 2.x environment" msgstr "" -#: ../../using/recipes.md:74 cb307ade06c24182be2d42ca9bdd8da5 +#: ../../using/recipes.md:74 d2d6c3bb166e4f978baec654a7c319e4 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 061b0c209d0649269f13f907f5b608cf +#: ../../using/recipes.md:78 d1417320f77648a098ee24faca28fe81 msgid "" "```dockerfile # Choose your desired base image FROM jupyter/scipy-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:82 dd75d1c04f734841966bbcf70a28722f +#: ../../using/recipes.md:82 95dec3727fdf4e7db2cb2c3da9dbbc6a msgid "" "# Create a Python 2.x environment using conda including at least the " "ipython kernel # and the kernda utility. Add any additional packages you " @@ -556,17 +556,17 @@ msgid "" msgstr "" #: ../../using/recipes.md:86 ../../using/recipes.md:116 -#: 7563874c720c4385b96b26fe8b2118ca efedfb82253c40359613481f955f079e +#: b45d266f454e4925b8f41bd6b3c50410 cb7f5fb501c24d0d86962ba205b6d557 msgid "conda clean --all -f -y" msgstr "" #: ../../using/recipes.md:88 ../../using/recipes.md:253 -#: ../../using/recipes.md:520 3de3ecb1868d4c3db2ae5d4e49232d26 -#: abfbf3b4fe7147e39bdb341efbed349a bebb0866a72045ffa6961647d91401ee +#: ../../using/recipes.md:520 05a67bf731a04b0fbf04cef6c02dd898 +#: 4ef07746f41045f49ffb4a25a76dbc4a 9e5f7be5ac0c400789f12be2768184af msgid "USER root" msgstr "" -#: ../../using/recipes.md:90 2a6c4351fc334455a920b142f90035cf +#: ../../using/recipes.md:90 a40355a9ad6647cc9d736b69c58c6f65 msgid "" "# Create a global kernelspec in the image and modify it so that it " "properly activates # the python2 conda environment. RUN " @@ -575,21 +575,21 @@ msgid "" "/usr/local/share/jupyter/kernels/python2/kernel.json" msgstr "" -#: ../../using/recipes.md:95 a5e2db15524f4e53881078a33fc4ece8 +#: ../../using/recipes.md:95 14665764f8994882b666cb000b598e9a msgid "USER $NB_USER ```" msgstr "" -#: ../../using/recipes.md:98 8653bf01a4944ed2a58827f2a83f7634 +#: ../../using/recipes.md:98 1a01a54f0d84464083cbc3c1588b6ecc msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/440](https://github.com/jupyter/docker-stacks/issues/440)" msgstr "" -#: ../../using/recipes.md:101 7f7f22f79be54822af6c585fe012736c +#: ../../using/recipes.md:101 c634453e97744b18a384f155aac8032e msgid "## Add a Python 3.x environment" msgstr "" -#: ../../using/recipes.md:103 14f78cd8244f4169b8d06463869bc336 +#: ../../using/recipes.md:103 6438f7a76b0240a6b66b1b2400cb9dd0 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 " @@ -597,19 +597,19 @@ msgid "" "Python 2.x but are slightly simpler (no need to switch to `root`):" msgstr "" -#: ../../using/recipes.md:106 775096b64fe2437f89783fbb0ad4d54e +#: ../../using/recipes.md:106 2020707aecc94028b2f2dee8a6a56702 msgid "" "```dockerfile # Choose your desired base image FROM jupyter/minimal-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:110 13e48d12d39b475f93e71d141adb4b69 +#: ../../using/recipes.md:110 b01453165f464838af038598b9945b2d msgid "" "# name your environment and choose python 3.x version ARG " "conda_env=python36 ARG py_ver=3.6" msgstr "" -#: ../../using/recipes.md:114 b8a0e7b5d2284f3abaf4e9d8f7868195 +#: ../../using/recipes.md:114 4b3f713d9cca4dacad3085a74a2b4db7 msgid "" "# you can add additional libraries you want conda to install by listing " "them below the first line and ending with \"&& \\\" RUN conda create " @@ -617,14 +617,14 @@ msgid "" "ipykernel && \\" msgstr "" -#: ../../using/recipes.md:118 ed0d0af1f802447fa879b6c689eed661 +#: ../../using/recipes.md:118 7fa60de7f1214ca59340c6a47d72f9aa 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 4042b534decb4ab0b3ade9a2825979a8 +#: ../../using/recipes.md:121 b9d4067cdfaf49fe89476d845aa75f0d msgid "" "# COPY --chown=${NB_UID}:${NB_GID} environment.yml /home/$NB_USER/tmp/ # " "RUN cd /home/$NB_USER/tmp/ && \\ # conda env create -p " @@ -632,53 +632,53 @@ msgid "" "--all -f -y" msgstr "" -#: ../../using/recipes.md:127 610d2f55f8f04cfbaf024f1a5edfd222 +#: ../../using/recipes.md:127 37fbd7395fbb4d85bfb0b16fbb3b97bd 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 22a5418647b7452a8723f90d09143ce9 +#: ../../using/recipes.md:132 e1493751d01d49148d280c16a990deb6 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 01e602cb4a404d22b9e79d918e46fd87 +#: ../../using/recipes.md:135 cffdf3e4cde44ef5a5e5dfb45f05841c msgid "" "# prepend conda environment to path ENV PATH " "$CONDA_DIR/envs/${conda_env}/bin:$PATH" msgstr "" -#: ../../using/recipes.md:138 428c64cd8cd045069681f70d44e808d0 +#: ../../using/recipes.md:138 458b07068e264c4bbb174c53ddbf5f8d 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 2eb945ed010446478e43ffdd2f2ee69f +#: ../../using/recipes.md:142 fe31d3433bd345d1a06fde09d7045156 msgid "## Run JupyterLab" msgstr "" -#: ../../using/recipes.md:144 e4b5438097d841f5a04ef44a0d9e037a +#: ../../using/recipes.md:144 9ded97601b074daabf24eeefbdd17182 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 04a6b65a8c844a11bf0fe5355fcaa1ec +#: ../../using/recipes.md:147 9de59693d43c4789a09940af77df9af2 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 0f4b05e056884f9eb4df7aac1eb5b0a9 +#: ../../using/recipes.md:150 3f9e09a4dea946bbae1848bc730f5cb9 msgid "## Dask JupyterLab Extension" msgstr "" -#: ../../using/recipes.md:152 4380ed89c64642f5b509629067ab9647 +#: ../../using/recipes.md:152 8c428448aba2487b82c74d03ec3e0eac msgid "" "[Dask JupyterLab Extension](https://github.com/dask/dask-labextension) " "provides a JupyterLab extension to manage Dask clusters, as well as embed" @@ -686,51 +686,51 @@ msgid "" "Dockerfile as:" msgstr "" -#: ../../using/recipes.md:154 bcfbd95c491c4064a311f21effd7d085 +#: ../../using/recipes.md:154 aef88f6565244abab2a847f45fcc2638 msgid "" "```dockerfile # Start from a core stack version FROM jupyter/scipy-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:158 7afcf35db3bd471e93758b8ea7c5294a +#: ../../using/recipes.md:158 e5cb82f86f7c4689b6447f47eae4f38c msgid "# Install the Dask dashboard RUN pip install dask_labextension ; \\" msgstr "" -#: ../../using/recipes.md:160 5514219437b44068ab0b70c5ae86f382 +#: ../../using/recipes.md:160 09e74689dfdc4a3bb5a94298fa863013 msgid "jupyter labextension install -y --clean \\ dask-labextension" msgstr "" -#: ../../using/recipes.md:163 dabc7f9ba806434a8de3a9cee276822f +#: ../../using/recipes.md:163 8b05cd95136c442f80198e5d6dc820ff msgid "# Dask Scheduler & Bokeh ports EXPOSE 8787 EXPOSE 8786" msgstr "" -#: ../../using/recipes.md:167 15d8289634d44142b3b6b485fc6c2899 +#: ../../using/recipes.md:167 a8122eafc5fa4f3f9343cabb99bc5192 msgid "ENTRYPOINT [\"jupyter\", \"lab\", \"--ip=0.0.0.0\", \"--allow-root\"] ```" msgstr "" -#: ../../using/recipes.md:170 99695f9c979b405281b92eb957b08f87 +#: ../../using/recipes.md:170 59900c70ab264d45a1e5d2c32c10b93a msgid "" "And build the image as: ```bash docker build -t jupyter/scipy-" "dasklabextension:latest . ```" msgstr "" -#: ../../using/recipes.md:175 b288a839b4b446dda59d48f36c0bfd26 +#: ../../using/recipes.md:175 53b38469258648049401501fdfdf6638 msgid "" "Once built, run using the command: ```bash docker run -it --rm -p " "8888:8888 -p 8787:8787 jupyter/scipy-dasklabextension:latest ```" msgstr "" -#: ../../using/recipes.md:180 48bf207f30f74afd8ffd0026d4554f04 +#: ../../using/recipes.md:180 4e28820ec44746e68a313553c7318067 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/999](https://github.com/jupyter/docker-stacks/issues/999)" msgstr "" -#: ../../using/recipes.md:183 5dab0cbdcdf2424491cfdd4c6fa19cf1 +#: ../../using/recipes.md:183 70320b044f3e41c49f22993974f2dbef msgid "## Let's Encrypt a Notebook server" msgstr "" -#: ../../using/recipes.md:185 0b0547ae808642be86ca2cfbb669f145 +#: ../../using/recipes.md:185 e0951d6a320d444289be8244ea99161f msgid "" "See the README for the simple automation here [https://github.com/jupyter" "/docker-stacks/tree/master/examples/make-" @@ -739,67 +739,67 @@ msgid "" "Encrypt certificate." msgstr "" -#: ../../using/recipes.md:189 542d9528af1b4361a10ca11452ff216c +#: ../../using/recipes.md:189 b42e04751e3e4b10aa6513813961e411 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/78](https://github.com/jupyter/docker-stacks/issues/78)" msgstr "" -#: ../../using/recipes.md:192 d68abf37cfdc4b5e843f9c63a33ba347 +#: ../../using/recipes.md:192 2278136ddc3447dda166456436b2fdd8 msgid "## Slideshows with Jupyter and RISE" msgstr "" -#: ../../using/recipes.md:194 69185316ac5343279a53bc7d27fbb4f9 +#: ../../using/recipes.md:194 e77d01a61bca44bdad43c839e373609c 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 c4ee6d8da2244c9c9b36b3f8ec30762e +#: ../../using/recipes.md:197 aee2771bb74e4c7c9949cf9bf22ce2dc msgid "" "```bash # Add Live slideshows with RISE RUN conda install -c " "damianavila82 rise ```" msgstr "" -#: ../../using/recipes.md:202 a551cb29f5404af99d423aa7a0053093 +#: ../../using/recipes.md:202 37e44f44022942a98bf3cfcbcf4283c0 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 f04841a9b6254287abcfb7ba80631545 +#: ../../using/recipes.md:205 6f78852378004b23971ac9e4aa5260da msgid "## xgboost" msgstr "" # ce204678c3af4aa9a0fb55bb6de7554b -#: ../../using/recipes.md:207 914b8872754845b092af00a5545ef117 +#: ../../using/recipes.md:207 e94feb05d6d9437593cdbb5558a77335 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 bb8ac2d5a5f04f5a8488f80366f91ba9 +#: ../../using/recipes.md:210 4f7baff92ebf4ba38cf5938e7ca87580 #, python-format msgid "```bash %%bash conda install -y gcc pip install xgboost" msgstr "" -#: ../../using/recipes.md:215 56c09639bec24d2e9f258143412c8129 +#: ../../using/recipes.md:215 94978f2c4ae84fd79fa5413950669335 msgid "import xgboost ```" msgstr "" -#: ../../using/recipes.md:218 70bdca3b24a24fbc88dd6d9cab141bca +#: ../../using/recipes.md:218 525bcb234e964ee4bc11f0ef0ca36774 msgid "## Running behind a nginx proxy" msgstr "" # ca7763a5a35a47bd9fb29ae9d00feab3 -#: ../../using/recipes.md:220 d48c71a1224b474a9da96170f0dd0ad4 +#: ../../using/recipes.md:220 21a3d51d0b584d4d851cff63d780ff02 msgid "" "Sometimes it is useful to run the Jupyter instance behind a nginx proxy, " "for instance:" msgstr "" -#: ../../using/recipes.md:222 8327980c939a4cfaa858edc1726cb9b1 +#: ../../using/recipes.md:222 9331592155904c9a83e9519a618ae989 msgid "" "you would prefer to access the notebook at a server URL with a path " "(`https://example.com/jupyter`) rather than a port " @@ -807,14 +807,14 @@ msgid "" msgstr "" # a5129fb6e2b042f5b8161ed5318123f9 -#: ../../using/recipes.md:224 2b5adeb8ddf441f6abb4dc30109cb51b +#: ../../using/recipes.md:224 b405ee65e5dd43af9e25df779f94f37c 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 43c22c786e084ba6935b65b6ebbe7dc4 +#: ../../using/recipes.md:227 7b6f1063cdb64329b810583456f7ea67 msgid "" "Here is a [quick example NGINX " "configuration](https://gist.github.com/cboettig/8643341bd3c93b62b5c2) to " @@ -825,11 +825,11 @@ msgid "" "services." msgstr "" -#: ../../using/recipes.md:232 2af0de502b0445a1a1585deead0b60b2 +#: ../../using/recipes.md:232 d464f3b64a0e4bf89b6978358240eb56 msgid "## Host volume mounts and notebook errors" msgstr "" -#: ../../using/recipes.md:234 f8b633c4edbf482aae77b6a409c59882 +#: ../../using/recipes.md:234 4afc6e01753b435ebda94a4b1eb6808d 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" @@ -840,48 +840,48 @@ msgid "" "section](../using/common.html#Docker-Options)" msgstr "" -#: ../../using/recipes.md:240 d6192e992c0149c292bc18d77fe42bdb +#: ../../using/recipes.md:240 6f18cbaa42d549fd858164a98f4443f3 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/199](https://github.com/jupyter/docker-stacks/issues/199)" msgstr "" -#: ../../using/recipes.md:243 0ad9b84c56104ae1984a7e83f1a03679 +#: ../../using/recipes.md:243 c37f703a0adb45499e9d680fdadbe134 msgid "## Manpage installation" msgstr "" # 7fc6566074ee4ba3a4e579437d7f151d -#: ../../using/recipes.md:245 fbe70edb1f1846f195b4170e07ab74b4 +#: ../../using/recipes.md:245 a57bc2c7524940f19eaa8ecb074b776b 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 d044375185314656834e990ac38fc3af +#: ../../using/recipes.md:248 805ff2ff9fc24007af8b60493e3f6975 msgid "" "```dockerfile # Choose your desired base image ARG BASE_CONTAINER=jupyter" "/datascience-notebook:latest FROM $BASE_CONTAINER" msgstr "" -#: ../../using/recipes.md:255 7da1c4683550420581ed110b9ce89e7f +#: ../../using/recipes.md:255 cba1e4e8fc8f4b32aa622748b104b1f9 msgid "" "# Remove the manpage blacklist, install man, install docs RUN rm " "/etc/dpkg/dpkg.cfg.d/excludes \\" msgstr "" -#: ../../using/recipes.md:257 0a6efa64e60244608add3c0d211ed168 +#: ../../using/recipes.md:257 ab5a99f46de54bddba306de524442e84 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 8813c2f8e580407da310d3d79f79b8fa +#: ../../using/recipes.md:262 410c656c04884bf1bd86538e0a879373 msgid "USER $NB_UID ```" msgstr "" -#: ../../using/recipes.md:265 49fd14afab474958a5e1036941588407 +#: ../../using/recipes.md:265 3dc94e02d7e849579117b3d8d3f4f2a1 msgid "" "Adding the documentation on top of an existing singleuser image wastes a " "lot of space and requires reinstalling every system package, which can " @@ -892,7 +892,7 @@ msgid "" "container:" msgstr "" -#: ../../using/recipes.md:271 b155a97a89bf499aabdb06f0320cc87f +#: ../../using/recipes.md:271 5778a26a60634c6e910749f9605d2b65 msgid "" "```dockerfile # Ubuntu 20.04 (focal) from 2020-04-23 # https://github.com" "/docker-library/official-" @@ -901,7 +901,7 @@ msgid "" " ```" msgstr "" -#: ../../using/recipes.md:277 d14286c619fb4ac59f9736e67d5cd62d +#: ../../using/recipes.md:277 a3c399a8b6414f7496fbcf1078ce6be6 msgid "" "For Ubuntu 18.04 (bionic) and earlier, you may also require to workaround" " for a mandb bug, which was fixed in mandb >= 2.8.6.1: ```dockerfile # " @@ -910,61 +910,61 @@ msgid "" "http://launchpadlibrarian.net/435841763/man-db_2.8.5-2_2.8.6-1.diff.gz" msgstr "" -#: ../../using/recipes.md:284 6c8bc2ea5ccb4a4f84946db7f890123d +#: ../../using/recipes.md:284 5be47574abbe4b82beb4066eea07c369 msgid "" "RUN echo \"MANPATH_MAP ${CONDA_DIR}/bin ${CONDA_DIR}/man\" >> " "/etc/manpath.config \\" msgstr "" -#: ../../using/recipes.md:283 2872f0b9b7564c0b9802dd5c02488403 +#: ../../using/recipes.md:283 6dc2f30c5a384569bb9fb5b00bbfa9b3 msgid "" "&& echo \"MANPATH_MAP ${CONDA_DIR}/bin ${CONDA_DIR}/share/man\" >> " "/etc/manpath.config \\ && mandb" msgstr "" -#: ../../using/recipes.md:288 4b21ad7edccd4a5a9b71c6bf30092683 +#: ../../using/recipes.md:288 ee3bc84267f54f2892e4b00f321669df msgid "" "Be sure to check the current base image in `base-notebook` before " "building." msgstr "" -#: ../../using/recipes.md:290 092259c133b34be7b006b0ec318b4c00 +#: ../../using/recipes.md:290 49976d07b1994f179be3097f4c150fa4 msgid "## JupyterHub" msgstr "" # af0ca920391b419b805ae3809388fcf2 -#: ../../using/recipes.md:292 24ef3402e8f94c7391e377a87f2b9ad2 +#: ../../using/recipes.md:292 2ae612f5af70414ba18e6fb9a418cd62 msgid "We also have contributed recipes for using JupyterHub." msgstr "" -#: ../../using/recipes.md:294 b0024b39fade4ae0ab7ee1421d448e25 +#: ../../using/recipes.md:294 632ca5a65153438d9cadc45c41c9f031 msgid "### Use JupyterHub's dockerspawner" msgstr "" # 81e1dbb4c1c34f4c9e88630adff3d1e9 -#: ../../using/recipes.md:296 e6931bfac5134e1bbd5e0d807f65fe21 +#: ../../using/recipes.md:296 1c69d48525b842269ab30704bf921d22 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:299 6896fdfbd88a4e958161f3cf33fa00eb +#: ../../using/recipes.md:299 a4c092f3aa034667b4c5da46f7e50b29 msgid "install the jupyterhub-singleuser script (for the right Python)" msgstr "" # d9816cb5ae2041e2a5fde9cdfb91262f -#: ../../using/recipes.md:300 19ca9335b30e4caaa3a1673337f251bf +#: ../../using/recipes.md:300 c71c052f288e4e1fbb59924a555a68de msgid "change the command to launch the single-user server" msgstr "" -#: ../../using/recipes.md:302 deb58b4dabbb430a87b8a8c24bfda305 +#: ../../using/recipes.md:302 a78e1b063eb44840a516d47a5dc7c6d3 msgid "" "Swapping out the `FROM` line in the `jupyterhub/singleuser` Dockerfile " "should be enough for most cases." msgstr "" -#: ../../using/recipes.md:305 d5504420815448efb70dbc0d9d00cfd5 +#: ../../using/recipes.md:305 4e4d200dfaf546adb8450690e41d1166 msgid "" "Credit: [Justin Tyberg](https://github.com/jtyberg), " "[quanghoc](https://github.com/quanghoc), and [Min " @@ -974,99 +974,99 @@ msgid "" "stacks/pull/185)" msgstr "" -#: ../../using/recipes.md:310 97f7497172c84b75aa6275ee42ccf012 +#: ../../using/recipes.md:310 bdfc94d7e0cb4350b3503c9591b1f209 msgid "### Containers with a specific version of JupyterHub" msgstr "" -#: ../../using/recipes.md:312 1459eac4bdbe4607b96bd01c708bad38 +#: ../../using/recipes.md:312 8ae54ca09c244b8199640e80b0e50ae7 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:315 c71170062bca47418dc87d59c2205b2a +#: ../../using/recipes.md:315 cb7ed90ff59d4cc88ef7392ec5349d05 msgid "" "```dockerfile FROM jupyter/base-notebook:5ded1de07260 RUN pip install " "jupyterhub==0.8.0b1 ```" msgstr "" -#: ../../using/recipes.md:320 eefed71c4a2c4970842904e98e02bd4e +#: ../../using/recipes.md:320 0d41cdb5d1284be5868fdaf76a800a1d msgid "" "Credit: [MinRK](https://github.com/jupyter/docker-" "stacks/issues/423#issuecomment-322767742)" msgstr "" -#: ../../using/recipes.md:322 4dfbfd9c036f4ddb8caae0fdbbd4db79 +#: ../../using/recipes.md:322 d686b80412fa44bea4e970e415d474d0 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/177](https://github.com/jupyter/docker-stacks/issues/177)" msgstr "" -#: ../../using/recipes.md:325 8464f11bdff2400994e243a67e17431a +#: ../../using/recipes.md:325 4d3004495c7c4f3e9d83ab41fb318663 msgid "## Spark" msgstr "" # 975c96d6a0b843dfabd889c753671c93 -#: ../../using/recipes.md:327 102ede43e00f42c885de6500a8669993 +#: ../../using/recipes.md:327 5fe20183909042748f46fca8d32949e7 msgid "A few suggestions have been made regarding using Docker Stacks with spark." msgstr "" -#: ../../using/recipes.md:329 6753bdb577c24a81b3f2c0c2cac37882 +#: ../../using/recipes.md:329 20ad3b5b75604fcdb7735f9903e52c13 msgid "### Using PySpark with AWS S3" msgstr "" # dc4059d42eaa495f8ebca84ebc91ac09 -#: ../../using/recipes.md:331 225643daa06440b590bc830fe83dbd3b +#: ../../using/recipes.md:331 1a962697b060497d9b32cd32c19ac460 msgid "Using Spark session for hadoop 2.7.3" msgstr "" -#: ../../using/recipes.md:333 8cea8731c85b49628678cb2ef279748b +#: ../../using/recipes.md:333 181e4a7c346641dd9c864209ecfbcbc2 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:338 1daa81d3da3248cabedb297bb154daaf +#: ../../using/recipes.md:338 56232fbf85fd45f19549f00f1aceae31 msgid "import pyspark myAccessKey = input() mySecretKey = input()" msgstr "" -#: ../../using/recipes.md:346 9061618363f646d0923a2a84d1b784dc +#: ../../using/recipes.md:346 ae57e557747541148b756736453df3f6 msgid "spark = pyspark.sql.SparkSession.builder \\" msgstr "" -#: ../../using/recipes.md:343 2af626c3a0264b1e8eb653cd360372af +#: ../../using/recipes.md:343 d7d1fc3ff21449efa91c81d8e79f9eb3 msgid "" ".master(\"local[*]\") \\ .config(\"spark.hadoop.fs.s3a.access.key\", " "myAccessKey) \\ .config(\"spark.hadoop.fs.s3a.secret.key\", mySecretKey) " "\\ .getOrCreate()" msgstr "" -#: ../../using/recipes.md:348 2641e97023664bac9942e533a6024dc3 +#: ../../using/recipes.md:348 b5bdef08eb1341a6bd07b28187558ac3 msgid "df = spark.read.parquet(\"s3://myBucket/myKey\") ```" msgstr "" # d2c12e3525bf4d9ca518fef02c4a79d3 -#: ../../using/recipes.md:351 37825a47279d4f709e6b258cab6aa2b7 +#: ../../using/recipes.md:351 75a5bfca30df41bd8081a5a443be2295 msgid "Using Spark context for hadoop 2.6.0" msgstr "" -#: ../../using/recipes.md:353 86684fa9b9e34905bd8ace3ce4b6e0e5 +#: ../../using/recipes.md:353 97bfa5f1dea64b3ab1b6bc6ed76bf827 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:357 9cbe027403e148288bb75f8790aeac4b +#: ../../using/recipes.md:357 d30b5072c05b4c8393b5f255ca747e30 msgid "import pyspark sc = pyspark.SparkContext(\"local[*]\")" msgstr "" -#: ../../using/recipes.md:360 16dbfcdaee4e4e68b6518a33b8a984c3 +#: ../../using/recipes.md:360 8890cca4f0f24496bfb33143f100bdb2 msgid "from pyspark.sql import SQLContext sqlContext = SQLContext(sc)" msgstr "" -#: ../../using/recipes.md:363 93a314faea1f45139d9b924a2ff58147 +#: ../../using/recipes.md:363 8bf3b93598f74e92b56ca24701247b1c msgid "" "hadoopConf = sc._jsc.hadoopConfiguration() myAccessKey = input() " "mySecretKey = input() hadoopConf.set(\"fs.s3.impl\", " @@ -1075,21 +1075,21 @@ msgid "" "hadoopConf.set(\"fs.s3.awsSecretAccessKey\", mySecretKey)" msgstr "" -#: ../../using/recipes.md:370 dfc242f1dfc44c32a44880a5cfc8c19d +#: ../../using/recipes.md:370 8359bd1a7be34852a9ff84c54e0986e8 msgid "df = sqlContext.read.parquet(\"s3://myBucket/myKey\") ```" msgstr "" -#: ../../using/recipes.md:373 a9f13e4eeb474d419c29955886ea07fd +#: ../../using/recipes.md:373 6640af8a0448400c93abb6092b20f3e4 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/127](https://github.com/jupyter/docker-stacks/issues/127)" msgstr "" -#: ../../using/recipes.md:376 b63c179cb3504a66a43a467e602cfbef +#: ../../using/recipes.md:376 8ff692460b6f4bdd8fdbcc2982d889fb msgid "### Using Local Spark JARs" msgstr "" -#: ../../using/recipes.md:378 be219ea535c14cc5984d4fdc871f65ee +#: ../../using/recipes.md:378 1853f0da01394bdf9d275242c2bb2711 msgid "" "```python import os os.environ['PYSPARK_SUBMIT_ARGS'] = '--jars " "/home/jovyan/spark-streaming-kafka-assembly_2.10-1.6.1.jar pyspark-shell'" @@ -1101,17 +1101,17 @@ msgid "" "ssc.start() ```" msgstr "" -#: ../../using/recipes.md:392 a6f5ec7dc1d74379b97791e4f0931d7a +#: ../../using/recipes.md:392 b846782c323e48dd9974c78bd0a7fcc6 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/154](https://github.com/jupyter/docker-stacks/issues/154)" msgstr "" -#: ../../using/recipes.md:395 da263f8f66464b39926588880a3e567b +#: ../../using/recipes.md:395 7546ac41d1914199ab4206e51727e53a msgid "### Using spark-packages.org" msgstr "" -#: ../../using/recipes.md:397 98f0fc729cc84d52b71b5e57e08325a1 +#: ../../using/recipes.md:397 19b66e52094943078c4d789583e5fe29 msgid "" "If you'd like to use packages from [spark-packages.org](https://spark-" "packages.org/), see " @@ -1120,21 +1120,21 @@ msgid "" "environment before creating a SparkContext." msgstr "" -#: ../../using/recipes.md:402 0625eafe00a4478e817b197cc2649b55 +#: ../../using/recipes.md:402 76c099f5ac864d698af2e985619a4c16 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/43](https://github.com/jupyter/docker-stacks/issues/43)" msgstr "" -#: ../../using/recipes.md:405 1257364f23f84099b310ce1188b68cd5 +#: ../../using/recipes.md:405 5e0ad12f190c42cdab8c04d70895447f msgid "### Use jupyter/all-spark-notebooks with an existing Spark/YARN cluster" msgstr "" -#: ../../using/recipes.md:407 c1b04e9f92db4a1c91fbc37d42fa3737 +#: ../../using/recipes.md:407 e83d880857a84813b14d3e6110a68662 msgid "```dockerfile FROM jupyter/all-spark-notebook" msgstr "" -#: ../../using/recipes.md:410 02d9d8d83ba541a19f5e2840523ca63e +#: ../../using/recipes.md:410 4beace454ffa49c4aebf90081ef9bbea 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 " @@ -1142,14 +1142,14 @@ msgid "" "/usr/local/hadoop-2.7.3/etc/hadoop" msgstr "" -#: ../../using/recipes.md:416 d7aa9c4fc3c142a3b2594edd4faae14d +#: ../../using/recipes.md:416 8dc6a15c1e914a47aa6924d7f5c25647 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:419 34d463ba3d8f4376906698438972b5a9 +#: ../../using/recipes.md:419 08d5a306a253492ebe14518504087686 msgid "" "apt-get -y update && \\ apt-get install --no-install-recommends -t " "jessie-backports -y openjdk-8-jdk && \\ rm /etc/apt/sources.list.d" @@ -1157,11 +1157,11 @@ msgid "" "/var/lib/apt/lists/ && \\" msgstr "" -#: ../../using/recipes.md:427 75fed1840e2448de84716db3b52a5a17 +#: ../../using/recipes.md:427 35bef9a9d59a4c4eb7792fb4f434d327 msgid "# Add hadoop binaries" msgstr "" -#: ../../using/recipes.md:425 74ad689f58a84322962c78990b50e0f2 +#: ../../using/recipes.md:425 92ab891cabca4d4599e15489f0a86c70 msgid "" "wget " "http://mirrors.ukfast.co.uk/sites/ftp.apache.org/hadoop/common/hadoop-2.7.3/hadoop-2.7.3.tar.gz" @@ -1170,41 +1170,41 @@ msgid "" " \\" msgstr "" -#: ../../using/recipes.md:432 438fe370ee944ee4b28366ca375fba38 +#: ../../using/recipes.md:432 a77dcc11ec0845499764a131e37bbd61 msgid "# Install os dependencies required for pydoop, pyhive" msgstr "" -#: ../../using/recipes.md:430 aab408d238fa48949bdd3d44aedcfe6e +#: ../../using/recipes.md:430 22ab0ef73b4c47fbbbe6261228bc4b99 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:434 51731f08175d41a7ba1a2e540a5824ad +#: ../../using/recipes.md:434 bdd14ee0a96e4ecca935d4096e2a020e 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:437 3f5cec724acc4f09b8a7d31f55ea7359 +#: ../../using/recipes.md:437 56ef5d91a3c64f2a9c62f578f3eedd13 msgid "rm -f /usr/local/hadoop-2.7.3/etc/hadoop/*" msgstr "" -#: ../../using/recipes.md:439 4299b4915ebc4ffc9d6e22d5cfdb4296 +#: ../../using/recipes.md:439 39334caa74274385a65e6f8797fafd96 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:442 a8cced566b814f32ac2f7b0cc625b11c +#: ../../using/recipes.md:442 d7eca005709f4c51becb092284abf56e 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:444 f52f7352f8a54547adcef9c553ee4de1 +#: ../../using/recipes.md:444 df626b82adfa48d79a994c80cad95e43 msgid "" "echo \"spark.yarn.am.extraJavaOptions -Dhdp.version=2.5.3.0-37\" >> " "/usr/local/spark/conf/spark-defaults.conf && \\ echo " @@ -1218,24 +1218,24 @@ msgid "" msgstr "" #: ../../using/recipes.md:453 ../../using/recipes.md:501 -#: 0db5d470c2f24cf98b21c3cdacc56b92 52de8d46505a452daa8e4c868e824a32 +#: 7853dde1e94845349cd1e687b5479bc7 c1b83b71dfbb48dc987bb1f6ee285b96 msgid "USER $NB_USER" msgstr "" -#: ../../using/recipes.md:455 0ac1fa188e1f4ad18569350af134d596 +#: ../../using/recipes.md:455 8df0d18c8be241b2a21eaed3a7051139 msgid "" "# Install useful jupyter extensions and python libraries like : # - " "Dashboards # - PyDoop # - PyHive RUN pip install jupyter_dashboards faker" " && \\" msgstr "" -#: ../../using/recipes.md:460 df9020c86dd941b4a9dc328ffaff65c9 +#: ../../using/recipes.md:460 d014a6f4dc344ba6bfbf52002625793b msgid "" "jupyter dashboards quick-setup --sys-prefix && \\ pip2 install pyhive " "pydoop thrift sasl thrift_sasl faker" msgstr "" -#: ../../using/recipes.md:463 9510636f03304b4eb73258531eded484 +#: ../../using/recipes.md:463 110eaa9ffcf24c93a75ad4b1c79b05f2 msgid "" "USER root # Ensure we overwrite the kernel config so that toree connects " "to cluster RUN jupyter toree install --sys-prefix --spark_opts=\"--master" @@ -1244,25 +1244,25 @@ msgid "" "spark.hadoop.yarn.timeline-service.enabled=false\" USER $NB_USER ```" msgstr "" -#: ../../using/recipes.md:469 1123b23d93ce4103a82022f192bb66bf +#: ../../using/recipes.md:469 d9bdd125ab5c448caa4f20f21126e203 msgid "" "Credit: [britishbadger](https://github.com/britishbadger) from [docker-" "stacks/issues/369](https://github.com/jupyter/docker-stacks/issues/369)" msgstr "" -#: ../../using/recipes.md:472 8e2a05e1175a4393ab074e2d3b0a83a7 +#: ../../using/recipes.md:472 539e0254b86442f4b601933b80356405 msgid "" "## Run Jupyter Notebook/Lab inside an already secured environment (i.e., " "with no token)" msgstr "" -#: ../../using/recipes.md:474 4921ac6405b44a6091836a2f2905675f +#: ../../using/recipes.md:474 a7ac4c0a5f9548c1ae0b684aa56d1f3e msgid "" "(Adapted from [issue 728](https://github.com/jupyter/docker-" "stacks/issues/728))" msgstr "" -#: ../../using/recipes.md:476 f49861d8b08340bf99a3ad07e6e668b6 +#: ../../using/recipes.md:476 df4b8d93ec5b4bf188bccf0289add0b3 msgid "" "The default security is very good. There are use cases, encouraged by " "containers, where the jupyter container and the system it runs within, " @@ -1272,131 +1272,131 @@ msgid "" msgstr "" # 7476a6d5eae74ecaae966e56390c096e -#: ../../using/recipes.md:481 2bee35b40f074c4bb268c45b9163d825 +#: ../../using/recipes.md:481 65930145aabb4f2b8d9380a0c98fa7af msgid "For jupyterlab:" msgstr "" -#: ../../using/recipes.md:483 02b3a48fdb3d4fb980d49db8e5eab141 +#: ../../using/recipes.md:483 7be307f70a0445f7be6c4515529daa00 msgid "" "```bash docker run jupyter/base-notebook:6d2a05346196 start.sh jupyter " "lab --LabApp.token='' ```" msgstr "" # f2efc5a0ba6b4c53b2047cc5f22bdbaa -#: ../../using/recipes.md:487 80b8f5fea4f2434e8b10aa43a2d04330 +#: ../../using/recipes.md:487 7857ca2ac95b44f284bd9df9b2170cd9 msgid "For jupyter classic:" msgstr "" -#: ../../using/recipes.md:489 6e1382af94744d17a28629a9d61cfb09 +#: ../../using/recipes.md:489 dd1558c8ed2b419b93ade7727c38ee5b msgid "" "```bash docker run jupyter/base-notebook:6d2a05346196 start.sh jupyter " "notebook --NotebookApp.token='' ```" msgstr "" -#: ../../using/recipes.md:493 a1cbf9af2abd49bd8a875fcd611be367 +#: ../../using/recipes.md:493 4e777a76a35e4a3381d371604a101670 msgid "## Enable nbextension spellchecker for markdown (or any other nbextension)" msgstr "" # 8ccfbcb4264f48d0b6709fe81aa0a86d -#: ../../using/recipes.md:495 5cfd0be59210402d981adc5a1c66b8aa +#: ../../using/recipes.md:495 1f473e03092f41e5bf283b20bffa7d55 msgid "NB: this works for classic notebooks only" msgstr "" -#: ../../using/recipes.md:497 f7bb38172c19435fbb481e812f34fd2d +#: ../../using/recipes.md:497 1d0be683ffa84e7681ac884567c0853b msgid "" "```dockerfile # Update with your base image of choice FROM jupyter" "/minimal-notebook:latest" msgstr "" -#: ../../using/recipes.md:505 cd971c1c79804288b4a408dd49a5e1a1 +#: ../../using/recipes.md:505 872cf25f193449eea8451ecc414fd655 msgid "RUN pip install jupyter_contrib_nbextensions && \\" msgstr "" -#: ../../using/recipes.md:504 b0761ba3d57847ef92fda33fa762bdb1 +#: ../../using/recipes.md:504 a677f651409f43e6ba695228d9d8be18 msgid "" "jupyter contrib nbextension install --user && \\ # can modify or enable " "additional extensions here jupyter nbextension enable spellchecker/main " "--user" msgstr "" -#: ../../using/recipes.md:509 126743231a4b4e19b97eded31c304a9a +#: ../../using/recipes.md:509 33b3b48166e448d694aeecb8c0e80128 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/675](https://github.com/jupyter/docker-stacks/issues/675)" msgstr "" -#: ../../using/recipes.md:512 b235034dd7aa47059726ae219b48ab09 +#: ../../using/recipes.md:512 59ab880e42394f3c807eb1b2f156fe8f msgid "## Enable auto-sklearn notebooks" msgstr "" -#: ../../using/recipes.md:514 6bc80ec62c6b4c2e9015f6c2d73cdc4a +#: ../../using/recipes.md:514 98e5bc01617448d6a3a3e9dd3ec4c151 msgid "" "Using `auto-sklearn` requires `swig`, which the other notebook images " "lack, so it cant be experimented with. Also, there is no Conda package " "for `auto-sklearn`." msgstr "" -#: ../../using/recipes.md:516 aeacb6e89c4840a9a3da5234508099d2 +#: ../../using/recipes.md:516 0dc21a0a8b2b4760b7b68ae6c70e7508 msgid "" "```dockerfile ARG BASE_CONTAINER=jupyter/scipy-notebook FROM jupyter" "/scipy-notebook:latest" msgstr "" -#: ../../using/recipes.md:522 6a165e86c5104c5fa50195a47fe68763 +#: ../../using/recipes.md:522 adf949fba7cd49d2b4e357978ff3d416 msgid "" "# autosklearn requires swig, which no other image has RUN apt-get update " "&& \\" msgstr "" -#: ../../using/recipes.md:524 3d532a28eb22466faa14c29ea68a5880 +#: ../../using/recipes.md:524 9719e672cb42454183edaae0606e7a58 msgid "" "apt-get install -y --no-install-recommends swig && \\ apt-get clean && \\" " rm -rf /var/lib/apt/lists/*" msgstr "" -#: ../../using/recipes.md:529 ac663c9e8c4248f99d003a8f205c86a8 +#: ../../using/recipes.md:529 00e7fc9cc6b24a9f9d383dcc7add2b2b msgid "USER $NB_UID" msgstr "" -#: ../../using/recipes.md:531 a36584e6b51b48b4a810c606dc5d7dbf +#: ../../using/recipes.md:531 e3d4719c664f4c4c8ef32eb0aabbada0 msgid "RUN pip install --quiet --no-cache-dir auto-sklearn ```" msgstr "" -#: ../../using/running.md:1 6711e08e8a8e4731890aaf85116afe64 +#: ../../using/running.md:1 de28a50573b1477e9ce024499032c808 msgid "# Running a Container" msgstr "" # 1f345e7a53e94439b936b3f4bbc877da # 324906e630c646b0ae10bbff6ed587fa #: ../../using/running.md:3 ../../using/selecting.md:7 -#: 65ce81cd78d445cfbbb0fdd784f5ba62 8a1d33cc7b6d4575ae235f1df5ff174a +#: 00451df188b2489aa2d7c8aa5c893516 208be53f4a8549ce8db052354f726416 msgid "Using one of the Jupyter Docker Stacks requires two choices:" msgstr "" # 781cbaffaea24fb08451cc83327cfa9b # 1c6c83776a3b4a27a8ed4128a0dceeb7 #: ../../using/running.md:5 ../../using/selecting.md:9 -#: 328fdfe0b29749d2ba430b8776f5cc26 44dcf942dcfc466aac76c407d2ccd8f8 +#: 5f9a78b3bedd4099be76a7f92ceaf47a 9af6e3579a274dae99772744dd886c8b msgid "Which Docker image you wish to use" msgstr "" # 632f67c9207e4ed9ba01bf59c4d942f7 # ab191cfc95204429b7c0271ecdf69d33 #: ../../using/running.md:6 ../../using/selecting.md:10 -#: 21b50b6f64c0427199820c27bc742af6 76d795d06fbc4629ad15d6d04eceaef5 +#: 45f3fe3d29e947308f1edc3a1026116e fa3320ea7bcc4bffa2315e1e142e9d16 msgid "How you wish to start Docker containers from that image" msgstr "" # ebf870aa1ede4e2ab8fdcb2cef0fd610 -#: ../../using/running.md:8 bab30dc38e07424bb1074f825ac34830 +#: ../../using/running.md:8 ed362a0a399347d3bb2b1203de57f55e msgid "This section provides details about the second." msgstr "" -#: ../../using/running.md:10 99b158c1cd1b4e3da543a7c77f9e48f0 +#: ../../using/running.md:10 36cad0e151764fa4a9aea1a086e65bd8 msgid "## Using the Docker CLI" msgstr "" -#: ../../using/running.md:12 8a200701c90c47fc9f1df7087b76deb4 +#: ../../using/running.md:12 bf87336b5ef042ec9c1dee2ba7115d5c msgid "" "You can launch a local Docker container from the Jupyter Docker Stacks " "using the [Docker command line " @@ -1405,7 +1405,7 @@ msgid "" "following are some common patterns." msgstr "" -#: ../../using/running.md:14 013ff1384a4a40d6bee4f76fbe5b69ce +#: ../../using/running.md:14 2afd1ed7e79343acae77bfaae297d941 msgid "" "**Example 1** This command pulls the `jupyter/scipy-notebook` image " "tagged `2c80cf3537ca` from Docker Hub if it is not already present on the" @@ -1414,11 +1414,11 @@ msgid "" "terminal and include a URL to the notebook server." msgstr "" -#: ../../using/running.md:16 9656f437f2e34c25b08d016a5c2f88c7 +#: ../../using/running.md:16 112ba67c894d4f39889ef9752e9e6d7a msgid "``` docker run -p 8888:8888 jupyter/scipy-notebook:2c80cf3537ca" msgstr "" -#: ../../using/running.md:19 64ee0b068c264cc1a73cd94583eafcba +#: ../../using/running.md:19 6375bc5e3d0b48a3ad04cbbff5f44728 msgid "" "Executing the command: jupyter notebook [I 15:33:00.567 NotebookApp] " "Writing notebook server cookie secret to " @@ -1438,25 +1438,25 @@ msgid "" msgstr "" #: ../../using/running.md:31 ../../using/running.md:72 -#: ../../using/running.md:94 0b13f345aafb45dfba1313b258bdf95f -#: 2aa8b0049feb4b1d865acc3ddecc01a8 890108a5326043b0a8e754d22df3d903 +#: ../../using/running.md:94 51d63761937e4aea962a2b87a19bb62e +#: a181a21041af43ad8855bd0a5a3356d0 ba8a3d9836f44d0da07f1901671f3671 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 d4cf98b9c80143928fdf1e11d8c2c615 +#: ../../using/running.md:33 102a5fcc306b4a60a84e5489b809f706 msgid "http://localhost:8888/?token=112bb073331f1460b73768c76dffb2f87ac1d4ca7870d46a" msgstr "" -#: ../../using/running.md:36 b3d7a7367a5a439891cc9527a6e693bb +#: ../../using/running.md:36 00f2f53f542341ee8b1dcf2cbf1dcb24 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 8b0fff76b684448daf10113b7eb7dfb7 +#: ../../using/running.md:38 b622b4cc83ea48f18c417f2dde84baf4 msgid "" "``` # list containers docker ps -a CONTAINER ID IMAGE" " COMMAND CREATED STATUS" @@ -1465,7 +1465,7 @@ msgid "" "Exited (0) 39 seconds ago cocky_mirzakhani" msgstr "" -#: ../../using/running.md:44 0ef349dacf194f1c9198a6aa3fb5f515 +#: ../../using/running.md:44 979529d43b2841799bd154f599a99bd4 msgid "" "# start the stopped container docker start -a d67fe77f1a84 Executing the " "command: jupyter notebook [W 16:45:02.020 NotebookApp] WARNING: The " @@ -1473,11 +1473,11 @@ msgid "" "encryption. This is not recommended. ..." msgstr "" -#: ../../using/running.md:50 f39329b6e9d44b659b3f7f3f2c471fa8 +#: ../../using/running.md:50 8c35853b7a534b8dbf49e4e5dcaba268 msgid "# remove the stopped container docker rm d67fe77f1a84 d67fe77f1a84 ```" msgstr "" -#: ../../using/running.md:55 2479b38705524c93ac6d4a52b8c26048 +#: ../../using/running.md:55 c5f3e43be4474e0bb54706ab69ccb7eb 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 " @@ -1487,13 +1487,13 @@ msgid "" "container port (8888) instead of the the correct host port (10000)." msgstr "" -#: ../../using/running.md:57 d5061911228b492c9beb0072ee9014a2 +#: ../../using/running.md:57 9a03f30e12b04579a20d6c2f7558685c msgid "" "``` docker run --rm -p 10000:8888 -v \"$PWD\":/home/jovyan/work " "jupyter/r-notebook:e5c5a7d3e52d" msgstr "" -#: ../../using/running.md:60 e13c56d5835e4364bbb627eaeb1098ed +#: ../../using/running.md:60 1ca957cf0d40483ca652730d9df86e0b msgid "" "Executing the command: jupyter notebook [I 19:31:09.573 NotebookApp] " "Writing notebook server cookie secret to " @@ -1512,18 +1512,18 @@ msgid "" " all kernels (twice to skip confirmation). [C 19:31:12.122 NotebookApp]" msgstr "" -#: ../../using/running.md:74 1bf3353b0c934db0b910e101ad6999f6 +#: ../../using/running.md:74 281cbdb8fb4a428aaf17b58b1d76ac16 msgid "http://localhost:8888/?token=3b8dce890cb65570fb0d9c4a41ae067f7604873bd604f5ac" msgstr "" -#: ../../using/running.md:77 dbfcb593122c445e98f2bf48132205df +#: ../../using/running.md:77 191335b67f8e4590967a1af354054fc6 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 5ce988906d6b48bfa82f5e3dd959963e +#: ../../using/running.md:79 4e2a3d0632434a82820d3385fb906e4e msgid "" "**Example 3** This command pulls the `jupyter/all-spark-notebook` image " "currently tagged `latest` from Docker Hub if an image tagged `latest` is " @@ -1532,33 +1532,33 @@ msgid "" "randomly selected port." msgstr "" -#: ../../using/running.md:81 79ce59165b0d4300a2f60a222ce30cf5 +#: ../../using/running.md:81 02ca16ac5ce945e89d0b6863b49540ff msgid "``` docker run -d -P --name notebook jupyter/all-spark-notebook ```" msgstr "" # 9a561b9bb5944059801c71862521d66a -#: ../../using/running.md:85 6f926e4aad11475aacde4f2ec8b842e4 +#: ../../using/running.md:85 95bc4aed0e1e4d6fbb5c200f0f1d7b07 msgid "" "The assigned port and notebook server token are visible using other " "Docker commands." msgstr "" -#: ../../using/running.md:87 d1d8981873624e919e10e93ad3789db3 +#: ../../using/running.md:87 2d98f82b76db4417857726a0f1963b6d 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 9a9e3061278a4b86a11a1700f016e11d +#: ../../using/running.md:92 1741a708ccfa4f3e8c2e2faed110c37f msgid "# get the notebook token from the logs docker logs --tail 3 notebook" msgstr "" -#: ../../using/running.md:96 7393a1e471c84978866db52e0822da58 +#: ../../using/running.md:96 fffa707b26e64735bc5c5afb7ce0eb8e msgid "http://localhost:8888/?token=15914ca95f495075c0aa7d0e060f1a78b6d94f70ea373b00" msgstr "" # c4bc333e19324e2a93118e21b1f8f360 -#: ../../using/running.md:99 3b3979490d0e4ba5ab98730cdf7ef3d6 +#: ../../using/running.md:99 2c43ea364b3840a897215ba7ba1282cd msgid "" "Together, the URL to visit on the host machine to access the server in " "this case is " @@ -1566,25 +1566,25 @@ msgid "" msgstr "" # bf82931e197b40ad940d9969993120a2 -#: ../../using/running.md:101 fac4ed68627c4c5b994e4de0c494c23b +#: ../../using/running.md:101 97fcd8fbefaf4cea80007bc4ed24c848 msgid "" "The container runs in the background until stopped and/or removed by " "additional Docker commands." msgstr "" -#: ../../using/running.md:103 a62c7da660f6424ebee03c919b919647 +#: ../../using/running.md:103 4be409b142624bff8c6cd6de2f73b398 msgid "``` # stop the container docker stop notebook notebook" msgstr "" -#: ../../using/running.md:108 99f3cc3694fd479088d5388a24537d0c +#: ../../using/running.md:108 737d8cbbf84f4704b0b94a82fd17f9c6 msgid "# remove the container permanently docker rm notebook notebook ```" msgstr "" -#: ../../using/running.md:113 72664819e4ff42998c3ed6f610b977c2 +#: ../../using/running.md:113 3e2e0d2834304499964819f7f58eb394 msgid "## Using Binder" msgstr "" -#: ../../using/running.md:115 2714a93bbfb341e89bd54c1b2fd9ba9a +#: ../../using/running.md:115 38bc23a04c3648b7af8a4b6203369242 msgid "" "[Binder](https://mybinder.org/) is a service that allows you to create " "and share custom computing environments for projects in version control. " @@ -1598,11 +1598,11 @@ msgid "" "instructions." msgstr "" -#: ../../using/running.md:117 ea24e69dfa414ce8887fe3958ae2078d +#: ../../using/running.md:117 bb850fb4e5f942db9015af0e72364f70 msgid "## Using JupyterHub" msgstr "" -#: ../../using/running.md:119 e853f1d09e234c06a427307b683c17e9 +#: ../../using/running.md:119 76368ed823464b3182faa15dbc258dd0 msgid "" "You can configure JupyterHub to launcher Docker containers from the " "Jupyter Docker Stacks images. If you've been following the [Zero to " @@ -1616,11 +1616,11 @@ msgid "" "[dockerspawner](https://github.com/jupyterhub/dockerspawner) instead." msgstr "" -#: ../../using/running.md:121 9f1186a61638451aba5ea3c1bd5415d6 +#: ../../using/running.md:121 5982e343de6f4676840cacaf55cbfc9b msgid "## Using Other Tools and Services" msgstr "" -#: ../../using/running.md:123 9d34b821e38f4e51ad5960c528126eff +#: ../../using/running.md:123 6797c47db3f6422eadad321948e627f5 msgid "" "You can use the Jupyter Docker Stacks with any Docker-compatible " "technology (e.g., [Docker Compose](https://docs.docker.com/compose/), " @@ -1630,32 +1630,32 @@ msgid "" "containers from these images." msgstr "" -#: ../../using/selecting.md:1 734cbc754e374f31914ad89c96dd8131 +#: ../../using/selecting.md:1 7ff1180bf81349a9a6106cfb5f682607 msgid "# Selecting an Image" msgstr "" -#: ../../using/selecting.md:3 b004ab49506b41a7929773c75119e7a2 +#: ../../using/selecting.md:3 9409d8135fc143b78e2902b0df571ec2 msgid "[Core Stacks](#core-stacks)" msgstr "" -#: ../../using/selecting.md:4 2785b07ddd3d4ee09a0f6eb6a32c25db +#: ../../using/selecting.md:4 60cf512df28b4533832b2c5589950f29 msgid "[Image Relationships](#image-relationships)" msgstr "" -#: ../../using/selecting.md:5 8d9a640050b143b0891329af8639d129 +#: ../../using/selecting.md:5 c794b57b826a497e8892b282ebe0f5e0 msgid "[Community Stacks](#community-stacks)" msgstr "" # af7e19bb10ec44348e8121be4129ce8a -#: ../../using/selecting.md:12 384d6581e97945d1be5068fe78699f8e +#: ../../using/selecting.md:12 c4f26496931646c6a510d50d7e20fbd0 msgid "This section provides details about the first." msgstr "" -#: ../../using/selecting.md:14 466ce1dafaa04c67b1253db8f67b0ee7 +#: ../../using/selecting.md:14 3a86abf5a739481595209c3125e23fc2 msgid "## Core Stacks" msgstr "" -#: ../../using/selecting.md:16 166f290bcbb3471e8d128992b5e2cef2 +#: ../../using/selecting.md:16 551f85ecf537468baec0d63d2795818d msgid "" "The Jupyter team maintains a set of Docker image definitions in the " "[https://github.com/jupyter/docker-stacks](https://github.com/jupyter" @@ -1663,11 +1663,11 @@ msgid "" "images including their contents, relationships, and versioning strategy." msgstr "" -#: ../../using/selecting.md:21 8b1705f190cf4a3dacbf0a57dd91567f +#: ../../using/selecting.md:21 e288e3390ade4364aaf26b97edaf2450 msgid "### jupyter/base-notebook" msgstr "" -#: ../../using/selecting.md:23 ae0923aa485b414785095a1357b20465 +#: ../../using/selecting.md:23 38c70fc1f1154677a27e924f2f90f1ef msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/base-notebook) | [Dockerfile commit history](https://github.com/jupyter" @@ -1675,62 +1675,62 @@ msgid "" "image tags](https://hub.docker.com/r/jupyter/base-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:27 9d561ec1a03d44a5ae30d94c7bbe80ff +#: ../../using/selecting.md:27 0f27b97eb7c442ffb316d34b2cb8affc 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:30 88b19fad3b6d4e2f89cbe62181b4947c +#: ../../using/selecting.md:30 cde7527c933f4592b29c5cff4d739ae4 msgid "" "Minimally-functional Jupyter Notebook server (e.g., no LaTeX support for " "saving notebooks as PDFs)" msgstr "" -#: ../../using/selecting.md:31 1eea00709e834b00bf1834c9a9921d35 +#: ../../using/selecting.md:31 88f80150b9b5475d8363f97cee160a14 msgid "[Miniconda](https://conda.io/miniconda.html) Python 3.x in `/opt/conda`" msgstr "" # c5732a5536554f91b8dd7e8946beaab8 -#: ../../using/selecting.md:32 56ab05306817422eb1ff5168ec424465 +#: ../../using/selecting.md:32 ad5beb1d1fbe4d93a50b8788c95c1389 msgid "No preinstalled scientific computing packages" msgstr "" -#: ../../using/selecting.md:33 a62a5a99a96a45a8bff09c50c6efd13f +#: ../../using/selecting.md:33 5a944ae4309b47499a5ebc7bac11e8ab 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:35 8290f233625e4eb5a6083b1cdd8eca08 +#: ../../using/selecting.md:35 7a696044590d4f9990d69f790906d51c msgid "" "`tini` as the container entrypoint and a `start-notebook.sh` script as " "the default command" msgstr "" -#: ../../using/selecting.md:36 d4058ebbef304e83854ce793d2bb5915 +#: ../../using/selecting.md:36 4d6269f69fbd44348d93ab56656743ec msgid "" "A `start-singleuser.sh` script useful for launching containers in " "JupyterHub" msgstr "" -#: ../../using/selecting.md:37 ec53671bd5094e8a857feeef1194bfa6 +#: ../../using/selecting.md:37 933f4d3e89f6477795b62ab200b9a907 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:39 6ed1d6ffa7104389b54e4f08dc993242 +#: ../../using/selecting.md:39 1c786738a52f4eb2b012da9685c39356 msgid "Options for a self-signed HTTPS certificate and passwordless sudo" msgstr "" -#: ../../using/selecting.md:41 15ad2723193a4860b6177bcc60261a65 +#: ../../using/selecting.md:41 2bc9d7f2ebd34cb6871a94a5433aed94 msgid "### jupyter/minimal-notebook" msgstr "" -#: ../../using/selecting.md:43 d590ab5bc4184bd1a4c5cfde89e166ec +#: ../../using/selecting.md:43 d70e0b334d394820b6c3e0467aaa1fc5 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/minimal-notebook) | [Dockerfile commit " @@ -1739,21 +1739,21 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/minimal-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:47 67e2051cb4cf4f2995006496317a84e7 +#: ../../using/selecting.md:47 26b61467fe7840bbbe1f56fff80216fb msgid "" "`jupyter/minimal-notebook` adds command line tools useful when working in" " Jupyter applications." msgstr "" -#: ../../using/selecting.md:49 c798efd349cb4b3a89629467636663a2 +#: ../../using/selecting.md:49 481531d6cb9445b1974e1154f25df43a msgid "Everything in `jupyter/base-notebook`" msgstr "" -#: ../../using/selecting.md:50 b0accd79833848c981a7acad58e77a76 +#: ../../using/selecting.md:50 4e60359c056a43758e6317dabeb3571d msgid "[TeX Live](https://www.tug.org/texlive/) for notebook document conversion" msgstr "" -#: ../../using/selecting.md:51 942d8419cc4640f992768514cd050a21 +#: ../../using/selecting.md:51 a7df02eacdec4d2c8fa4d03756869ed9 msgid "" "[git](https://git-scm.com/), [emacs](https://www.gnu.org/software/emacs/)" " (actually `emacs-nox`), [vi](https://vim.org/) (actually `vim-tiny`), " @@ -1761,11 +1761,11 @@ msgid "" " (actually `nano-tiny`), tzdata, and unzip" msgstr "" -#: ../../using/selecting.md:55 f8051518586847e38d83f1963b17b33f +#: ../../using/selecting.md:55 62212fc6617244e1844729cb2c5db966 msgid "### jupyter/r-notebook" msgstr "" -#: ../../using/selecting.md:57 613ae1933d934889a6211315eb842de0 +#: ../../using/selecting.md:57 a5e989d11e3f43f2bfabad9cc80e072f msgid "" "[Source on GitHub](https://github.com/jupyter/docker-" "stacks/tree/master/r-notebook) | [Dockerfile commit " @@ -1774,33 +1774,33 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/r-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:61 c7a7a1849204475c84a8144c3188aea7 +#: ../../using/selecting.md:61 4481aea9602143d3a80d86528836148e msgid "`jupyter/r-notebook` includes popular packages from the R ecosystem." msgstr "" #: ../../using/selecting.md:63 ../../using/selecting.md:86 -#: 45a074c063b849139cd19401e73918a2 c450805cc3254fc89b85c7971831ca73 +#: 7cfbc3e4e8174335a5cb151f60fcf3f9 fb08895f136443a089e652eaebfa3866 msgid "Everything in `jupyter/minimal-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:64 ea1ff4cb89684e1a84913617a9849686 +#: ../../using/selecting.md:64 64bd08e3401042d183ebacee643d8c9b msgid "The [R](https://www.r-project.org/) interpreter and base environment" msgstr "" #: ../../using/selecting.md:65 ../../using/selecting.md:155 -#: 2d0fae529be74479a6ed35a2a4aeaf6c d2747ee2436b4e478fb02a3089faed7e +#: 670e25fd3213418c85a80fe2b20f6b04 92a68e25fb17430bba6d73755c90a287 msgid "" "[IRKernel](https://irkernel.github.io/) to support R code in Jupyter " "notebooks" msgstr "" -#: ../../using/selecting.md:66 cbc1242cfbd54d3a81e1936e787993d9 +#: ../../using/selecting.md:66 c33d2a90e70a4a0b8cff6283bac3f471 msgid "" "[tidyverse](https://www.tidyverse.org/) packages from [conda-forge](https" "://conda-forge.github.io/feedstocks)" msgstr "" -#: ../../using/selecting.md:68 72c2f656300b4292a391f3fc2bcfe893 +#: ../../using/selecting.md:68 ab8c5ddd22dd4cf9a39c231a591af288 msgid "" "[devtools](https://cran.r-project.org/web/packages/devtools/index.html), " "[shiny](https://shiny.rstudio.com/), " @@ -1815,11 +1815,11 @@ msgid "" " packages from [conda-forge](https://conda-forge.github.io/feedstocks)" msgstr "" -#: ../../using/selecting.md:78 ef6ef68061934d25a75fd17bf6bb9563 +#: ../../using/selecting.md:78 5a80f789d3aa48af83459228d6090794 msgid "### jupyter/scipy-notebook" msgstr "" -#: ../../using/selecting.md:80 3caa9dab46fd4af5adef42ac7bdd2793 +#: ../../using/selecting.md:80 5fab6b50b6414485bf53bdddb89c4442 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/scipy-notebook) | [Dockerfile commit history](https://github.com/jupyter" @@ -1827,13 +1827,13 @@ msgid "" "image tags](https://hub.docker.com/r/jupyter/scipy-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:84 2013ac7b72b5491daae50976359a5749 +#: ../../using/selecting.md:84 c197c5a919af44bd80349c67df4790cc msgid "" "`jupyter/scipy-notebook` includes popular packages from the scientific " "Python ecosystem." msgstr "" -#: ../../using/selecting.md:87 ac7adeee5d9248d398a9c891c6d78cf4 +#: ../../using/selecting.md:87 494d7d8db9704a2c8f7e9d74b353acf4 msgid "" "[dask](https://dask.org/), [pandas](https://pandas.pydata.org/), " "[numexpr](https://github.com/pydata/numexpr), " @@ -1857,24 +1857,24 @@ msgid "" "[pytables](https://www.pytables.org/) packages" msgstr "" -#: ../../using/selecting.md:102 cf218cafbc05440dacd35a6556a00472 +#: ../../using/selecting.md:102 13da59a6c4244961a4bd6c9c53d0a712 msgid "" "[ipywidgets](https://ipywidgets.readthedocs.io/en/stable/) and " "[ipympl](https://github.com/matplotlib/jupyter-matplotlib) for " "interactive visualizations and plots in Python notebooks" msgstr "" -#: ../../using/selecting.md:105 5f94116cbf01459db5766d0c30da61bb +#: ../../using/selecting.md:105 47865a121ef94c9f9b7666da1e0d2ac6 msgid "" "[Facets](https://github.com/PAIR-code/facets) for visualizing machine " "learning datasets" msgstr "" -#: ../../using/selecting.md:107 0b18eaeb6ba8408f81474f8ff9dc3741 +#: ../../using/selecting.md:107 c2ebadb61ee94caeb39b1adacad8a488 msgid "### jupyter/tensorflow-notebook" msgstr "" -#: ../../using/selecting.md:109 3c6ec4322ec742679a5694aa035ae3fc +#: ../../using/selecting.md:109 7d80b730cd644faeac7c4fcc2cba91e9 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/tensorflow-notebook) | [Dockerfile commit " @@ -1883,28 +1883,28 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/tensorflow-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:113 7bd837e2234f4b8788e568e1dc82c9fe +#: ../../using/selecting.md:113 81355f47fd364c2ba8807b6d1301a752 msgid "" "`jupyter/tensorflow-notebook` includes popular Python deep learning " "libraries." msgstr "" #: ../../using/selecting.md:115 ../../using/selecting.md:143 -#: 20bd27dc83664987bf2d4eb43be8941d ba924ea748c441d5b359780ffab16f26 +#: 7e138bfcbf254b869f203a010443c56e d4208f8855a4478681ec30f6b3286804 msgid "Everything in `jupyter/scipy-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:116 482ddf4a4e3345479738d529be5dfb8b +#: ../../using/selecting.md:116 dbccad3ee14f45b59724bc2c7d0cc223 msgid "" "[tensorflow](https://www.tensorflow.org/) and [keras](https://keras.io/) " "machine learning libraries" msgstr "" -#: ../../using/selecting.md:119 872de7c642f540d2b1442c0aae7d36ec +#: ../../using/selecting.md:119 f13c562bbe7b487b84949443d60a32f6 msgid "### jupyter/datascience-notebook" msgstr "" -#: ../../using/selecting.md:121 8d2f369814fb414d9a6b0b7cc9840478 +#: ../../using/selecting.md:121 cd2f014b6e764072a81ae3d2ca2db353 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/datascience-notebook) | [Dockerfile commit " @@ -1913,40 +1913,40 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/datascience-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:125 2f265e020e164dca9892212c328d5ee7 +#: ../../using/selecting.md:125 d4e4121a548e455393703d1b00284275 msgid "" "`jupyter/datascience-notebook` includes libraries for data analysis from " "the Julia, Python, and R communities." msgstr "" -#: ../../using/selecting.md:128 27f8ca0d8b4b447488071fc885798e32 +#: ../../using/selecting.md:128 ee1d75f95dd844cd93edc714ad5ee334 msgid "" "Everything in the `jupyter/scipy-notebook` and `jupyter/r-notebook` " "images, and their ancestor images" msgstr "" -#: ../../using/selecting.md:130 b942b814c88e4033a2d04f32739afdf1 +#: ../../using/selecting.md:130 c2c30f4253fb4f94b1f3f8c56d62d023 msgid "The [Julia](https://julialang.org/) compiler and base environment" msgstr "" -#: ../../using/selecting.md:131 542083a4e2c24b38b165f2753487f789 +#: ../../using/selecting.md:131 237b42749d3e4071883254d509f29578 msgid "" "[IJulia](https://github.com/JuliaLang/IJulia.jl) to support Julia code in" " Jupyter notebooks" msgstr "" -#: ../../using/selecting.md:132 97fd76fe79e34cad8d94343b4ae135b8 +#: ../../using/selecting.md:132 37845aca437b43c49aeae5da654e163a 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:135 2963b1d31f9f42bdbfa4064df949815f +#: ../../using/selecting.md:135 fc8b90173ea14f8dab17a08c22faf23c msgid "### jupyter/pyspark-notebook" msgstr "" -#: ../../using/selecting.md:137 a22a9cd5e2d547b09960e5e092d258aa +#: ../../using/selecting.md:137 2dcb6330534945e4bae8d71b4aa19d05 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/pyspark-notebook) | [Dockerfile commit " @@ -1955,19 +1955,19 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/pyspark-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:141 67a249b885744c20b555e97419e3ba81 +#: ../../using/selecting.md:141 9c6819212c684a52828b45a0a0685670 msgid "`jupyter/pyspark-notebook` includes Python support for Apache Spark." msgstr "" -#: ../../using/selecting.md:144 d779524fe3de46ea832e20b265633f30 +#: ../../using/selecting.md:144 ba3f4c83f91e447381b9fc5011f610d2 msgid "[Apache Spark](https://spark.apache.org/) with Hadoop binaries" msgstr "" -#: ../../using/selecting.md:146 e5b8d9b317034705ab3b8987da5cc7ec +#: ../../using/selecting.md:146 6be1b2a1ce7a4542abb807bc20c064b0 msgid "### jupyter/all-spark-notebook" msgstr "" -#: ../../using/selecting.md:148 bb7dcba77dba41abac78b3a723bdf015 +#: ../../using/selecting.md:148 e4b9e74cf99940c1ae9abdcbfe744c1b msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/all-spark-notebook) | [Dockerfile commit " @@ -1976,35 +1976,35 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/all-spark-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:152 a1e7e4541df24677a3ce4b082b5d4773 +#: ../../using/selecting.md:152 0e07835041c54628b68a5ffadc2add39 msgid "" "`jupyter/all-spark-notebook` includes Python, R, and Scala support for " "Apache Spark." msgstr "" -#: ../../using/selecting.md:154 a3173784595a4cb5814f04c974eddfda +#: ../../using/selecting.md:154 a9bb453e1b384b9db67b642a7857cabf msgid "Everything in `jupyter/pyspark-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:156 6435c80e8c72468ba2dada1d429eec3c +#: ../../using/selecting.md:156 cf76743173574c6ab76fd0f2d8332305 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:159 846e315b9ed04a4999fbc3e904cec375 +#: ../../using/selecting.md:159 99c07031faf64ada8ec9578fe0657c7e 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:162 3c0862a73ef048328830c640150de6dc +#: ../../using/selecting.md:162 08bb320e577f4d70aae3977675311b1f msgid "### Image Relationships" msgstr "" -#: ../../using/selecting.md:164 1444930985e04684bf106d77d3ca16c7 +#: ../../using/selecting.md:164 50e161e0bbfa4182a0d8adc3380e41af msgid "" "The following diagram depicts the build dependency tree of the core " "images. (i.e., the `FROM` statements in their Dockerfiles). Any given " @@ -2012,7 +2012,7 @@ msgid "" "it." msgstr "" -#: ../../using/selecting.md:168 d0ec07c2fcd14c8d864187369948d034 +#: ../../using/selecting.md:168 03ea6499dfbe41d79f119f4246324b97 msgid "" "[![Image inheritance " "diagram](../images/inherit.svg)](http://interactive.blockdiag.com/?compression=deflate&src" @@ -2021,11 +2021,11 @@ msgid "" "Zh7Z24OLLq2SjaxpvP10lX35vCf6pOxELFmUbQiUz4oQhYzMc3gCrRt2cWe_FKosmSjyFHC6OS1AwdQWCtyj7sfh523_BI9hKlQ25YdOFdv5fcH0kiEMA)" msgstr "" -#: ../../using/selecting.md:171 47260169da80420da8dd1bd290658c25 +#: ../../using/selecting.md:171 d9af01fe837a45779ddf72e51ceddecf msgid "### Builds" msgstr "" -#: ../../using/selecting.md:173 ba52222f602f4aec9faf81d39446afe9 +#: ../../using/selecting.md:173 1d7b81b1173e45aea271abc8df6b0bfa msgid "" "Pull requests to the `jupyter/docker-stacks` repository trigger builds of" " all images on GitHub Actions. These images are for testing purposes only" @@ -2034,18 +2034,18 @@ msgid "" " Docker Hub." msgstr "" -#: ../../using/selecting.md:178 de4e7df59458457480cc9acb6e6ad446 +#: ../../using/selecting.md:178 443ce237eb97478c8a43f71c2790fb2e msgid "### Versioning" msgstr "" -#: ../../using/selecting.md:180 0e3cbe1c5cfa41d3874e07da2c5d1669 +#: ../../using/selecting.md:180 075f571fec6945ee963dff2de8ff7472 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:183 e7810e6f0f5e4f61b4d1d9b7383a397d +#: ../../using/selecting.md:183 5f1a62c6f9084ee6b4669877f931e557 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 " @@ -2056,7 +2056,7 @@ msgid "" "stacks/tree/7c45ec67c8e7))." msgstr "" -#: ../../using/selecting.md:189 37a454be9fb042e9b2406fe4275928f5 +#: ../../using/selecting.md:189 9799acbfd5ff4a279ec15268b8bf992a msgid "" "You must refer to git-SHA image tags when stability and reproducibility " "are important in your work. (e.g. `FROM jupyter/scipy-" @@ -2066,12 +2066,12 @@ msgid "" "library in a notebook)." msgstr "" -#: ../../using/selecting.md:195 81ba2e719be04a8ba596d917a319d653 +#: ../../using/selecting.md:195 8d02e5d6cbdb4893b48586a23b6be37b msgid "## Community Stacks" msgstr "" # a448d28293544f72b0e5de024b0a1ef5 -#: ../../using/selecting.md:197 af980ebb6ec84a0aabeacbf2352e9c47 +#: ../../using/selecting.md:197 6be55498a9c54ee7ba270306de68397f 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 " @@ -2079,7 +2079,7 @@ msgid "" "them below." msgstr "" -#: ../../using/selecting.md:201 c99c223de8d340bcb50b8eeb511b7726 +#: ../../using/selecting.md:201 f124891781b64e94b844729c55e283f8 msgid "" "[csharp-notebook is a community Jupyter Docker Stack image. Try C# in " "Jupyter Notebooks](https://github.com/tlinnet/csharp-notebook). The image" @@ -2089,7 +2089,7 @@ msgid "" "/csharp-notebook/master)." msgstr "" -#: ../../using/selecting.md:206 cfbf020501ca46e7a42c834d85a22a6d +#: ../../using/selecting.md:206 1944fb43290143498d3dfb563b30e937 msgid "" "[education-notebook is a community Jupyter Docker Stack " "image](https://github.com/umsi-mads/education-notebook). The image " @@ -2099,11 +2099,11 @@ msgid "" "/umsi-mads/education-notebook/master)." msgstr "" -#: ../../using/selecting.md:211 ccef1e730fa2415295242876c93f8c30 +#: ../../using/selecting.md:211 2b0c083c82644973a5f05198fcf4b6d0 msgid "**crosscompass/ihaskell-notebook**" msgstr "" -#: ../../using/selecting.md:213 ea0631283491411b85c4224d7a2bfd50 +#: ../../using/selecting.md:213 c02ad048605e4e4ab5625e4877c36109 msgid "" "[Source on GitHub](https://github.com/jamesdbrock/ihaskell-notebook) | " "[Dockerfile commit history](https://github.com/jamesdbrock/ihaskell-" @@ -2111,14 +2111,14 @@ msgid "" "tags](https://hub.docker.com/r/crosscompass/ihaskell-notebook/tags)" msgstr "" -#: ../../using/selecting.md:217 a7ab24084417400e925fd7a1abf44d43 +#: ../../using/selecting.md:217 b3ce05126a0e418cae9f13448ec82e5a msgid "" "`crosscompass/ihaskell-notebook` is based on " "[IHaskell](https://github.com/gibiansky/IHaskell). Includes popular " "packages and example notebooks." msgstr "" -#: ../../using/selecting.md:220 f54173503a8242b3939acfe4ebc18f9f +#: ../../using/selecting.md:220 49c0e408bff5431584a43e1d59af4ac4 msgid "" "Try it on " "[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jamesdbrock" @@ -2126,7 +2126,7 @@ msgid "" "notebook/master?urlpath=lab/tree/ihaskell_examples/ihaskell/IHaskell.ipynb)" msgstr "" -#: ../../using/selecting.md:223 8eba9376669548bdad7560e6a2fd96dc +#: ../../using/selecting.md:223 f68a02301fa14434a61555a38cd2e84d msgid "" "[java-notebook is a community Jupyter Docker Stack " "image](https://github.com/jbindinga/java-notebook). The image includes " @@ -2136,7 +2136,7 @@ msgid "" "/java-notebook/master)." msgstr "" -#: ../../using/selecting.md:228 bf7a7c93f4ab4b27b66180eb5e59ac2e +#: ../../using/selecting.md:228 44a8b0fa38864a8aa0696dd9d9a5d415 msgid "" "[sage-notebook](https://github.com/sharpTrick/sage-notebook) is a " "community Jupyter Docker Stack image with the " @@ -2146,7 +2146,7 @@ msgid "" "/sage-notebook/master)." msgstr "" -#: ../../using/selecting.md:233 da4d3b91a5d446dcb64ea2c0d41dab6b +#: ../../using/selecting.md:233 ce2e56a284e14ba8aacaf273a387f00f msgid "" "[GPU-Jupyter](https://github.com/iot-salzburg/gpu-jupyter/): Leverage " "Jupyter Notebooks with the power of your NVIDIA GPU and perform GPU " @@ -2157,7 +2157,7 @@ msgid "" "**Keras** and **PyTorch** on top of it." msgstr "" -#: ../../using/selecting.md:239 1bd0eba23fc04ed48381635d28b9a296 +#: ../../using/selecting.md:239 2f30281a9d974c66b0e35e6f76230600 msgid "" "[cgspatial-notebook](https://github.com/SCiO-systems/cgspatial-notebook) " "is a community Jupyter Docker Stack image. The image includes major " @@ -2167,30 +2167,40 @@ msgid "" "/SCiO-systems/cgspatial-notebook/master)" msgstr "" -#: ../../using/selecting.md:244 970bca086d61409ea1d5ef08e1efe242 +#: ../../using/selecting.md:244 a6d35dbd418f4644b3f8c46d54e30a33 +msgid "" +"[kotlin-notebook](https://github.com/knonm/kotlin-notebook) is a " +"community Jupyter Docker Stack image. The image includes [Kotlin kernel " +"for Jupyter/IPython](https://github.com/Kotlin/kotlin-jupyter) on top of " +"the `base-notebook` image. Try it on Binder: " +"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/knonm" +"/kotlin-notebook/main)" +msgstr "" + +#: ../../using/selecting.md:249 dae23b5b06354187a585e5ba1691b5ad msgid "" "See the [contributing guide](../contributing/stacks.md) for information " "about how to create your own Jupyter Docker Stack." msgstr "" -#: ../../using/specifics.md:1 610db5f6d2954809800acb4c03e14346 +#: ../../using/specifics.md:1 86d54ca1b9d1407db1ab08617644bf44 msgid "# Image Specifics" msgstr "" # 06b0d21a881140a29e17e5b9fa5598ab -#: ../../using/specifics.md:3 6539840aafe94485b7fc5d4ed98f3e53 +#: ../../using/specifics.md:3 66a031131cc44589b5bbf2cb5a63f6c4 msgid "This page provides details about features specific to one or more images." msgstr "" -#: ../../using/specifics.md:5 a446a3ec03ad477883e2efc26a30e587 +#: ../../using/specifics.md:5 7290cd2184004cf8a64ff75875370776 msgid "## Apache Sparkā„¢" msgstr "" -#: ../../using/specifics.md:7 9c13613fc91145f7a7132f61e63ab04b +#: ../../using/specifics.md:7 5d34389ab27e48c8bf2359369c193eab msgid "### Specific Docker Image Options" msgstr "" -#: ../../using/specifics.md:9 71de88dd5ae14a24ab03fcc535540345 +#: ../../using/specifics.md:9 188cdfe7a8e442b6aec748be80183972 msgid "" "`-p 4040:4040` - The `jupyter/pyspark-notebook` and `jupyter/all-spark-" "notebook` images open [SparkUI (Spark Monitoring and Instrumentation " @@ -2202,18 +2212,18 @@ msgid "" "8888:8888 -p 4040:4040 -p 4041:4041 jupyter/pyspark-notebook`." msgstr "" -#: ../../using/specifics.md:11 d13b062cb87e493bad837706d8061beb +#: ../../using/specifics.md:11 727a3c7296a741109062c0184184f756 msgid "### Build an Image with a Different Version of Spark" msgstr "" -#: ../../using/specifics.md:13 ddc67aebb0cf47deb2f9e67d88eea313 +#: ../../using/specifics.md:13 8f99a828952b4c8bbac99289cd013d8e msgid "" "You can build a `pyspark-notebook` image (and also the downstream `all-" "spark-notebook` image) with a different version of Spark by overriding " "the default value of the following arguments at build time." msgstr "" -#: ../../using/specifics.md:15 4bbb10c7aa2b41a1b00a19ea13fa696e +#: ../../using/specifics.md:15 75bc23e303f74e9188553b640f03bfe3 msgid "" "Spark distribution is defined by the combination of the Spark and the " "Hadoop version and verified by the package checksum, see [Download Apache" @@ -2225,33 +2235,33 @@ msgid "" "package checksum (`BFE4540...`)." msgstr "" -#: ../../using/specifics.md:19 69894cea127a4d6f8759524f04957c35 +#: ../../using/specifics.md:19 dbe921837c694702a25f6b4e1338be71 msgid "" "Spark is shipped with a version of Py4J that has to be referenced in the " "`PYTHONPATH`. * `py4j_version`: The Py4J version (`0.10.9`), see the tip " "below." msgstr "" -#: ../../using/specifics.md:21 e1413298726f4c9eb5ed0786c03d092b +#: ../../using/specifics.md:21 7701dd1550ea442db56120e20462d6cd msgid "" "Spark can run with different OpenJDK versions. * `openjdk_version`: The " "version of (JRE headless) the OpenJDK distribution (`11`), see [Ubuntu " "packages](https://packages.ubuntu.com/search?keywords=openjdk)." msgstr "" -#: ../../using/specifics.md:24 469ba8adf5654ef8aa84a31e811363ec +#: ../../using/specifics.md:24 a8810c0e436647a88364be1f30c524ca msgid "" "For example here is how to build a `pyspark-notebook` image with Spark " "`2.4.6`, Hadoop `2.7` and OpenJDK `8`." msgstr "" -#: ../../using/specifics.md:26 bb865df52f474e5aaf1aefc384e9fa55 +#: ../../using/specifics.md:26 c8af408d92dd4299aae73da6ea55f9ad msgid "" "```bash # From the root of the project # Build the image with different " "arguments docker build --rm --force-rm \\" msgstr "" -#: ../../using/specifics.md:30 3cadfd539f4941a990188f4392f6252f +#: ../../using/specifics.md:30 66f440c49c824f09973bbf49f5233767 msgid "" "-t jupyter/pyspark-notebook:spark-2.4.6 ./pyspark-notebook \\ --build-arg" " spark_version=2.4.6 \\ --build-arg hadoop_version=2.7 \\ --build-arg " @@ -2259,26 +2269,26 @@ msgid "" " \\ --build-arg openjdk_version=8 \\ --build-arg py4j_version=0.10.7" msgstr "" -#: ../../using/specifics.md:37 4cf9f4d4a5ce4c9883a74b22fce6baa6 +#: ../../using/specifics.md:37 7fe6bec7d5d545cd9977db9f8faeff09 msgid "" "# Check the newly built image docker images jupyter/pyspark-" "notebook:spark-2.4.6" msgstr "" -#: ../../using/specifics.md:40 3e077231b3d443e1b4b6279459f4cde4 +#: ../../using/specifics.md:40 d02688bc1c4d4a45aa5e5eae81cd12ff msgid "" "# REPOSITORY TAG IMAGE ID " "CREATED SIZE # jupyter/pyspark-notebook spark-2.4.6" " 7ad7b5a9dbcd 4 minutes ago 3.44GB" msgstr "" -#: ../../using/specifics.md:43 f3ed1da85df34cbc8c426e8c8fc5bdf9 +#: ../../using/specifics.md:43 328369e66755489fbaa262d00bedc155 msgid "" "# Check the Spark version docker run -it --rm jupyter/pyspark-" "notebook:spark-2.4.6 pyspark --version" msgstr "" -#: ../../using/specifics.md:46 3d035b787bfc4a228ff10f51cd44d99f +#: ../../using/specifics.md:46 fa9fa657ea4042b3a873bd35a448088f msgid "" "# Welcome to # ____ __ # / __/__ ___ _____/ /__ " "# _\\ \\/ _ \\/ _ `/ __/ '_/ # /___/ .__/\\_,_/_/ /_/\\_\\ " @@ -2286,26 +2296,26 @@ msgid "" " Server VM, 1.8.0_265 ```" msgstr "" -#: ../../using/specifics.md:56 31b8dc1c114941bd9bf6e08d31975fc3 +#: ../../using/specifics.md:56 bd6f0c3ba7d9499cb31c97284b113db6 msgid "**Tip**: to get the version of Py4J shipped with Spark:" msgstr "" -#: ../../using/specifics.md:58 779f0419127c4ed1aae8e49623df05ec +#: ../../using/specifics.md:58 ec11d36d578f42e8a56a858468e386c8 msgid "" "Build a first image without changing `py4j_version` (it will not prevent " "the image to build it will just prevent Python to find the `pyspark` " "module)," msgstr "" -#: ../../using/specifics.md:59 e842f5da10614dbe9d293cd14da3ea79 +#: ../../using/specifics.md:59 0919c595b7254ba28a0abf5fae6d2a10 msgid "get the version (`ls /usr/local/spark/python/lib/`)," msgstr "" -#: ../../using/specifics.md:60 0932dee630c8489a94559651b7d4abc6 +#: ../../using/specifics.md:60 283b49935ae14d08b5095bcb1b5c093d msgid "set the version `--build-arg py4j_version=0.10.7`." msgstr "" -#: ../../using/specifics.md:62 552a757e8f01481e898e2580ef5ef569 +#: ../../using/specifics.md:62 caedf566b6764d53a2f564aee3db4c2e msgid "" "```bash docker run -it --rm jupyter/pyspark-notebook:spark-2.4.6 ls " "/usr/local/spark/python/lib/ # py4j-0.10.7-src.zip PY4J_LICENSE.txt " @@ -2313,18 +2323,18 @@ msgid "" "```" msgstr "" -#: ../../using/specifics.md:69 d5c720c709de4934923991341a5057d9 +#: ../../using/specifics.md:69 ceb48699bdca401481a51156b8627264 msgid "" "*Note: At the time of writing there is an issue preventing to use Spark " "`2.4.6` with Python `3.8`, see [this answer on " "SO](https://stackoverflow.com/a/62173969/4413446) for more information.*" msgstr "" -#: ../../using/specifics.md:71 13896e04d86a4d2ab56f7d12f6922059 +#: ../../using/specifics.md:71 af20cbdd8c164d99b068f22ea87451f8 msgid "### Usage Examples" msgstr "" -#: ../../using/specifics.md:73 a20f904d66224a43be32e9837bb9093b +#: ../../using/specifics.md:73 96acfc3577a142319943bcd590adb3f3 msgid "" "The `jupyter/pyspark-notebook` and `jupyter/all-spark-notebook` images " "support the use of [Apache Spark](https://spark.apache.org/) in Python, " @@ -2332,31 +2342,31 @@ msgid "" "how to get started using them." msgstr "" -#: ../../using/specifics.md:75 d768a74482ff4078956ff711f9b56048 +#: ../../using/specifics.md:75 0ba7fef2560d4c5492bda46da5dfd4c4 msgid "#### Using Spark Local Mode" msgstr "" -#: ../../using/specifics.md:77 67f3d0fb7d6e4ee1bc78c84cbe734960 +#: ../../using/specifics.md:77 77f25afc130a4dd6971bc9741596b59b msgid "" "Spark **local mode** is useful for experimentation on small data when you" " do not have a Spark cluster available." msgstr "" #: ../../using/specifics.md:79 ../../using/specifics.md:167 -#: 0082d5a4876f4e92a05a427df60bc2fc 3835244c7692423397372f5ac0b09d98 +#: 1978a5189b4f4ddd9b61e828e44c8ab2 6c47ad5038d945ce83ab232d1d9eb5cf msgid "##### In Python" msgstr "" -#: ../../using/specifics.md:81 26b2749a420849dc911fe456a2857377 +#: ../../using/specifics.md:81 ad8fa828a7cf42e9b6bff07408893331 msgid "In a Python notebook." msgstr "" #: ../../using/specifics.md:83 ../../using/specifics.md:172 -#: 70928417e9884401aa3e89580b074bee 7cac6da422e14c7798aa841552daba96 +#: 8175512d100c42f9bcc0ab4b17b55a5b c5e58de2563b437c8319bc6724c5e7d5 msgid "```python from pyspark.sql import SparkSession" msgstr "" -#: ../../using/specifics.md:86 9c90c8568b6c4bc8a7a79c2989f463ac +#: ../../using/specifics.md:86 ca3e3e869bad4d3dbffa5c166fe4b53c msgid "" "# Spark session & context spark = " "SparkSession.builder.master('local').getOrCreate() sc = " @@ -2364,102 +2374,102 @@ msgid "" msgstr "" #: ../../using/specifics.md:90 ../../using/specifics.md:179 -#: 3e36a5a5822d49139e2660f99dd62426 55e63986517048318d16426b4e264fb7 +#: a4db73c9cf934e4b9a2ff941612b9821 c64e4edd8f224e459ef9edef866f2be8 msgid "" "# Sum of the first 100 whole numbers rdd = sc.parallelize(range(100 + 1))" " rdd.sum() # 5050 ```" msgstr "" #: ../../using/specifics.md:96 ../../using/specifics.md:185 -#: 4a0dccdfe65a4d4e9d4f02c1e4e0ae93 58e4efe6e41d41a5a7fb7ff8bd2f9bc8 +#: 5ad79dd298b644ea9ab631e9de0cfddf 9c63eb255b5b43c6874f5bd0f646d29d msgid "##### In R" msgstr "" #: ../../using/specifics.md:98 ../../using/specifics.md:187 -#: 78d845feda7a4d2e9a3930cd80be45de 8d4c8f96468a40bda5d281bf1c427116 +#: 04896111e96841e89418e346681cbf09 7a02232142e647ad88d6ed8f236633a1 msgid "In a R notebook with [SparkR][sparkr]." msgstr "" #: ../../using/specifics.md:100 ../../using/specifics.md:189 -#: 00084a77cfab4af9ad6cf15bb004686f eb9f49495bfe4490b3fa4ebfd1bdfe1e +#: 0e662421fffd48d49f8479504f82b049 6f1db894e71842319a33b3caad6b3783 msgid "```R library(SparkR)" msgstr "" -#: ../../using/specifics.md:103 597e6df11c7842cba5b342fa22702796 +#: ../../using/specifics.md:103 24fee9d7aec44bcb8ee97464a1e704f7 msgid "# Spark session & context sc <- sparkR.session(\"local\")" msgstr "" #: ../../using/specifics.md:106 ../../using/specifics.md:195 -#: 164e5e48218b4d4bb618c8776722f8be e55efcd3b35e478b83a455a50dbbe550 +#: cda5eedba81247ffa592d13615b05e52 ea11e9f0360c4a81ae0a7805582a8c1d msgid "" "# Sum of the first 100 whole numbers sdf <- createDataFrame(list(1:100)) " "dapplyCollect(sdf," msgstr "" #: ../../using/specifics.md:109 ../../using/specifics.md:198 -#: 369bb44d66374eefa1f1e24854c7467b 7694998180d649139772b7d8327c4420 +#: 14116e9b25d34689aafd34b844c07929 91e71c4391984d74beeb5a1985796102 msgid "function(x) { x <- sum(x)}" msgstr "" #: ../../using/specifics.md:111 ../../using/specifics.md:200 -#: 7b6ed8bcafc247d7a175e4a20c698099 d14f1b52b3d94506ae0ef3b17e870dff +#: 5758ab1dec4d4cbfaf47f2ad21ac9942 d8784b93f21d4a8fb0963cc4190d396b msgid ")" msgstr "" #: ../../using/specifics.md:112 ../../using/specifics.md:131 #: ../../using/specifics.md:201 ../../using/specifics.md:219 -#: 7faba7c493af476d9c167b3ecb370bec 96e3a87a675243b5afcc142f8da44988 -#: a4df160d3304453ab0f735cdb62288ab d89cbee84c2648229393e091ebec7782 +#: 28201c0bcbc645e7abfd67c03c1c6713 655ef7ea2b7f4649844ca0e83a75869d +#: 747e0ffc37a04221bd7d27cec1ba2230 83f0c56c94d348b3966ac442502a584d msgid "# 5050 ```" msgstr "" #: ../../using/specifics.md:115 ../../using/specifics.md:204 -#: 533b4790d063440494379d8a041f64fb b99e80fc4410465d9fee04cbecce53bc +#: 0c6fc2d6e7fc4734ab5a030bd1204e9f fe6179d4bda943b1913a86267ba6b49e msgid "In a R notebook with [sparklyr][sparklyr]." msgstr "" #: ../../using/specifics.md:117 ../../using/specifics.md:206 -#: 0fdc0cdcb9734ee1adbb0e2468f0a849 7eb65bf1695840919fdc7f42db22ea97 +#: 2024b90cbca747e0bb77bb1d9412ffca c5510799bc8a4255a366f6b77caad0c9 msgid "```R library(sparklyr)" msgstr "" -#: ../../using/specifics.md:120 fdb48b27b5cd4375b5cda8a729741ba6 +#: ../../using/specifics.md:120 57ed8b72c1b940a5a431f24fa0543af6 msgid "" "# Spark configuration conf <- spark_config() # Set the catalog " "implementation in-memory conf$spark.sql.catalogImplementation <- \"in-" "memory\"" msgstr "" -#: ../../using/specifics.md:125 9c2fff94b1aa4555868c73699e9f58f6 +#: ../../using/specifics.md:125 061dda929aa04ffd8e96d80fa0a20c6b msgid "" "# Spark session & context sc <- spark_connect(master = \"local\", config " "= conf)" msgstr "" #: ../../using/specifics.md:128 ../../using/specifics.md:216 -#: 2cd9c87a8e4644c2b9aeab2f01559c17 9861803cec1d410eae35803fcc479365 +#: 6f1bc00a3b984b76832bce4246acbea5 bbf6b42c5e3943f2bedf68777fbe7453 msgid "# Sum of the first 100 whole numbers sdf_len(sc, 100, repartition = 1) %>%" msgstr "" #: ../../using/specifics.md:130 ../../using/specifics.md:218 -#: 8e9b7a51ed0b4fe1892b64b5fd655aa1 ef83bd5f6a65489eabd56c40a30d742c +#: 0c354d57b1244937a00840523819fbaa a96d1c9b060a4439822dfeb404c0fe1f msgid "spark_apply(function(e) sum(e))" msgstr "" #: ../../using/specifics.md:134 ../../using/specifics.md:222 -#: 3ff0b0f05bb545f6b877768bfaa72eef fcd7baf5815d4d6385ca906a390a5a6b +#: 950587ebccc0423ab5ed48239b37609c fb2aeecc9dbb463f99b049387baa1b5f msgid "##### In Scala" msgstr "" #: ../../using/specifics.md:136 ../../using/specifics.md:224 -#: 51b504e2135e459fbbecc1bc768b7800 cce9a26631d6425ab0e5f045240d9da6 +#: 1711fb550a1141839befe836b28c12c7 466d48f71c9342f58fc91c7079c9a535 #, 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:139 c192b66b06044f34a9d1a0ad48722c73 +#: ../../using/specifics.md:139 049a98ecddfb4b2a8cbf41d83a862957 #, python-format msgid "" "```python %%init_spark # Configure Spark to use a local master " @@ -2467,17 +2477,17 @@ msgid "" msgstr "" #: ../../using/specifics.md:145 ../../using/specifics.md:233 -#: 56f1268568344df88d656a46077af580 de16a66a2c6a4c9fb8c26547b03c966e +#: b961acf30fc64ae9b3b4513272f1d986 cfbcea5e4e6448dea7800bd5d6ccb640 msgid "" "```scala // Sum of the first 100 whole numbers val rdd = sc.parallelize(0" " to 100) rdd.sum() // 5050 ```" msgstr "" -#: ../../using/specifics.md:152 57bca952dda44e53bfb513d3cafa0ac2 +#: ../../using/specifics.md:152 87de22b8cfde435dbeafe1fc755ab3f3 msgid "#### Connecting to a Spark Cluster in Standalone Mode" msgstr "" -#: ../../using/specifics.md:154 3774d9648f374f6396ab19ac1959779a +#: ../../using/specifics.md:154 0842690900704de5961179999d433161 msgid "" "Connection to Spark Cluster on **[Standalone " "Mode](https://spark.apache.org/docs/latest/spark-standalone.html)** " @@ -2485,19 +2495,19 @@ msgid "" msgstr "" # 2c728588b6df4753a0c08f969364a79a -#: ../../using/specifics.md:156 2f68008f33714abd810b0cb6874fc15c +#: ../../using/specifics.md:156 335d946dfb164f6e833b9a491f8ec361 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:158 705093639d034ea1b7e4954447bc8f41 +#: ../../using/specifics.md:158 c56abf2875cb4ffc9cc2e0d5484acdd9 msgid "" "[Deploy Spark in Standalone Mode](http://spark.apache.org/docs/latest" "/spark-standalone.html)." msgstr "" -#: ../../using/specifics.md:159 4e9e1538f3e843f1b677084462fe63f8 +#: ../../using/specifics.md:159 79a022fea70647b7b264f29be9996013 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 " @@ -2507,14 +2517,14 @@ msgid "" "https://github.com/jupyter/docker-stacks/issues/64 for details." msgstr "" -#: ../../using/specifics.md:165 abcf913126e2488f8e2b1ef03846a837 +#: ../../using/specifics.md:165 dc7b9bd9962f4bf4b004a901ca08fb92 msgid "" "**Note**: In the following examples we are using the Spark master URL " "`spark://master:7077` that shall be replaced by the URL of the Spark " "master." msgstr "" -#: ../../using/specifics.md:169 4d430231bd4347a394a879a637f9450a +#: ../../using/specifics.md:169 c7a6931e61e74ffbb1064c57abe0bd8c msgid "" "The **same Python version** need to be used on the notebook (where the " "driver is located) and on the Spark workers. The python version used at " @@ -2523,18 +2533,18 @@ msgid "" "Configuration][spark-conf] for more information." msgstr "" -#: ../../using/specifics.md:175 2aad80c7ea0d4496902e0e1810b8eaca +#: ../../using/specifics.md:175 6fe83486fa934ae493ae2ef3d03e1818 msgid "" "# Spark session & context spark = " "SparkSession.builder.master('spark://master:7077').getOrCreate() sc = " "spark.sparkContext" msgstr "" -#: ../../using/specifics.md:192 7bf4339efc6d4c67a4fb4f3102396813 +#: ../../using/specifics.md:192 391e67b82f294d2fb8d74827adc5f0e5 msgid "# Spark session & context sc <- sparkR.session(\"spark://master:7077\")" msgstr "" -#: ../../using/specifics.md:209 ad684dcf871a4a7a92dab34763387c47 +#: ../../using/specifics.md:209 5b21d9ea6f8e4acf863892fbf6e386eb msgid "" "# Spark session & context # Spark configuration conf <- spark_config() # " "Set the catalog implementation in-memory " @@ -2542,61 +2552,61 @@ msgid "" "spark_connect(master = \"spark://master:7077\", config = conf)" msgstr "" -#: ../../using/specifics.md:227 cc74638e557341608d7fc6e9ad01ba98 +#: ../../using/specifics.md:227 f4bf53623874426fb66f241d45d1f59c #, python-format msgid "" "```python %%init_spark # Configure Spark to use a local master " "launcher.master = \"spark://master:7077\" ```" msgstr "" -#: ../../using/specifics.md:240 be1ceaed78c0432499cf4bd35e4563a3 +#: ../../using/specifics.md:240 6f9eb8c044dd499386b9e69be858cbf4 msgid "## Tensorflow" msgstr "" -#: ../../using/specifics.md:242 ac368f0be37341a6856a6acad8a57baf +#: ../../using/specifics.md:242 e189c463496d4e41997a8b492d530598 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:245 d9ee28f979b5497abd2297f54342b84a +#: ../../using/specifics.md:245 51bc8e075dbd4779a48ee437750adc21 msgid "### Single Machine Mode" msgstr "" #: ../../using/specifics.md:247 ../../using/specifics.md:261 -#: 0c6f41269be445389203dbc4f534d4cb e71a05eb74d8401e9ed7c25baf48c660 +#: 0a0ac50f800342e8b7fdd8cdc95fb4fd 5c9f93fad07143fe8efc55ecc0fe09e6 msgid "```python import tensorflow as tf" msgstr "" -#: ../../using/specifics.md:250 f35964790d764814a636107b6f5c8a6e +#: ../../using/specifics.md:250 937fe902280c48a1917bf660603dbac3 msgid "hello = tf.Variable('Hello World!')" msgstr "" -#: ../../using/specifics.md:252 b8376f2688ed46fd8c0e81377d0dfad1 +#: ../../using/specifics.md:252 77384eee021a4e09b4acd42f6841fd6d msgid "sess = tf.Session() init = tf.global_variables_initializer()" msgstr "" #: ../../using/specifics.md:255 ../../using/specifics.md:270 -#: 8d5514fef325441aacb5f2b86e5e96a0 f9e5b8deb7eb4b61b26c12b06f4f9506 +#: 74556cf01b094fccba40e3d57a1fbcaf b9dfa2211d094bf2bbd437196c0cc82d msgid "sess.run(init) sess.run(hello) ```" msgstr "" -#: ../../using/specifics.md:259 2d177ee85df946b995978b1ef79ead37 +#: ../../using/specifics.md:259 5e832653810d4b849f5d7c61406497da msgid "### Distributed Mode" msgstr "" -#: ../../using/specifics.md:264 0277dc46a39a4273be0149c2d868d4b3 +#: ../../using/specifics.md:264 88db83f11a0348dd986c0cdb3ecfeba1 msgid "hello = tf.Variable('Hello Distributed World!')" msgstr "" -#: ../../using/specifics.md:266 ffbe6e3581884d08826de997f4bdd1c7 +#: ../../using/specifics.md:266 907b48bd29fb460482c26dc897bc4573 msgid "" "server = tf.train.Server.create_local_server() sess = " "tf.Session(server.target) init = tf.global_variables_initializer()" msgstr "" -#: ../../using/specifics.md:274 0005051029754603b1df18ad7e3fa60b +#: ../../using/specifics.md:274 ea5be1d2fd584bcaaccbde22bc1c1cbd msgid "" "[sparkr]: https://spark.apache.org/docs/latest/sparkr.html [sparklyr]: " "https://spark.rstudio.com/ [spark-conf]: "