diff --git a/docs/locale/en/LC_MESSAGES/using.po b/docs/locale/en/LC_MESSAGES/using.po index d11519fa..2057d971 100644 --- a/docs/locale/en/LC_MESSAGES/using.po +++ b/docs/locale/en/LC_MESSAGES/using.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: docker-stacks latest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-11-29 15:42+0000\n" +"POT-Creation-Date: 2020-11-29 19:01+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,11 +18,11 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.0\n" -#: ../../using/common.md:1 c72372624ee24e5c989879aa7fb1c806 +#: ../../using/common.md:1 1f3af63a4c3a48eb97117abbb84571a3 msgid "# Common Features" msgstr "" -#: ../../using/common.md:3 468f0f389fe040899c57b74f65d9bd30 +#: ../../using/common.md:3 5ed850611d1d4b6dad26fde7a630fe24 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 68daf2eb343847769b7626a32d5102f8 +#: ../../using/common.md:5 9909628cc7814197a67b41f5814e3844 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 ca069e879fb34d429b0cdff09be84db9 +#: ../../using/common.md:7 eac31b4ca9574d24a105de35a631ee7b msgid "## Notebook Options" msgstr "" -#: ../../using/common.md:9 1b52157f7b8e41f8aeb8e433ab18e748 +#: ../../using/common.md:9 3a52cfbcdd6e4f8f8de3af5bca7eeca2 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 ad4e82cfe01a4aa699eb9f74cbacd13a +#: ../../using/common.md:11 9b74b9a6036e44a58137f42b51e90d57 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 43978bd2ec1147799584dd2562f951ad +#: ../../using/common.md:15 1e5e4140b9c2476093f3f416a23a2696 msgid "" "For example, to set the base URL of the notebook server, you can run the " "following:" msgstr "" -#: ../../using/common.md:17 884fc4e0e21444c3a8ed55fb7a3829c3 +#: ../../using/common.md:17 eeb0b602267b493d9b4131fd77003600 msgid "" "```bash docker run -d -p 8888:8888 jupyter/base-notebook start-" "notebook.sh --NotebookApp.base_url=/some/path ```" msgstr "" -#: ../../using/common.md:21 0641bf2f8dd749e5a60397ba8c1714a0 +#: ../../using/common.md:21 65b40d762e9249e69f622471bd533f83 msgid "## Docker Options" msgstr "" -#: ../../using/common.md:23 79c3b471d0c84ac6b9d2ff688b095ff1 +#: ../../using/common.md:23 ba4cfd144d414955b4c186b7d3006310 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 9b179863a1f446e2959b2aa5d2592c48 +#: ../../using/common.md:26 7c2ed5de6128447aaa304fd444be98de 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 81e88f435d174159849171437858dc4b +#: ../../using/common.md:27 409d5c580a394859bdeafb1bd1ca1cff 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 bbf5e786968743c3a83835c3198f9e67 +#: ../../using/common.md:28 192a262a005d41019443bd2bc07cf233 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 7b8b8336dadf4718bc651a1f06df5f31 +#: ../../using/common.md:29 9ac089ca6a7e4f929da0f0c09504cb6b 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 d44bdb7c89f4440c942644ca11ddfeb6 +#: ../../using/common.md:30 ef41f9c45e174122b58635242a38de7b 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 f3d3b778060c48c6831aec9f7d70f890 +#: ../../using/common.md:31 bc94e16ac0d04110aca5c22a0a189801 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 617cf09d0a69483080fce1222acf972e +#: ../../using/common.md:32 33365bc6c1714d56a3e612ec7413f414 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 719860a87aa0471db4be0887bd90ef69 +#: ../../using/common.md:33 c81a2d5ff0694058a55595f57cb3254a 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 5a5198fe5bf749e0b861e90ca924b144 +#: ../../using/common.md:34 684ec71e04734719a78c7aa7ef9e2f80 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 c6d5a9ad30b545eda5b3b2d1eec2166f +#: ../../using/common.md:35 681f7454ba0e4af5b0557b5cbe194828 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 72a6087bc4884ca28d3e6e5b4e0f5d7a +#: ../../using/common.md:36 ddd6484c569e4d6abd40525b5bbad2a0 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 108c6d68b0ef465aa55df65a2092112f +#: ../../using/common.md:37 83bd699017694714b2df8816cad7d123 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 426366e3e79941e989f6d00aebaf9619 +#: ../../using/common.md:38 ca6a0bb0565043afaf50f78d3196babc 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 518b20a2e59e48efb1a14b387a67319a +#: ../../using/common.md:40 5e7955ecaf4f449e82d643901e740405 msgid "## Startup Hooks" msgstr "" -#: ../../using/common.md:42 7d59f94028ae42829dbf61195ad5cb19 +#: ../../using/common.md:42 438770c029254c58859852a93990cca7 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 93104386c2ce4f94bdd84fb4c231f021 +#: ../../using/common.md:45 b9ca1941f8604a80bb1819e586defba3 msgid "" "`/usr/local/bin/start-notebook.d/` - handled before any of the standard " "options noted above are applied" msgstr "" -#: ../../using/common.md:47 d605dc6e819147598d27fb7ab6abf13f +#: ../../using/common.md:47 ee6d352328404046ba7e1fe5fbbe807b 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 eb3142527c8745f68c0d5c27250b13dd +#: ../../using/common.md:50 898da1f4b4274d5287ef74f8dbdd8fc6 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 620ca477fc104a4db6da148cac317b85 +#: ../../using/common.md:53 47b3bf954f134801b6a85d1404d0acbb msgid "## SSL Certificates" msgstr "" -#: ../../using/common.md:55 38c4b7874eef428fa548ade89d5ca004 +#: ../../using/common.md:55 345841b07d87437380589973ea7f3725 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 -#: a4c128a2188244f095fd30f5fd6c5041 bff4c80070424034948dc027c669718c +#: 2623059c805346589301a988c1ed317b 38dd68547dcd44658a028a0aa0060d1c msgid "```bash docker run -d -p 8888:8888 \\" msgstr "" -#: ../../using/common.md:59 d566748283a847bea6f8d784a3d130d8 +#: ../../using/common.md:59 a621b7b83efe43288be843e8ce917438 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 -#: 07aa11653d884b32b17c5f63a4de0092 15f7218d419a4bab9323bbaa10df8920 -#: 7a5637f3847848a6a4e36669e5069257 912a993cf1c54e6ba1653a0bfd37e869 -#: a3504b5f24774e9abcfb037461d3c7a4 b738100fc5864499983aa1224bada63e -#: bb10f0cc3f2f4831a4eb646a0b43b37b f056e579bbfa49809e3cb80980b45544 -#: f750522f49f940a7a651721a8b683990 +#: 67a983fc24644bcf895f0250458f03ae 6a4b3188877042a7958401c5bde78cef +#: 6bf56b176abb4df088904c9cdcef4ba4 72a147e4738d4b9781547142ba10e334 +#: 74824839a0c640879a748a902af073e0 8ef44fa787ac44708174a0e4d991c932 +#: 959985fc4adc4d588b4a6e1726e1da88 aaa8e079999f4aedbfd53cffdb00d1c4 +#: de7a74ec868f47c0b12b057ddcd72ceb msgid "```" msgstr "" # e496d62ce1b7489eabf40a55471247b4 -#: ../../using/common.md:65 843aa2e3fa304b36b9a3d7ca978f66bf +#: ../../using/common.md:65 2a2352ef275a4f11a6498694690596ab msgid "" "Alternatively, you may mount a single PEM file containing both the key " "and certificate. For example:" msgstr "" -#: ../../using/common.md:69 b84a004d43fb414783e92a6712bb3acf +#: ../../using/common.md:69 1cbd5dfc7cb04e6fabe5301638555f78 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 04c778a4cf634849bb9382ac16ef008d +#: ../../using/common.md:74 add13646bc6a473ea440c8f5efa6db90 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 4f218a47b54c4b3a9678c67cd17382dc +#: ../../using/common.md:76 40435daabf1b4e5bbd48ce412df31dfb msgid "For additional information about using SSL, see the following:" msgstr "" -#: ../../using/common.md:78 a7c263d89f3e40c1ae358ae05e1b014a +#: ../../using/common.md:78 5e91fab8c55548e28a6c11981b85b701 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 c0a0c75c7c864b32a2e125a198f13279 +#: ../../using/common.md:79 d9ba871dea4d4ffe9182b9bb08492a62 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 4f786da91e1546e5a947f3196998ec27 +#: ../../using/common.md:80 91dcf9bb42b84157ba53af8354fa89c3 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 1eafc8614e8f48fa9852c1d9ca661c8d +#: ../../using/common.md:82 a91e62785d3740d79c4f5ba62ec94efe msgid "## Alternative Commands" msgstr "" -#: ../../using/common.md:84 5e9625db98704386a599a2a71667f3e6 +#: ../../using/common.md:84 8792fd5aa14444dbbaafb364b7946dc9 msgid "### start.sh" msgstr "" -#: ../../using/common.md:86 7adda98cfa3f4cf1bf5f806663d4b461 +#: ../../using/common.md:86 fd5861b61c2a457981de1bbdb2143757 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 c847d13c98004d7f8081f81bd38271fd +#: ../../using/common.md:88 c7bbc9b602a841e985840028e198a744 msgid "```bash docker run -it --rm jupyter/base-notebook start.sh ipython ```" msgstr "" # ad0be3e8095e4394afb367e9e56e1ca5 -#: ../../using/common.md:92 84fe5c7f03ed4d188b7dbc1879020892 +#: ../../using/common.md:92 8cefa8c6acc14feab13614e916e89af5 msgid "Or, to run JupyterLab instead of the classic notebook, run the following:" msgstr "" -#: ../../using/common.md:94 53e77907d56146c78a7d78fb433a482f +#: ../../using/common.md:94 79df2a9a39bd4503b0a10e4915615ba2 msgid "" "```bash docker run -it --rm -p 8888:8888 jupyter/base-notebook start.sh " "jupyter lab ```" msgstr "" -#: ../../using/common.md:98 699ce44aa3dc4affb31e8c43fcace53e +#: ../../using/common.md:98 15eb8a90852f463ea22fe0726e3fca16 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 9c9603df7c4b4b578cb56dcc8e310a90 +#: ../../using/common.md:100 edded9afa65a41aeb35cf3c172111abe msgid "### Others" msgstr "" -#: ../../using/common.md:102 25a6ab8df7214a2aa83bb338f34f75b4 +#: ../../using/common.md:102 20db635f833b47849a35c7e1ce30dce6 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 080b8a5a4e134cd39b857b9f3315666a +#: ../../using/common.md:104 4367248618664d26a27ce90cbf9fb494 msgid "## Conda Environments" msgstr "" -#: ../../using/common.md:106 36becc88299942d19af55b94949ef42e +#: ../../using/common.md:106 3cbbc33945064a099a3497d82e59dc1c 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 f55c30dc6ff643048ac7687c580887dc +#: ../../using/common.md:108 db94b7a0001c43ca94ff8a686c40b301 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 f2d3889bf5b744cfa6709d08efe64ba1 +#: ../../using/common.md:110 781400c8cc004aeca0a8ae5284fd914b msgid "" "```bash # install a package into the default (python 3.x) environment pip" " install some-package conda install some-package ```" msgstr "" -#: ../../using/common.md:116 6b683fe10d4c48c2b4a0664c7394a5fc +#: ../../using/common.md:116 b744d1fdb4214b49a0a29d567de19849 msgid "### Using alternative channels" msgstr "" -#: ../../using/common.md:118 0f32f42fbfe84181991dc2b7bb73977c +#: ../../using/common.md:118 320c58b438d341da86f1bab3c12cdd54 msgid "" "Conda is configured by default to use only the [`conda-" "forge`](https://anaconda.org/conda-forge) channel. However, alternative " @@ -425,7 +425,7 @@ msgid "" "to install packages." msgstr "" -#: ../../using/common.md:122 71dbe21fe2aa4cc59f5019cf9ff97cdf +#: ../../using/common.md:122 a3560f6c2f0f4a3e8ddf6f9e819cf5f5 msgid "" "```bash # using defaults channels to install a package conda install " "--channel defaults humanize # configure conda to add default channels at " @@ -433,11 +433,11 @@ msgid "" "install a package conda install humanize ```" msgstr "" -#: ../../using/recipes.md:1 a24ffea8bf944e18a69aefedfeed6d40 +#: ../../using/recipes.md:1 d31e2d3c28f3401ea9f205a2778b97f1 msgid "# Contributed Recipes" msgstr "" -#: ../../using/recipes.md:3 52c39e5b934343fc882055718752e019 +#: ../../using/recipes.md:3 97fc2db732be4cfab2de55c93d2a1879 msgid "" "Users sometimes share interesting ways of using the Jupyter Docker " "Stacks. We encourage users to [contribute these " @@ -447,11 +447,11 @@ msgid "" "knowledge." msgstr "" -#: ../../using/recipes.md:8 6c3a382a243f4d5fb49cfb885a479672 +#: ../../using/recipes.md:8 d0765a7ab7ee4f3995807b33ee84baa0 msgid "## Using `sudo` within a container" msgstr "" -#: ../../using/recipes.md:10 d67b46cb6f284ea7a3ff9b48a9432443 +#: ../../using/recipes.md:10 dea07a3f4e74407092d5f6ae246ef85f msgid "" "Password authentication is disabled for the `NB_USER` (e.g., `jovyan`). " "This choice was made to avoid distributing images with a weak default " @@ -459,7 +459,7 @@ msgid "" "container on a publicly accessible host." msgstr "" -#: ../../using/recipes.md:14 e55029c0a9fa42fea3f235e13fa85a4c +#: ../../using/recipes.md:14 7e1fc64d50d54b55a7b2cf75a1e7d8db 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 " @@ -467,17 +467,17 @@ msgid "" msgstr "" # f75300183d66418d958651b713e3c81e -#: ../../using/recipes.md:18 f22cc6d64a474c36bc6539b6d3bc936c +#: ../../using/recipes.md:18 3c154d424e6e4c06808767595d0212f1 msgid "For example:" msgstr "" -#: ../../using/recipes.md:20 e798d7d4285644ef91f0342d633bdb96 +#: ../../using/recipes.md:20 4339a282c79b4c2e8724722507da1756 msgid "" "```bash docker run -it -e GRANT_SUDO=yes --user root jupyter/minimal-" "notebook ```" msgstr "" -#: ../../using/recipes.md:24 cd92527191b24a6cade61f9c97b0c707 +#: ../../using/recipes.md:24 c3aeb6d817354761afd67b7da3cbb7d9 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 " @@ -485,16 +485,16 @@ msgid "" " more information about running containers as `root`." msgstr "" -#: ../../using/recipes.md:27 c8eb5093dd854106956f1a04df9ea906 +#: ../../using/recipes.md:27 e8ded31a286d47e59ca7b3e10b6b3a1b msgid "## Using `pip install` or `conda install` in a Child Docker image" msgstr "" # cfb1a65ed1a4453e8b3355f1c0c23b1c -#: ../../using/recipes.md:29 cbedfa3a49e94b149f168e025bb7a028 +#: ../../using/recipes.md:29 08e2e10dbe75428fb7aa65163d1f9daa msgid "Create a new Dockerfile like the one shown below." msgstr "" -#: ../../using/recipes.md:31 b05e848eeaad46bea1609ee6bf75b1f9 +#: ../../using/recipes.md:31 88bb0c818bf84e8f8b551357023afabd msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install in the default python3 environment RUN " @@ -502,22 +502,22 @@ msgid "" msgstr "" # 3ab615dc6fb6425d954cae4ce14f08b9 -#: ../../using/recipes.md:38 5c2bbe03475d47ffb76f0d44623d0165 +#: ../../using/recipes.md:38 28f043ae82fa4ef58e62bbffacb56228 msgid "Then build a new image." msgstr "" -#: ../../using/recipes.md:40 942e5bc3d8c54ea79017523eef3609d3 +#: ../../using/recipes.md:40 d0a480168dc544c3af4fdfa78dd427df msgid "```bash docker build --rm -t jupyter/my-datascience-notebook . ```" msgstr "" -#: ../../using/recipes.md:44 8808d7bec63f47288881d5e582452dc5 +#: ../../using/recipes.md:44 8409ff079774439fba80c5e8af93cde0 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 e2c43995c7fb4e5d830ddd8d7cf2e426 +#: ../../using/recipes.md:47 f1a221a72681462180131c6dddec0c2c msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install from requirements.txt file COPY " @@ -526,17 +526,17 @@ msgid "" msgstr "" #: ../../using/recipes.md:53 ../../using/recipes.md:65 -#: ../../using/recipes.md:129 8b2953c7eb8949928697a3df14395f24 -#: a3ef18f786b441bfb1df9bb76a3b496b c0099b719c104cdd9c6f2a7e84e83b2f +#: ../../using/recipes.md:129 1897c5b369a8460e99e540fbabc28166 +#: 784994212c2f4a61bb757f4a634489b5 e38fc078ce944980a670da544e67a5d5 msgid "fix-permissions $CONDA_DIR && \\ fix-permissions /home/$NB_USER" msgstr "" # f2f035925d764425b9999b19d36c1d30 -#: ../../using/recipes.md:57 b33f75fc263345d89e12a2fb6abcf9b3 +#: ../../using/recipes.md:57 427a321608c44a499f13786a8b42992c msgid "For conda, the Dockerfile is similar:" msgstr "" -#: ../../using/recipes.md:59 6e086a92f25842a5820a4aa38e2769b1 +#: ../../using/recipes.md:59 05ba1d12fc044886aa36af8a898d0b93 msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install from requirements.txt file COPY " @@ -544,7 +544,7 @@ msgid "" "--yes --file /tmp/requirements.txt && \\" msgstr "" -#: ../../using/recipes.md:69 515a2399b984461994393cf8ee1afc7c +#: ../../using/recipes.md:69 cfc1753c8a034fcf83754b3591a6926c msgid "" "Ref: [docker-" "stacks/commit/79169618d571506304934a7b29039085e77db78c](https://github.com/jupyter" @@ -552,24 +552,24 @@ msgid "" "stacks/commit/79169618d571506304934a7b29039085e77db78c#commitcomment-15960081)" msgstr "" -#: ../../using/recipes.md:72 a339290bf820418985ac4d1f569c3d1d +#: ../../using/recipes.md:72 8e20352c8be74f9b833d464d3f7976d8 msgid "## Add a Python 2.x environment" msgstr "" -#: ../../using/recipes.md:74 9028313998f44275a2812c0bb75915a5 +#: ../../using/recipes.md:74 4668f56e99ac4c32a6aae2c3e4fe4d1c 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 61cbe44d44a14c2996b1dbc9bd0274cf +#: ../../using/recipes.md:78 e6930025465e4318b7a9103a49f28634 msgid "" "```dockerfile # Choose your desired base image FROM jupyter/scipy-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:82 6ccdbf74ab2d44979601df7c06dd3291 +#: ../../using/recipes.md:82 c6d26c50c2974ed785bc08a9a140544b msgid "" "# Create a Python 2.x environment using conda including at least the " "ipython kernel # and the kernda utility. Add any additional packages you " @@ -579,17 +579,17 @@ msgid "" msgstr "" #: ../../using/recipes.md:86 ../../using/recipes.md:116 -#: 9b0915006c5d414f96c5aa04b40a154b a9119e18e1024cb2952766aa758c1ac0 +#: 036c2577ebf540e39a4d21f67c91569c d092525a97a1417bb3a2debc879e30fe msgid "conda clean --all -f -y" msgstr "" #: ../../using/recipes.md:88 ../../using/recipes.md:253 -#: ../../using/recipes.md:520 479fbaa216de4d3890ec6a51fcbea4a2 -#: 6dc6c6998b9244509fb8914d86301492 b7311ab10a2745c9b273ed7ad76318c3 +#: ../../using/recipes.md:520 33cecf674e724c0b8ae432eac5b297e3 +#: 5faf2e74da7246c6ac8c582703587daa 815d3b7d52f3442e915e4fb43c7b8f80 msgid "USER root" msgstr "" -#: ../../using/recipes.md:90 15afe138405c4d6ca182c4fa0bb11890 +#: ../../using/recipes.md:90 42d679bb7bd64366bf44410fde5a1e4f msgid "" "# Create a global kernelspec in the image and modify it so that it " "properly activates # the python2 conda environment. RUN " @@ -598,21 +598,21 @@ msgid "" "/usr/local/share/jupyter/kernels/python2/kernel.json" msgstr "" -#: ../../using/recipes.md:95 cb0ccdebc9cd44e590f6f85c3db86999 +#: ../../using/recipes.md:95 2800e988b0a84743bb5a6a1c0cb90789 msgid "USER $NB_USER ```" msgstr "" -#: ../../using/recipes.md:98 e147804a507f438caf5f10eeaf8f042b +#: ../../using/recipes.md:98 39bd7f20ea174d21ae847d53ea3c579d msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/440](https://github.com/jupyter/docker-stacks/issues/440)" msgstr "" -#: ../../using/recipes.md:101 19b27ea0d99e463c8eb14fbbf89c0fb8 +#: ../../using/recipes.md:101 daf177908c6647acadc3012146de5481 msgid "## Add a Python 3.x environment" msgstr "" -#: ../../using/recipes.md:103 fc24af001db344bca87d8628cfabf51a +#: ../../using/recipes.md:103 21e38c30ecb44bfdb3fbf2d03a57af4f 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 " @@ -620,19 +620,19 @@ msgid "" "Python 2.x but are slightly simpler (no need to switch to `root`):" msgstr "" -#: ../../using/recipes.md:106 0d9b45633f844f68aba7ec50aa90c631 +#: ../../using/recipes.md:106 6497ad2ea87346d582de05e9c4c8c12e msgid "" "```dockerfile # Choose your desired base image FROM jupyter/minimal-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:110 5f0f4d2566f64305831e674d27fa5ed3 +#: ../../using/recipes.md:110 b5eaac05e1e847cea721b074c51bf2d0 msgid "" "# name your environment and choose python 3.x version ARG " "conda_env=python36 ARG py_ver=3.6" msgstr "" -#: ../../using/recipes.md:114 f5aad0d6c3f04449bb3ae82922d49a83 +#: ../../using/recipes.md:114 294f7ee7d9914be9bcd1585dfe600a3a msgid "" "# you can add additional libraries you want conda to install by listing " "them below the first line and ending with \"&& \\\" RUN conda create " @@ -640,14 +640,14 @@ msgid "" "ipykernel && \\" msgstr "" -#: ../../using/recipes.md:118 7935b178413e42ff9fe510e3213f6aa8 +#: ../../using/recipes.md:118 71aecbd15ce64e70ab092bcee5e467e8 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 9f8d8ddff0fc4d51aea1a3480ceaed41 +#: ../../using/recipes.md:121 5d753d121b2444b29b41cc4cd9c7c77d msgid "" "# COPY --chown=${NB_UID}:${NB_GID} environment.yml /home/$NB_USER/tmp/ # " "RUN cd /home/$NB_USER/tmp/ && \\ # conda env create -p " @@ -655,53 +655,53 @@ msgid "" "--all -f -y" msgstr "" -#: ../../using/recipes.md:127 985a2e46ab374e03852b19430a930141 +#: ../../using/recipes.md:127 d48e96fc99954d7982287b8502c1ac90 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 08b9a810fd204d8aab3a2b9bb5e36bb5 +#: ../../using/recipes.md:132 57e5963bf4534c1e96244b517c074554 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 3280e36a09af43a5983b7fffc64e01c1 +#: ../../using/recipes.md:135 5f4d4046a63d497997c4ab3a586a7463 msgid "" "# prepend conda environment to path ENV PATH " "$CONDA_DIR/envs/${conda_env}/bin:$PATH" msgstr "" -#: ../../using/recipes.md:138 05ceb659cfde463aa04d7a0449f9f75c +#: ../../using/recipes.md:138 5f5ab5157d4445b19db0c39c8a5aeb4d 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 b28357492bae4521b13146404315fa96 +#: ../../using/recipes.md:142 56dd14ad6fa748afa0c2c6484696dfa6 msgid "## Run JupyterLab" msgstr "" -#: ../../using/recipes.md:144 5af8d0e5c53441f08971836608a01380 +#: ../../using/recipes.md:144 d5b26e51a83f4e65b1545364bb8e76b3 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 c5c2ea56f02f44c19f0ffea84cb82efc +#: ../../using/recipes.md:147 99c8cc576bdf44c6bd3c7ac33e3bea55 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 206a544ea9614080b6bdc603876fb374 +#: ../../using/recipes.md:150 4e2408b3c66e4f89800523b71d1298a5 msgid "## Dask JupyterLab Extension" msgstr "" -#: ../../using/recipes.md:152 14b7cd044ba14d7dbdad455b966d4106 +#: ../../using/recipes.md:152 8fb6e3d3245140cbb4575bd825b82cb5 msgid "" "[Dask JupyterLab Extension](https://github.com/dask/dask-labextension) " "provides a JupyterLab extension to manage Dask clusters, as well as embed" @@ -709,51 +709,51 @@ msgid "" "Dockerfile as:" msgstr "" -#: ../../using/recipes.md:154 408f458613c048bcb7af590e94b8fe7b +#: ../../using/recipes.md:154 18daffb1a9e24431ac5f8a87193430e6 msgid "" "```dockerfile # Start from a core stack version FROM jupyter/scipy-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:158 eade89bc7d584d238afeac08af78f193 +#: ../../using/recipes.md:158 20a50357592a4a5abbf55fcd467fef97 msgid "# Install the Dask dashboard RUN pip install dask_labextension ; \\" msgstr "" -#: ../../using/recipes.md:160 4b9fc9f754be47d5990a074138c3bafb +#: ../../using/recipes.md:160 64ac766bad2246e396d8b15bc68e29c1 msgid "jupyter labextension install -y --clean \\ dask-labextension" msgstr "" -#: ../../using/recipes.md:163 580a5713196043b8a96ea87496e88f74 +#: ../../using/recipes.md:163 f14ab73355d844ef9cf252fdd7eef028 msgid "# Dask Scheduler & Bokeh ports EXPOSE 8787 EXPOSE 8786" msgstr "" -#: ../../using/recipes.md:167 ed065460ef2a4b6bbfb0baa548a1d06d +#: ../../using/recipes.md:167 9a7039c25c1844a3989af6cbb3df282c msgid "ENTRYPOINT [\"jupyter\", \"lab\", \"--ip=0.0.0.0\", \"--allow-root\"] ```" msgstr "" -#: ../../using/recipes.md:170 7dac7d9374df421698926c597e614a01 +#: ../../using/recipes.md:170 386988fc66024346b5c24dbeaf455907 msgid "" "And build the image as: ```bash docker build -t jupyter/scipy-" "dasklabextension:latest . ```" msgstr "" -#: ../../using/recipes.md:175 60fe3a5fdc964e16897aef4f2eb5d71d +#: ../../using/recipes.md:175 0eb462b893ca4592a0f14a2ae06207bd 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 07a8a5086e4242c28e72857fdc2f7ded +#: ../../using/recipes.md:180 35824b614e8d4b76b4a9949678a2cec3 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/999](https://github.com/jupyter/docker-stacks/issues/999)" msgstr "" -#: ../../using/recipes.md:183 4b06daf00a014f5cacc3d0b0ea8b63e8 +#: ../../using/recipes.md:183 54ae9ec2da8a407ca1668bcfb9b938b2 msgid "## Let's Encrypt a Notebook server" msgstr "" -#: ../../using/recipes.md:185 1275c55459af4b58be8114566e46043e +#: ../../using/recipes.md:185 26cdf33621d149c8afe26ea2ca245c4d msgid "" "See the README for the simple automation here [https://github.com/jupyter" "/docker-stacks/tree/master/examples/make-" @@ -762,67 +762,67 @@ msgid "" "Encrypt certificate." msgstr "" -#: ../../using/recipes.md:189 07118f62918c4a8a8372890ad51d3103 +#: ../../using/recipes.md:189 7f02134dafd244d0b53f22aa37122216 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/78](https://github.com/jupyter/docker-stacks/issues/78)" msgstr "" -#: ../../using/recipes.md:192 7e02c389a2d34fdbaada49db10c6e3a8 +#: ../../using/recipes.md:192 97e8b0b903f345788d5ebcb231fa11fa msgid "## Slideshows with Jupyter and RISE" msgstr "" -#: ../../using/recipes.md:194 fddf0527f36a4a7693aefffd09a848bb +#: ../../using/recipes.md:194 503e6ef01e1d4bc5b96984aafa61521f 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 abca27f68d794bc8aeafd96de47d3923 +#: ../../using/recipes.md:197 a3e3ae4512e342d3b0b67a6408857935 msgid "" "```bash # Add Live slideshows with RISE RUN conda install -c " "damianavila82 rise ```" msgstr "" -#: ../../using/recipes.md:202 7b43ff3e8a164003a0c36bc6f7871b21 +#: ../../using/recipes.md:202 b9d540025325410e9803492befa90c03 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 8ad8b61a8c564c10b7190c69e03896b9 +#: ../../using/recipes.md:205 2f5a4700a6284a51a065bf0ef885075d msgid "## xgboost" msgstr "" # ce204678c3af4aa9a0fb55bb6de7554b -#: ../../using/recipes.md:207 99b6882681ae40aabb7568c764f347e3 +#: ../../using/recipes.md:207 27ab4b47afbe452ba26f1d83c0704bdb 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 61254719ad0c4f9a98cccd62cbaf53b0 +#: ../../using/recipes.md:210 38f62cbf5fd844f2ac9c14edd7adbb21 #, python-format msgid "```bash %%bash conda install -y gcc pip install xgboost" msgstr "" -#: ../../using/recipes.md:215 c8c65b6cd44e4a3592755d41158fe52e +#: ../../using/recipes.md:215 05b21754cc634a4eac1ebf8839630e95 msgid "import xgboost ```" msgstr "" -#: ../../using/recipes.md:218 e222ae2641194240ab7783f6644c28f2 +#: ../../using/recipes.md:218 0907c4e77aea445fa6b860dcdd23299e msgid "## Running behind a nginx proxy" msgstr "" # ca7763a5a35a47bd9fb29ae9d00feab3 -#: ../../using/recipes.md:220 8f30476bbaa242b1977022ed556bb607 +#: ../../using/recipes.md:220 bb2381a32611451593d201f8fc895efd msgid "" "Sometimes it is useful to run the Jupyter instance behind a nginx proxy, " "for instance:" msgstr "" -#: ../../using/recipes.md:222 df994d3a6aac469e93438fc908f52720 +#: ../../using/recipes.md:222 797682be47dd4b77be5014fa054fa120 msgid "" "you would prefer to access the notebook at a server URL with a path " "(`https://example.com/jupyter`) rather than a port " @@ -830,14 +830,14 @@ msgid "" msgstr "" # a5129fb6e2b042f5b8161ed5318123f9 -#: ../../using/recipes.md:224 a4f87f23059b4808a57648057c3dc2fb +#: ../../using/recipes.md:224 1bdde2ab38ae44aab4d4131822332653 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 24b19cf2b3754d428930cb63a112e19c +#: ../../using/recipes.md:227 d60c21487ed5440f9042039ce9812785 msgid "" "Here is a [quick example NGINX " "configuration](https://gist.github.com/cboettig/8643341bd3c93b62b5c2) to " @@ -848,11 +848,11 @@ msgid "" "services." msgstr "" -#: ../../using/recipes.md:232 a6a874d329484ab4bb63ddc7d1997576 +#: ../../using/recipes.md:232 79c94fc81a324fcda371a6bff9eb426a msgid "## Host volume mounts and notebook errors" msgstr "" -#: ../../using/recipes.md:234 f55373087d5f4b538de2d15c4782b6c1 +#: ../../using/recipes.md:234 64467301d152413f8e0140d5a1ab4ff0 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" @@ -863,48 +863,48 @@ msgid "" "section](../using/common.html#Docker-Options)" msgstr "" -#: ../../using/recipes.md:240 1b9e51600a8a4b379616ec33d4067acb +#: ../../using/recipes.md:240 0f3617e08eb047b2a518583315899e9e msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/199](https://github.com/jupyter/docker-stacks/issues/199)" msgstr "" -#: ../../using/recipes.md:243 dbb1a1b59a614036a599af84332f2815 +#: ../../using/recipes.md:243 c6ff04d5cb5d4c2cb59623d6cbcaaba0 msgid "## Manpage installation" msgstr "" # 7fc6566074ee4ba3a4e579437d7f151d -#: ../../using/recipes.md:245 4b747008641148a085f008ada4f6f4d4 +#: ../../using/recipes.md:245 7e7c60bcebfd4379b05f59455d7d3bdc 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 90e1b3f3119746a1a08f4f4cd4a7be88 +#: ../../using/recipes.md:248 e83b6a435a874b4caf98d04242b715b2 msgid "" "```dockerfile # Choose your desired base image ARG BASE_CONTAINER=jupyter" "/datascience-notebook:latest FROM $BASE_CONTAINER" msgstr "" -#: ../../using/recipes.md:255 86e158cdda5244b9b195bc145ba5fa6f +#: ../../using/recipes.md:255 5ef39f84a7f4452bb67c8bdbdc95bd81 msgid "" "# Remove the manpage blacklist, install man, install docs RUN rm " "/etc/dpkg/dpkg.cfg.d/excludes \\" msgstr "" -#: ../../using/recipes.md:257 3c9239421f834af9903a0e2ba8a794d0 +#: ../../using/recipes.md:257 24237dee54bb4ac591a0c8119962fc06 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 f158877a536240328dd6bb2c91e5d105 +#: ../../using/recipes.md:262 f4b16e12baad44cfa569515a153aebd3 msgid "USER $NB_UID ```" msgstr "" -#: ../../using/recipes.md:265 c34ec93bec804428818b9c3d2ae10452 +#: ../../using/recipes.md:265 aa7968600b454aba8b70277edd886d53 msgid "" "Adding the documentation on top of an existing singleuser image wastes a " "lot of space and requires reinstalling every system package, which can " @@ -915,7 +915,7 @@ msgid "" "container:" msgstr "" -#: ../../using/recipes.md:271 cd92767bbc47452c97b060579c5e7d4a +#: ../../using/recipes.md:271 dc976b3a4ce44e24bac9ce0a2862e5b5 msgid "" "```dockerfile # Ubuntu 20.04 (focal) from 2020-04-23 # https://github.com" "/docker-library/official-" @@ -924,7 +924,7 @@ msgid "" " ```" msgstr "" -#: ../../using/recipes.md:277 071d036a183643f2ab8cd61053210d5b +#: ../../using/recipes.md:277 b28e6d119e4d42d5a96fb8d7663e93be 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 # " @@ -933,61 +933,61 @@ msgid "" "http://launchpadlibrarian.net/435841763/man-db_2.8.5-2_2.8.6-1.diff.gz" msgstr "" -#: ../../using/recipes.md:284 5f651587c9e7439294437bea023f9835 +#: ../../using/recipes.md:284 63beaae79114447fab4b50ecdb0275e9 msgid "" "RUN echo \"MANPATH_MAP ${CONDA_DIR}/bin ${CONDA_DIR}/man\" >> " "/etc/manpath.config \\" msgstr "" -#: ../../using/recipes.md:283 488ed6484b5b41918d7170730db451b6 +#: ../../using/recipes.md:283 a1de0aaedba148d79e084436356e9fa4 msgid "" "&& echo \"MANPATH_MAP ${CONDA_DIR}/bin ${CONDA_DIR}/share/man\" >> " "/etc/manpath.config \\ && mandb" msgstr "" -#: ../../using/recipes.md:288 9acd8e63263849bbb2ee12ede817da93 +#: ../../using/recipes.md:288 badd58265c18473f878df10e47475207 msgid "" "Be sure to check the current base image in `base-notebook` before " "building." msgstr "" -#: ../../using/recipes.md:290 c0c223434cc54d6ebc45448ddfb09230 +#: ../../using/recipes.md:290 b8346f9d125440c0b189b804b2e6d3f7 msgid "## JupyterHub" msgstr "" # af0ca920391b419b805ae3809388fcf2 -#: ../../using/recipes.md:292 ae3a04bd0e344ec2b416c6494b1708a1 +#: ../../using/recipes.md:292 f0f7b1e2bada4e4ea029eee94ddac330 msgid "We also have contributed recipes for using JupyterHub." msgstr "" -#: ../../using/recipes.md:294 7d22c2a791cd4a98bbbc442aa5b921ed +#: ../../using/recipes.md:294 97c9d60adbab482b8dea7771e5a5513b msgid "### Use JupyterHub's dockerspawner" msgstr "" # 81e1dbb4c1c34f4c9e88630adff3d1e9 -#: ../../using/recipes.md:296 2ba0a2cd19df4961b2f08f1b9419eded +#: ../../using/recipes.md:296 22a8baeb3331472fa3f9dbbcfd82e58f 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 76c00caf15f14e118cc92439bfad64a8 +#: ../../using/recipes.md:299 b285916cd07f4423b816e2601acf67f4 msgid "install the jupyterhub-singleuser script (for the right Python)" msgstr "" # d9816cb5ae2041e2a5fde9cdfb91262f -#: ../../using/recipes.md:300 b07eed15d67144e4826170260776f73a +#: ../../using/recipes.md:300 c82a48c55406413f883e2213681ce053 msgid "change the command to launch the single-user server" msgstr "" -#: ../../using/recipes.md:302 f69fc8d27ca64b53ab129e2ec986ed5e +#: ../../using/recipes.md:302 d3c919d95c294831b327f59a90335efa msgid "" "Swapping out the `FROM` line in the `jupyterhub/singleuser` Dockerfile " "should be enough for most cases." msgstr "" -#: ../../using/recipes.md:305 e490cafde0fa431983572ce11b9dd814 +#: ../../using/recipes.md:305 8c97f8dfdc75483b8c9ab89913136b86 msgid "" "Credit: [Justin Tyberg](https://github.com/jtyberg), " "[quanghoc](https://github.com/quanghoc), and [Min " @@ -997,99 +997,99 @@ msgid "" "stacks/pull/185)" msgstr "" -#: ../../using/recipes.md:310 ca7062b62455488cb3311bd2b4dfc900 +#: ../../using/recipes.md:310 a4c321a2a17e41cd960b4993db7af9a5 msgid "### Containers with a specific version of JupyterHub" msgstr "" -#: ../../using/recipes.md:312 6aa0d20df0b7480bba6043cdc675d70b +#: ../../using/recipes.md:312 94c869d218cb4b19960083b5ac629df5 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 76485e58a46145f1bff9f2610679ff97 +#: ../../using/recipes.md:315 d173178e17d947569552dce995cc325c msgid "" "```dockerfile FROM jupyter/base-notebook:5ded1de07260 RUN pip install " "jupyterhub==0.8.0b1 ```" msgstr "" -#: ../../using/recipes.md:320 817f90b56afc40c2b8613ad2272a0e3e +#: ../../using/recipes.md:320 c15c41ae0e2943b28e1e03f1a138bc3b msgid "" "Credit: [MinRK](https://github.com/jupyter/docker-" "stacks/issues/423#issuecomment-322767742)" msgstr "" -#: ../../using/recipes.md:322 e405874fb7df4dc797a208e1bba2a101 +#: ../../using/recipes.md:322 b1482872c55c44329030f416080a23c4 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/177](https://github.com/jupyter/docker-stacks/issues/177)" msgstr "" -#: ../../using/recipes.md:325 9dff9caa8b4d48c8b17047db141883ec +#: ../../using/recipes.md:325 a99f46df62d94de2acc48b53cb6c0f4b msgid "## Spark" msgstr "" # 975c96d6a0b843dfabd889c753671c93 -#: ../../using/recipes.md:327 74be209d95b94dd29a856bf49d956306 +#: ../../using/recipes.md:327 8c422825858c4d988b2a31bd47f06a27 msgid "A few suggestions have been made regarding using Docker Stacks with spark." msgstr "" -#: ../../using/recipes.md:329 cd835d444e2e4e5ca844c9fe968c62b3 +#: ../../using/recipes.md:329 3a7218e09f1345eab05e61b1882c3302 msgid "### Using PySpark with AWS S3" msgstr "" # dc4059d42eaa495f8ebca84ebc91ac09 -#: ../../using/recipes.md:331 d1423f7a80034e7480d5d102709e1676 +#: ../../using/recipes.md:331 0570bdead2d7440191abde6587a7dd08 msgid "Using Spark session for hadoop 2.7.3" msgstr "" -#: ../../using/recipes.md:333 3b424d8f3bc94128b52db392e1e07e70 +#: ../../using/recipes.md:333 3a68e5566bca44e1992581bd27b1cabc 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 00c0c670cb26408cacd9738be908790c +#: ../../using/recipes.md:338 2e8184e8ae8c4429b5a61fb1c8703a2d msgid "import pyspark myAccessKey = input() mySecretKey = input()" msgstr "" -#: ../../using/recipes.md:346 d7fceca18f7a4ec7967abc71c1ef57db +#: ../../using/recipes.md:346 520757c6e3234badba96e36bd4ca8477 msgid "spark = pyspark.sql.SparkSession.builder \\" msgstr "" -#: ../../using/recipes.md:343 a80b5072821f4155ab3d6a1ccf7f3251 +#: ../../using/recipes.md:343 dae48649601742f0afe8e292f604a16a 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 ba771c8dec6848a9ac652d2f7af97ab6 +#: ../../using/recipes.md:348 7be456645bb4461aa627293a698707c1 msgid "df = spark.read.parquet(\"s3://myBucket/myKey\") ```" msgstr "" # d2c12e3525bf4d9ca518fef02c4a79d3 -#: ../../using/recipes.md:351 91e6857b995740339553cff28eef5694 +#: ../../using/recipes.md:351 190dbade94e446babdcdad3b789212d0 msgid "Using Spark context for hadoop 2.6.0" msgstr "" -#: ../../using/recipes.md:353 46c464ec76674422a32253290ab6fa8c +#: ../../using/recipes.md:353 82d1661b56224d82abd9d52eee8f0d46 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 5964d6a5c8814c1c979295f391d0ed23 +#: ../../using/recipes.md:357 94f110a0640b4ea38220a93b45ca9ced msgid "import pyspark sc = pyspark.SparkContext(\"local[*]\")" msgstr "" -#: ../../using/recipes.md:360 9be3eb1fcb294eedb1f08b635ea6a4ab +#: ../../using/recipes.md:360 f9941ce9a5c84f2391f19118910e9daa msgid "from pyspark.sql import SQLContext sqlContext = SQLContext(sc)" msgstr "" -#: ../../using/recipes.md:363 977334d8fac54104b959978a594de263 +#: ../../using/recipes.md:363 2d099ed4a6a6418b8ab04c92d956dc24 msgid "" "hadoopConf = sc._jsc.hadoopConfiguration() myAccessKey = input() " "mySecretKey = input() hadoopConf.set(\"fs.s3.impl\", " @@ -1098,21 +1098,21 @@ msgid "" "hadoopConf.set(\"fs.s3.awsSecretAccessKey\", mySecretKey)" msgstr "" -#: ../../using/recipes.md:370 2da7f9fa0ac443488b308d0198555f8c +#: ../../using/recipes.md:370 4ddc9d6acadb40cdbb9bff044736053d msgid "df = sqlContext.read.parquet(\"s3://myBucket/myKey\") ```" msgstr "" -#: ../../using/recipes.md:373 7c9ae8fed285460aab72a1780e186bd5 +#: ../../using/recipes.md:373 5cda6411f36445c192359b589d7c353e msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/127](https://github.com/jupyter/docker-stacks/issues/127)" msgstr "" -#: ../../using/recipes.md:376 9853d460fd314363896fe52236eb564f +#: ../../using/recipes.md:376 9c3220d68cef4133994abf6b2c556aac msgid "### Using Local Spark JARs" msgstr "" -#: ../../using/recipes.md:378 68e3a52f41334f66b663110b0d27a3fb +#: ../../using/recipes.md:378 c9cfc3dd21e441a280731daae17284e3 msgid "" "```python import os os.environ['PYSPARK_SUBMIT_ARGS'] = '--jars " "/home/jovyan/spark-streaming-kafka-assembly_2.10-1.6.1.jar pyspark-shell'" @@ -1124,17 +1124,17 @@ msgid "" "ssc.start() ```" msgstr "" -#: ../../using/recipes.md:392 a3ba672254f447cb9a6982838c3ac762 +#: ../../using/recipes.md:392 e7c0a883fc534796a534d65af1f9c8e9 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/154](https://github.com/jupyter/docker-stacks/issues/154)" msgstr "" -#: ../../using/recipes.md:395 9fb1f3ca8a57474bbc374e3765ad2ea9 +#: ../../using/recipes.md:395 f138156686cb42faa53b8ceafa19b045 msgid "### Using spark-packages.org" msgstr "" -#: ../../using/recipes.md:397 3ac740703ca74d488d3711d647cf8c74 +#: ../../using/recipes.md:397 5ab77dc0e2fe442483d90f6146faa250 msgid "" "If you'd like to use packages from [spark-packages.org](https://spark-" "packages.org/), see " @@ -1143,21 +1143,21 @@ msgid "" "environment before creating a SparkContext." msgstr "" -#: ../../using/recipes.md:402 1ebe621ddbc8474288a33b2e77a37a49 +#: ../../using/recipes.md:402 5bf3d109b1894d3aac561268c3e805c3 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/43](https://github.com/jupyter/docker-stacks/issues/43)" msgstr "" -#: ../../using/recipes.md:405 3b4187f0cb104f479249ba98538dea1e +#: ../../using/recipes.md:405 4a2ea02c15f040e4afe3f89a433aac6d msgid "### Use jupyter/all-spark-notebooks with an existing Spark/YARN cluster" msgstr "" -#: ../../using/recipes.md:407 7bb0654c578140b28784f85dc4b1df82 +#: ../../using/recipes.md:407 219fe1e232ec490b9fafbe62e3ee0c8e msgid "```dockerfile FROM jupyter/all-spark-notebook" msgstr "" -#: ../../using/recipes.md:410 2dd1ad28b5aa48e698acb5431c2d7970 +#: ../../using/recipes.md:410 d10444bcb8fb4c2eb809e5c6e471ac4a 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 " @@ -1165,14 +1165,14 @@ msgid "" "/usr/local/hadoop-2.7.3/etc/hadoop" msgstr "" -#: ../../using/recipes.md:416 e3dbc62a4d9b4a5e9d9c919b01e65453 +#: ../../using/recipes.md:416 cc62efd3c7674bdea97a977470b2b0a9 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 0f6c0fa96b504a41852c7f67d9a9a91f +#: ../../using/recipes.md:419 0b79d1c45c054c8e970fdcd6a05d5470 msgid "" "apt-get -y update && \\ apt-get install --no-install-recommends -t " "jessie-backports -y openjdk-8-jdk && \\ rm /etc/apt/sources.list.d" @@ -1180,11 +1180,11 @@ msgid "" "/var/lib/apt/lists/ && \\" msgstr "" -#: ../../using/recipes.md:427 cae37970058d4d908ea3f37bce433df1 +#: ../../using/recipes.md:427 5c032cd6cfc3440aa6c7f1e2e3143805 msgid "# Add hadoop binaries" msgstr "" -#: ../../using/recipes.md:425 ebb663c27f424ce2bc31d5e9bf31e0e2 +#: ../../using/recipes.md:425 768f27040d934c8dba77400fb7121fdf msgid "" "wget " "http://mirrors.ukfast.co.uk/sites/ftp.apache.org/hadoop/common/hadoop-2.7.3/hadoop-2.7.3.tar.gz" @@ -1193,41 +1193,41 @@ msgid "" " \\" msgstr "" -#: ../../using/recipes.md:432 3a5bd2b1452c41c3a32eaa492de43ed4 +#: ../../using/recipes.md:432 4b7bd08a560a4fc9b9abb490e6da80e7 msgid "# Install os dependencies required for pydoop, pyhive" msgstr "" -#: ../../using/recipes.md:430 e7b546e1bfb14cf4a9740962419d4623 +#: ../../using/recipes.md:430 cef6cd71a5d448afa01560d49d7314ec 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 d4a026b9e6e945f4b89c25b6b2691e5e +#: ../../using/recipes.md:434 7b7f6f9cecb94d9486d73774d907250e 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 40d29d8d456c42eba2c1f740b9231101 +#: ../../using/recipes.md:437 a4d874107f9e4bdebcaa99b748eee740 msgid "rm -f /usr/local/hadoop-2.7.3/etc/hadoop/*" msgstr "" -#: ../../using/recipes.md:439 889d6ddc24ae4e478711ec93914b689b +#: ../../using/recipes.md:439 521ccd47eff549a5a57e7e9b851bd832 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 eb61b1491b5b4fd1b79e9dcf95d80a6f +#: ../../using/recipes.md:442 babc29ad38874c0aab74ca7021da1f18 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 475566b61fa24ed99a1243438534723b +#: ../../using/recipes.md:444 0bf09db95bd244f4b68bc5ee22078bdc msgid "" "echo \"spark.yarn.am.extraJavaOptions -Dhdp.version=2.5.3.0-37\" >> " "/usr/local/spark/conf/spark-defaults.conf && \\ echo " @@ -1241,24 +1241,24 @@ msgid "" msgstr "" #: ../../using/recipes.md:453 ../../using/recipes.md:501 -#: 62da797461f94864bdfc9ad723dd487f 82c9b9466539493d908366b9070d168b +#: 871a6c804e894614b40a3844c33f183b cf5f2771b46b4980a3af29a175265cb0 msgid "USER $NB_USER" msgstr "" -#: ../../using/recipes.md:455 41050a39bed24c7db7ddccb0d2111361 +#: ../../using/recipes.md:455 2abb6c65723e4b17a3eed7501b4bac5b msgid "" "# Install useful jupyter extensions and python libraries like : # - " "Dashboards # - PyDoop # - PyHive RUN pip install jupyter_dashboards faker" " && \\" msgstr "" -#: ../../using/recipes.md:460 88255f2bd9af4a649ecc70658f97b2c6 +#: ../../using/recipes.md:460 e711e313efe2488d85be972172fecc25 msgid "" "jupyter dashboards quick-setup --sys-prefix && \\ pip2 install pyhive " "pydoop thrift sasl thrift_sasl faker" msgstr "" -#: ../../using/recipes.md:463 b62fd5a8d74d41ae93588fb8b11a9219 +#: ../../using/recipes.md:463 00ec305ca3444607b6d543b7b3ceb430 msgid "" "USER root # Ensure we overwrite the kernel config so that toree connects " "to cluster RUN jupyter toree install --sys-prefix --spark_opts=\"--master" @@ -1267,25 +1267,25 @@ msgid "" "spark.hadoop.yarn.timeline-service.enabled=false\" USER $NB_USER ```" msgstr "" -#: ../../using/recipes.md:469 0ace0a271fa8483099824754f63d53a7 +#: ../../using/recipes.md:469 4422f6ab10f94db7a915f531fd024b71 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 7f3a3d959f3e45e6aba63a70def09aef +#: ../../using/recipes.md:472 37d4242e733748128b76f187d2fdca0b msgid "" "## Run Jupyter Notebook/Lab inside an already secured environment (i.e., " "with no token)" msgstr "" -#: ../../using/recipes.md:474 61ae5eb45b954010b249a197ffa38a89 +#: ../../using/recipes.md:474 60d01c3e97a845a6ad531ff3884d2880 msgid "" "(Adapted from [issue 728](https://github.com/jupyter/docker-" "stacks/issues/728))" msgstr "" -#: ../../using/recipes.md:476 d92e0a76a18f41c79d486d092f978b3e +#: ../../using/recipes.md:476 6faf73495c4e43e58d9e5b5aa19243aa msgid "" "The default security is very good. There are use cases, encouraged by " "containers, where the jupyter container and the system it runs within, " @@ -1295,131 +1295,131 @@ msgid "" msgstr "" # 7476a6d5eae74ecaae966e56390c096e -#: ../../using/recipes.md:481 373bd66509634492912738c789db0879 +#: ../../using/recipes.md:481 3305ca83ff0f4c13983dc1d29dc39866 msgid "For jupyterlab:" msgstr "" -#: ../../using/recipes.md:483 51145c829b654c6abc71583677b9a201 +#: ../../using/recipes.md:483 32036aa800e941eeab2ff72f1d3fbda7 msgid "" "```bash docker run jupyter/base-notebook:6d2a05346196 start.sh jupyter " "lab --LabApp.token='' ```" msgstr "" # f2efc5a0ba6b4c53b2047cc5f22bdbaa -#: ../../using/recipes.md:487 4b08db547ae14dc985f5cb0dd1e24614 +#: ../../using/recipes.md:487 361a0a24b2924be68160ea9f5616f47e msgid "For jupyter classic:" msgstr "" -#: ../../using/recipes.md:489 11da36018d364903a9c27de520d12dd8 +#: ../../using/recipes.md:489 934ca36b0f2c4a719dee9325a4cc91e9 msgid "" "```bash docker run jupyter/base-notebook:6d2a05346196 start.sh jupyter " "notebook --NotebookApp.token='' ```" msgstr "" -#: ../../using/recipes.md:493 83e852e063dd4be6a42bf2853068be5d +#: ../../using/recipes.md:493 2b837c8ade5642e2a270b191a2099ac7 msgid "## Enable nbextension spellchecker for markdown (or any other nbextension)" msgstr "" # 8ccfbcb4264f48d0b6709fe81aa0a86d -#: ../../using/recipes.md:495 776d8bf01bce4828991ae2f0f765fa27 +#: ../../using/recipes.md:495 952a9f09e40f4560a6507e1d317a3cec msgid "NB: this works for classic notebooks only" msgstr "" -#: ../../using/recipes.md:497 b508f18bf81b46138afcbacb39ba0f78 +#: ../../using/recipes.md:497 943f827d56314d769210172e8a097267 msgid "" "```dockerfile # Update with your base image of choice FROM jupyter" "/minimal-notebook:latest" msgstr "" -#: ../../using/recipes.md:505 9385b108270347dd8baf9a6b9dfde6bd +#: ../../using/recipes.md:505 f285e80a9832417aa0a498cd08f5ad8c msgid "RUN pip install jupyter_contrib_nbextensions && \\" msgstr "" -#: ../../using/recipes.md:504 e902aa8d5a6e4cbcac0d77eb0809ebd4 +#: ../../using/recipes.md:504 5c2610aa379146619c46b95e8f0731ab msgid "" "jupyter contrib nbextension install --user && \\ # can modify or enable " "additional extensions here jupyter nbextension enable spellchecker/main " "--user" msgstr "" -#: ../../using/recipes.md:509 9f48bbd33687403fad012efb78dfbab8 +#: ../../using/recipes.md:509 756f5d9b430445f9bc13c2717aec69b4 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/675](https://github.com/jupyter/docker-stacks/issues/675)" msgstr "" -#: ../../using/recipes.md:512 a4e0a89fb0de4e77af3e7c6824d9a3d1 +#: ../../using/recipes.md:512 91ce3ddf0e1542a3a65c33eb77cde544 msgid "## Enable auto-sklearn notebooks" msgstr "" -#: ../../using/recipes.md:514 ba7b8154dd254635814ccbce9932ef59 +#: ../../using/recipes.md:514 d39a071f55944982bc15e5ad16c7d21a 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 e96805226b1c4ba9a7a834ff6382b871 +#: ../../using/recipes.md:516 34c60abbd7b947feaf1c2875a2341664 msgid "" "```dockerfile ARG BASE_CONTAINER=jupyter/scipy-notebook FROM jupyter" "/scipy-notebook:latest" msgstr "" -#: ../../using/recipes.md:522 f6659be1106f4bd4b3b90df49c664c5f +#: ../../using/recipes.md:522 c23852c347fc4add884d5042a081cdab msgid "" "# autosklearn requires swig, which no other image has RUN apt-get update " "&& \\" msgstr "" -#: ../../using/recipes.md:524 9bab3a877e20414ea764d3449b0c0b36 +#: ../../using/recipes.md:524 bdae6f4833264f6999475db60dcdfcd0 msgid "" "apt-get install -y --no-install-recommends swig && \\ apt-get clean && \\" " rm -rf /var/lib/apt/lists/*" msgstr "" -#: ../../using/recipes.md:529 6ab2f7a5b6494716932bc94668799a7f +#: ../../using/recipes.md:529 ebd929f589684ceeb910055b6cd4f530 msgid "USER $NB_UID" msgstr "" -#: ../../using/recipes.md:531 014c84531e1c42a19140aac6e04c71bc +#: ../../using/recipes.md:531 b94aeec74a174ea88da704fd69ae5a31 msgid "RUN pip install --quiet --no-cache-dir auto-sklearn ```" msgstr "" -#: ../../using/running.md:1 ba6210ab12dc4880820c9c7da601cf43 +#: ../../using/running.md:1 51e01f44e2f74226a8c3e7fe333f44e6 msgid "# Running a Container" msgstr "" # 1f345e7a53e94439b936b3f4bbc877da # 324906e630c646b0ae10bbff6ed587fa #: ../../using/running.md:3 ../../using/selecting.md:7 -#: 399805b9223d43888bb6158100c8964e a6f2b4de367e446aa69f2bf6f02b782a +#: 404b7ace65e44dea9005c640c4e7579f b097f61cad904441a0946c6be476eeb7 msgid "Using one of the Jupyter Docker Stacks requires two choices:" msgstr "" # 781cbaffaea24fb08451cc83327cfa9b # 1c6c83776a3b4a27a8ed4128a0dceeb7 #: ../../using/running.md:5 ../../using/selecting.md:9 -#: 6a40d61591d043189669e214670314bb dd41ed33f96a49a6b457cbe3b5e5fa54 +#: 0a1cc60d01dd4d528cbae2b91537ee6d 19753ece3c8c4017a799265e5cfe4a2d msgid "Which Docker image you wish to use" msgstr "" # 632f67c9207e4ed9ba01bf59c4d942f7 # ab191cfc95204429b7c0271ecdf69d33 #: ../../using/running.md:6 ../../using/selecting.md:10 -#: 08e21dc7704c4862a3a2635663ef3440 70f70b5a46c94cfb9201610f2860ecc6 +#: 2057c33c8a624d199c49385eeca67c5e 4441c2acc4194090a67b152ff35dcf24 msgid "How you wish to start Docker containers from that image" msgstr "" # ebf870aa1ede4e2ab8fdcb2cef0fd610 -#: ../../using/running.md:8 79bd547b64d241c79173a73e616f193e +#: ../../using/running.md:8 77e7caabd18d4e72ad59097e65f25dbc msgid "This section provides details about the second." msgstr "" -#: ../../using/running.md:10 a86612e7ed0942cfa96d641f35fc5dd6 +#: ../../using/running.md:10 ad88d353bb354c669a1a869577dcabef msgid "## Using the Docker CLI" msgstr "" -#: ../../using/running.md:12 6a71152ef9ac49baa2a3bb0bae897719 +#: ../../using/running.md:12 813190a4d7a54ec9876b981a138d1809 msgid "" "You can launch a local Docker container from the Jupyter Docker Stacks " "using the [Docker command line " @@ -1428,7 +1428,7 @@ msgid "" "following are some common patterns." msgstr "" -#: ../../using/running.md:14 37a56a2795c7451f8b309c1b2df92a91 +#: ../../using/running.md:14 afc32c10e9df4d90a6dc54e38ec647a1 msgid "" "**Example 1** This command pulls the `jupyter/scipy-notebook` image " "tagged `2c80cf3537ca` from Docker Hub if it is not already present on the" @@ -1437,11 +1437,11 @@ msgid "" "terminal and include a URL to the notebook server." msgstr "" -#: ../../using/running.md:16 687397a45497474cad96df99866c717e +#: ../../using/running.md:16 80904c91ae6d4b9ea2e7fb57990c3099 msgid "``` docker run -p 8888:8888 jupyter/scipy-notebook:2c80cf3537ca" msgstr "" -#: ../../using/running.md:19 b5aad4de14ba4b1db241180addd7bab1 +#: ../../using/running.md:19 5f99d94d93224b8cac8d4625f633f0f4 msgid "" "Executing the command: jupyter notebook [I 15:33:00.567 NotebookApp] " "Writing notebook server cookie secret to " @@ -1461,25 +1461,25 @@ msgid "" msgstr "" #: ../../using/running.md:31 ../../using/running.md:72 -#: ../../using/running.md:94 0d730f1dabbc4930b47f91d8e8f27a44 -#: 9d294f72698a496fa80898e6f3531fcf ba20ecde85e44d6d9f17d4db73248d5e +#: ../../using/running.md:94 1c96ffa64d724e138a43dc57693f1ce9 +#: 3cec49d3d30f4b3bad3f6b8b3e7598a0 ad9624edde2e495aaf8f5a6507ff3920 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 1d86ad4872e04b9ab210a397b9025dfd +#: ../../using/running.md:33 d9cedc4f2212437e8a49620a4de46e68 msgid "http://localhost:8888/?token=112bb073331f1460b73768c76dffb2f87ac1d4ca7870d46a" msgstr "" -#: ../../using/running.md:36 5b40239aea154093b8bafc615dc38c3b +#: ../../using/running.md:36 3524767d0ab94b2baf41ef6b492fa191 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 16fd681f76854f8894bbc9cd20cc98b5 +#: ../../using/running.md:38 a8bbe5b7b8d14138b58e8a32028c093a msgid "" "``` # list containers docker ps -a CONTAINER ID IMAGE" " COMMAND CREATED STATUS" @@ -1488,7 +1488,7 @@ msgid "" "Exited (0) 39 seconds ago cocky_mirzakhani" msgstr "" -#: ../../using/running.md:44 bed965f4dfe44e63be802f0ea16145b0 +#: ../../using/running.md:44 f04f83f3cae94bf390af5d0d2485da30 msgid "" "# start the stopped container docker start -a d67fe77f1a84 Executing the " "command: jupyter notebook [W 16:45:02.020 NotebookApp] WARNING: The " @@ -1496,11 +1496,11 @@ msgid "" "encryption. This is not recommended. ..." msgstr "" -#: ../../using/running.md:50 ab8388f4a1e6411eb527fc0f9f139b5f +#: ../../using/running.md:50 3642ad7eb52943e0b459768bb7a79f13 msgid "# remove the stopped container docker rm d67fe77f1a84 d67fe77f1a84 ```" msgstr "" -#: ../../using/running.md:55 6fb0f3a4155f42b0b2b496e8976dfa79 +#: ../../using/running.md:55 b3071f65ddd943ae9e47523a6fb1fe57 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 " @@ -1510,13 +1510,13 @@ msgid "" "container port (8888) instead of the the correct host port (10000)." msgstr "" -#: ../../using/running.md:57 e73b2fb0ce2d4a1e8f1ec491187fd65b +#: ../../using/running.md:57 cf5a4decd4fc48b78ca934951df4f373 msgid "" "``` docker run --rm -p 10000:8888 -v \"$PWD\":/home/jovyan/work " "jupyter/r-notebook:e5c5a7d3e52d" msgstr "" -#: ../../using/running.md:60 397ed0725d5f473da734554359c0b27a +#: ../../using/running.md:60 b220ead65b0e421592067faaab257be2 msgid "" "Executing the command: jupyter notebook [I 19:31:09.573 NotebookApp] " "Writing notebook server cookie secret to " @@ -1535,18 +1535,18 @@ msgid "" " all kernels (twice to skip confirmation). [C 19:31:12.122 NotebookApp]" msgstr "" -#: ../../using/running.md:74 7971eb0b629f4358883484cec691b4be +#: ../../using/running.md:74 e94f7fe665af43b6993ac0ef72fe4353 msgid "http://localhost:8888/?token=3b8dce890cb65570fb0d9c4a41ae067f7604873bd604f5ac" msgstr "" -#: ../../using/running.md:77 59e4d54e8fb448f2baad1d4dbe803b41 +#: ../../using/running.md:77 da327d2983424a24a0fedc8953421482 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 0e3fb95e561f472dbb7ba9472b9a95d2 +#: ../../using/running.md:79 21ada9c724944a609d7b94fd04c1d9ac msgid "" "**Example 3** This command pulls the `jupyter/all-spark-notebook` image " "currently tagged `latest` from Docker Hub if an image tagged `latest` is " @@ -1555,33 +1555,33 @@ msgid "" "randomly selected port." msgstr "" -#: ../../using/running.md:81 54800e16b7cc4966a535e0c66bbc00a7 +#: ../../using/running.md:81 2d88d9f13339426c97efb1d2bfabd9a8 msgid "``` docker run -d -P --name notebook jupyter/all-spark-notebook ```" msgstr "" # 9a561b9bb5944059801c71862521d66a -#: ../../using/running.md:85 2fe5a58da6064454a6830263576e7bc2 +#: ../../using/running.md:85 de9d3b8952be4164b0a2f1ab97bcb119 msgid "" "The assigned port and notebook server token are visible using other " "Docker commands." msgstr "" -#: ../../using/running.md:87 c0aa1218b7d04e9a81ca3e7f05096af5 +#: ../../using/running.md:87 a9876a1a7e3440309ae51a72eab387af 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 9cea832e65ee40e39873089956048ff2 +#: ../../using/running.md:92 8bcf00dfd422436bbb41844f7ac95bdc msgid "# get the notebook token from the logs docker logs --tail 3 notebook" msgstr "" -#: ../../using/running.md:96 fff64c04d1a3496ba382123cf0e956c2 +#: ../../using/running.md:96 906184e741324c968ad0e841a6643174 msgid "http://localhost:8888/?token=15914ca95f495075c0aa7d0e060f1a78b6d94f70ea373b00" msgstr "" # c4bc333e19324e2a93118e21b1f8f360 -#: ../../using/running.md:99 0b09249d0021468ca6b1bef4e8aff806 +#: ../../using/running.md:99 65c93438be8c4f94ae155276ef311d9c msgid "" "Together, the URL to visit on the host machine to access the server in " "this case is " @@ -1589,25 +1589,25 @@ msgid "" msgstr "" # bf82931e197b40ad940d9969993120a2 -#: ../../using/running.md:101 15ecc044e178450cb739d3ed85c66ff9 +#: ../../using/running.md:101 809ccab92a684715b8352e09675799af msgid "" "The container runs in the background until stopped and/or removed by " "additional Docker commands." msgstr "" -#: ../../using/running.md:103 0a995476d5a948389948581952cd41ea +#: ../../using/running.md:103 79a1daa8da6d4df1bd6299e1820fc785 msgid "``` # stop the container docker stop notebook notebook" msgstr "" -#: ../../using/running.md:108 fa2a1f2cd0324dd3b40d77296ada1b83 +#: ../../using/running.md:108 a5fd09bf93dc4842b29ceb0e5098e61d msgid "# remove the container permanently docker rm notebook notebook ```" msgstr "" -#: ../../using/running.md:113 1b2c5f64017843d9b12f0247316aa933 +#: ../../using/running.md:113 c98c57e093bf408e958a372abbfefa22 msgid "## Using Binder" msgstr "" -#: ../../using/running.md:115 787275b2c06f45898b9e72b29b9b5d0b +#: ../../using/running.md:115 59c3039fa04c402393f64bb61f22cc1a msgid "" "[Binder](https://mybinder.org/) is a service that allows you to create " "and share custom computing environments for projects in version control. " @@ -1621,11 +1621,11 @@ msgid "" "instructions." msgstr "" -#: ../../using/running.md:117 a27c148dfbe7482c9be7ae1fec578cf3 +#: ../../using/running.md:117 560da759a53e412ab5f3a7d11d7e8a2e msgid "## Using JupyterHub" msgstr "" -#: ../../using/running.md:119 07a34577d26e4f40b76e094389b2adf1 +#: ../../using/running.md:119 1b722e1fa566400495bfd6803b2fd77b msgid "" "You can configure JupyterHub to launcher Docker containers from the " "Jupyter Docker Stacks images. If you've been following the [Zero to " @@ -1639,11 +1639,11 @@ msgid "" "[dockerspawner](https://github.com/jupyterhub/dockerspawner) instead." msgstr "" -#: ../../using/running.md:121 d24bf22b68d14fb58e6b6f24955b5cbe +#: ../../using/running.md:121 9f3d34afce79455ba9a6e183e66e6663 msgid "## Using Other Tools and Services" msgstr "" -#: ../../using/running.md:123 53a81d16ab7c4dda9ac1e1735cb8a5e8 +#: ../../using/running.md:123 aa8d2970160e488a895a3b5a5a961276 msgid "" "You can use the Jupyter Docker Stacks with any Docker-compatible " "technology (e.g., [Docker Compose](https://docs.docker.com/compose/), " @@ -1653,32 +1653,32 @@ msgid "" "containers from these images." msgstr "" -#: ../../using/selecting.md:1 75664153c7a24688baca220060615021 +#: ../../using/selecting.md:1 23aa5c6a42e04c8c82e637d7b1ba0cd0 msgid "# Selecting an Image" msgstr "" -#: ../../using/selecting.md:3 66c168d6908647d28c253f25c4e75f93 +#: ../../using/selecting.md:3 f9368e12a0944a00bd61da809b2ca87e msgid "[Core Stacks](#core-stacks)" msgstr "" -#: ../../using/selecting.md:4 8ff0f6537bd04ca49a9e0285f9d07f9b +#: ../../using/selecting.md:4 cfccadfdaea443bfb5020ee2569ee2f2 msgid "[Image Relationships](#image-relationships)" msgstr "" -#: ../../using/selecting.md:5 13e428fc6318484eb4e538cda76bf262 +#: ../../using/selecting.md:5 a35e63215d4d4faca184e1c79db2e529 msgid "[Community Stacks](#community-stacks)" msgstr "" # af7e19bb10ec44348e8121be4129ce8a -#: ../../using/selecting.md:12 d9f78d3942864bb1a37f98cd474f303d +#: ../../using/selecting.md:12 8d67b8f462d74ef69261b9ce35743d87 msgid "This section provides details about the first." msgstr "" -#: ../../using/selecting.md:14 e3a7494c05444a4990e49ec2f390ad11 +#: ../../using/selecting.md:14 6d3ec38822fc49e2923e20c8515800e3 msgid "## Core Stacks" msgstr "" -#: ../../using/selecting.md:16 d28786120b5f44cb8095abd627b7a8bc +#: ../../using/selecting.md:16 e8d22663885f497985915750e0e0e51e msgid "" "The Jupyter team maintains a set of Docker image definitions in the " "[https://github.com/jupyter/docker-stacks](https://github.com/jupyter" @@ -1686,11 +1686,11 @@ msgid "" "images including their contents, relationships, and versioning strategy." msgstr "" -#: ../../using/selecting.md:21 f834fa9fff164f4ba488771d0287a3b8 +#: ../../using/selecting.md:21 1191779b83d14e58b4f7ed243a65f95e msgid "### jupyter/base-notebook" msgstr "" -#: ../../using/selecting.md:23 d752692d37254f1ba4c392710cff23db +#: ../../using/selecting.md:23 7038db01435c4165ba609f9484b5ec2b msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/base-notebook) | [Dockerfile commit history](https://github.com/jupyter" @@ -1698,64 +1698,64 @@ msgid "" "image tags](https://hub.docker.com/r/jupyter/base-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:27 7d2faf09187f4cc9855991765e45ef56 +#: ../../using/selecting.md:27 e8a6bef96d9b4ddd9f87f486a4bb71ed 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 44ca4681df9540bb9e7c52827201677b +#: ../../using/selecting.md:30 dd1595e2c64446ed840d6517392066c7 msgid "" "Minimally-functional Jupyter Notebook server (e.g., no LaTeX support for " "saving notebooks as PDFs)" msgstr "" -#: ../../using/selecting.md:31 68fff62d4da54a92a78a9fb608f7364c +#: ../../using/selecting.md:31 6f9ca9ef27db4d5b94d951b17d586bed msgid "" "[Miniforge](https://github.com/conda-forge/miniforge) Python 3.x in " "`/opt/conda`" msgstr "" # c5732a5536554f91b8dd7e8946beaab8 -#: ../../using/selecting.md:32 66f31f5d4f404b41aa6e31d4ef4d08a7 +#: ../../using/selecting.md:32 e186204345e942fc8ca37e68abfd954d msgid "No preinstalled scientific computing packages" msgstr "" -#: ../../using/selecting.md:33 b90d5cebcee74f5fb4bbd38758b6141b +#: ../../using/selecting.md:33 4afab93702314233999b6143873df16a 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 a8841b45017841ce8357cf7e25b48f85 +#: ../../using/selecting.md:35 afb7075d0f324a679f49a3cdaf76d9b9 msgid "" "`tini` as the container entrypoint and a `start-notebook.sh` script as " "the default command" msgstr "" -#: ../../using/selecting.md:36 3511e9e3a05b46b290aca47ee7202559 +#: ../../using/selecting.md:36 851cde9eb460407f9db36184569c9131 msgid "" "A `start-singleuser.sh` script useful for launching containers in " "JupyterHub" msgstr "" -#: ../../using/selecting.md:37 0aefec93e9fc4bed90d508a35c083bba +#: ../../using/selecting.md:37 e057434e0273468a9f2fb2a1a9721d17 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 9222e727c535411faf4e8fc5a0518f6f +#: ../../using/selecting.md:39 c663174225124f7fafc155c179beb877 msgid "Options for a self-signed HTTPS certificate and passwordless sudo" msgstr "" -#: ../../using/selecting.md:41 be99b82a81d54f0abdbdd01860ed392d +#: ../../using/selecting.md:41 94d5681ca2ee4792b533e44265fd3d68 msgid "### jupyter/minimal-notebook" msgstr "" -#: ../../using/selecting.md:43 dcf4215fa9de405eb4f4e802439129b1 +#: ../../using/selecting.md:43 f748dbcdae0f43b9a32719ec857c3d35 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/minimal-notebook) | [Dockerfile commit " @@ -1764,32 +1764,32 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/minimal-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:47 1700ff3d23da4cecac1d7a741ffa3ac1 +#: ../../using/selecting.md:47 5987bc6902424595a9fa08fd2bc3879e msgid "" "`jupyter/minimal-notebook` adds command line tools useful when working in" " Jupyter applications." msgstr "" -#: ../../using/selecting.md:49 c61e30d7a09144e2bca3682aea2a4900 +#: ../../using/selecting.md:49 17f308da82474964b968d14fa0eb144b msgid "Everything in `jupyter/base-notebook`" msgstr "" -#: ../../using/selecting.md:50 dee79f58d1594f73b0fa77a067f74ad3 +#: ../../using/selecting.md:50 16b7ac66a8974f1586e2bdcf75ed710e msgid "[TeX Live](https://www.tug.org/texlive/) for notebook document conversion" msgstr "" -#: ../../using/selecting.md:51 af808712d9404a799149aa150fd81fea +#: ../../using/selecting.md:51 550326071223405692b9da4974a167b7 msgid "" "[git](https://git-scm.com/), [vi](https://vim.org/) (actually `vim-" "tiny`), [nano](https://www.nano-editor.org/) (actually `nano-tiny`), " "tzdata, and unzip" msgstr "" -#: ../../using/selecting.md:55 3c2487b5ec0f493fa7692535c832d477 +#: ../../using/selecting.md:55 74d775fc0f2c430b835af0832faa075d msgid "### jupyter/r-notebook" msgstr "" -#: ../../using/selecting.md:57 1b736e6ca7a04b048af2d8613bff3152 +#: ../../using/selecting.md:57 ad16ad422ef14a3aa6176ae07a75075b msgid "" "[Source on GitHub](https://github.com/jupyter/docker-" "stacks/tree/master/r-notebook) | [Dockerfile commit " @@ -1798,33 +1798,33 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/r-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:61 327a2bed56534836b5ee8528dcb567ca +#: ../../using/selecting.md:61 a2e3cac2551a4558a9d25cf2a1e17136 msgid "`jupyter/r-notebook` includes popular packages from the R ecosystem." msgstr "" #: ../../using/selecting.md:63 ../../using/selecting.md:86 -#: 52e47cd2219b45f9b788a8f0c4ff9785 568dfebd74f84a33970bf691561344aa +#: 19bb4b41892449ac8e64f456245236b2 f789ad5e07474a278af42a3b4d8b0227 msgid "Everything in `jupyter/minimal-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:64 a9810c7e5feb47e68077c07d503390d5 +#: ../../using/selecting.md:64 4480c2aad623499fb8dfaf55674f9f64 msgid "The [R](https://www.r-project.org/) interpreter and base environment" msgstr "" #: ../../using/selecting.md:65 ../../using/selecting.md:155 -#: 14ad1701d66446499797aab1de5df97c 2786dbb091644c7caa93edb6f948c648 +#: 5c88f214d6224b16a11621b7d2afa349 8672109d7553479aa6157db365735f54 msgid "" "[IRKernel](https://irkernel.github.io/) to support R code in Jupyter " "notebooks" msgstr "" -#: ../../using/selecting.md:66 003fbacf96f44f0cb83023a4bc1b4e5e +#: ../../using/selecting.md:66 662efc75a88b44dd8f2bfd14a3c4c846 msgid "" "[tidyverse](https://www.tidyverse.org/) packages from [conda-forge](https" "://conda-forge.github.io/feedstocks)" msgstr "" -#: ../../using/selecting.md:68 9750d153ad26499796eda80d4747a496 +#: ../../using/selecting.md:68 1f06137ca8334ac0b977af27791c1215 msgid "" "[devtools](https://cran.r-project.org/web/packages/devtools/index.html), " "[shiny](https://shiny.rstudio.com/), " @@ -1839,11 +1839,11 @@ msgid "" " packages from [conda-forge](https://conda-forge.github.io/feedstocks)" msgstr "" -#: ../../using/selecting.md:78 0748c8fd571648c795fa88a11080e2af +#: ../../using/selecting.md:78 c91c940d7c33432da58f6f0f034e555f msgid "### jupyter/scipy-notebook" msgstr "" -#: ../../using/selecting.md:80 96160834e38246988d14fe7166b4e4fc +#: ../../using/selecting.md:80 32042aebc2d747929f02de43809dcb7e msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/scipy-notebook) | [Dockerfile commit history](https://github.com/jupyter" @@ -1851,13 +1851,13 @@ msgid "" "image tags](https://hub.docker.com/r/jupyter/scipy-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:84 f1fa4b43a7c940aea8eb1b7992aa1cfd +#: ../../using/selecting.md:84 9156e700229c4483b15595aa9dda28c9 msgid "" "`jupyter/scipy-notebook` includes popular packages from the scientific " "Python ecosystem." msgstr "" -#: ../../using/selecting.md:87 383735fcfb6541a9a71df6401262c16d +#: ../../using/selecting.md:87 ec34586d9a474ead95dc557400b57246 msgid "" "[dask](https://dask.org/), [pandas](https://pandas.pydata.org/), " "[numexpr](https://github.com/pydata/numexpr), " @@ -1881,24 +1881,24 @@ msgid "" "[pytables](https://www.pytables.org/) packages" msgstr "" -#: ../../using/selecting.md:102 931a29cef3d04d90a9a397071accf520 +#: ../../using/selecting.md:102 64886239db2b4389b417755e353d39bb 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 fe51362ed74b4b888a53414b96253bb2 +#: ../../using/selecting.md:105 452c5674fd024311b9df35cd65539ee6 msgid "" "[Facets](https://github.com/PAIR-code/facets) for visualizing machine " "learning datasets" msgstr "" -#: ../../using/selecting.md:107 3ac600116c7f4d4892f8b982dd14154d +#: ../../using/selecting.md:107 134dda35ce7b4fbeb838595f3f4cc28b msgid "### jupyter/tensorflow-notebook" msgstr "" -#: ../../using/selecting.md:109 7b4979abf38c419fb016a78a2c14a845 +#: ../../using/selecting.md:109 c54515b2b77249b382a1b19dab0e7036 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/tensorflow-notebook) | [Dockerfile commit " @@ -1907,28 +1907,28 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/tensorflow-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:113 fd0b3600bca4450a8d2aef2b3e962d46 +#: ../../using/selecting.md:113 a14fc13d9faf4a65b21f3a55b136c638 msgid "" "`jupyter/tensorflow-notebook` includes popular Python deep learning " "libraries." msgstr "" #: ../../using/selecting.md:115 ../../using/selecting.md:143 -#: 7c71135f78084296977a5e71c856f155 8d1c7031723040c68c219a28dd198627 +#: bf59c00b2fb74e8e8ad1be1bdc8701e9 cc9fc19e293340f094cb3386ad7303ff msgid "Everything in `jupyter/scipy-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:116 a302dcd778214a028d583c82ed600dac +#: ../../using/selecting.md:116 61a853065ce34a36a34ec835725738b3 msgid "" "[tensorflow](https://www.tensorflow.org/) and [keras](https://keras.io/) " "machine learning libraries" msgstr "" -#: ../../using/selecting.md:119 35ccb0b835bd4f1f962662e2241e4bb8 +#: ../../using/selecting.md:119 005706993ed94520b993d0c3492a112e msgid "### jupyter/datascience-notebook" msgstr "" -#: ../../using/selecting.md:121 ec1b31c98b3846228a2fa5105280a7fc +#: ../../using/selecting.md:121 8c06e82c5124462ab76ef2db0c3f1279 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/datascience-notebook) | [Dockerfile commit " @@ -1937,40 +1937,40 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/datascience-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:125 ac99773483a24dfca9be6379c5b2ded6 +#: ../../using/selecting.md:125 ebb8b79a059149d08603742ed553412e msgid "" "`jupyter/datascience-notebook` includes libraries for data analysis from " "the Julia, Python, and R communities." msgstr "" -#: ../../using/selecting.md:128 1cdaaccc786e471dba78ab722dcff90c +#: ../../using/selecting.md:128 51ea60520b5a47a3897aea57154caa2b msgid "" "Everything in the `jupyter/scipy-notebook` and `jupyter/r-notebook` " "images, and their ancestor images" msgstr "" -#: ../../using/selecting.md:130 51d5fba44e214348962df6248eaeb447 +#: ../../using/selecting.md:130 a8647f5b0bfd495fafa9b7e1793ccd82 msgid "The [Julia](https://julialang.org/) compiler and base environment" msgstr "" -#: ../../using/selecting.md:131 b6d8d030fa9e45aa809f4205fcb2333b +#: ../../using/selecting.md:131 50babe7a0ca945f99773f6482a4f102c msgid "" "[IJulia](https://github.com/JuliaLang/IJulia.jl) to support Julia code in" " Jupyter notebooks" msgstr "" -#: ../../using/selecting.md:132 b373e6829c1840cd942b65645fdf3403 +#: ../../using/selecting.md:132 37250c26836f4f4b94aaa9cd750a6d3d 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 ec96fb709add4e5ca5885541b1e84fc4 +#: ../../using/selecting.md:135 5f5817cc2b99499ca893416a0a5af3da msgid "### jupyter/pyspark-notebook" msgstr "" -#: ../../using/selecting.md:137 ad24cae86fba4b798492dadf047e50d8 +#: ../../using/selecting.md:137 9bf8afa586ce42d99ea53ef2ab313c37 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/pyspark-notebook) | [Dockerfile commit " @@ -1979,19 +1979,19 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/pyspark-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:141 5b6280ab233d432cb563980e47642daa +#: ../../using/selecting.md:141 26315b665d87493da83080d0b4b14705 msgid "`jupyter/pyspark-notebook` includes Python support for Apache Spark." msgstr "" -#: ../../using/selecting.md:144 b859d1ce80284c07aeac70e8b74d9908 +#: ../../using/selecting.md:144 e2e486a872d0450697bc016b7cd8b6d8 msgid "[Apache Spark](https://spark.apache.org/) with Hadoop binaries" msgstr "" -#: ../../using/selecting.md:146 a2ed37f395ee429f9106381f59db32d3 +#: ../../using/selecting.md:146 9cee348f963f4e5fa5811367a80e5cf4 msgid "### jupyter/all-spark-notebook" msgstr "" -#: ../../using/selecting.md:148 c4107519dcbc44aaa381af4686a26b15 +#: ../../using/selecting.md:148 e018ca4e0a804f71bb3ff8efba300020 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/all-spark-notebook) | [Dockerfile commit " @@ -2000,35 +2000,35 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/all-spark-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:152 590933707f5740d6a0e25a6ec570e7b1 +#: ../../using/selecting.md:152 dea56dd03f1f4c2c8bd0ee63743efece msgid "" "`jupyter/all-spark-notebook` includes Python, R, and Scala support for " "Apache Spark." msgstr "" -#: ../../using/selecting.md:154 6d03dd1ce2014a4192e1f535862f7811 +#: ../../using/selecting.md:154 b48c07e093e0404496a6706b981b7baf msgid "Everything in `jupyter/pyspark-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:156 d15f4be7255c4e6b97e100491520dc6f +#: ../../using/selecting.md:156 63224f58c8314c3c86c97e1ea7f36a7f 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 1ae45e7cd01746b8a2e855284537b51a +#: ../../using/selecting.md:159 3259d23487fa466289c37002225d4b15 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 1f68325850ee4d1d80fac4066a02b1af +#: ../../using/selecting.md:162 c8b1d12287eb469e8ec967974b76b481 msgid "### Image Relationships" msgstr "" -#: ../../using/selecting.md:164 7b6a3bafe8a94743bc92d17b640edd05 +#: ../../using/selecting.md:164 b57792d6867545de9ea8028accb64c7f msgid "" "The following diagram depicts the build dependency tree of the core " "images. (i.e., the `FROM` statements in their Dockerfiles). Any given " @@ -2036,7 +2036,7 @@ msgid "" "it." msgstr "" -#: ../../using/selecting.md:168 35950d6c702748ab897abed53a0d6f81 +#: ../../using/selecting.md:168 5d1bd9a48d5142c7b051e6adbde673b1 msgid "" "[![Image inheritance " "diagram](../images/inherit.svg)](http://interactive.blockdiag.com/?compression=deflate&src" @@ -2045,11 +2045,11 @@ msgid "" "Zh7Z24OLLq2SjaxpvP10lX35vCf6pOxELFmUbQiUz4oQhYzMc3gCrRt2cWe_FKosmSjyFHC6OS1AwdQWCtyj7sfh523_BI9hKlQ25YdOFdv5fcH0kiEMA)" msgstr "" -#: ../../using/selecting.md:171 af776decb3ff460baeff0d0ce4b2eba1 +#: ../../using/selecting.md:171 385deb53ae854a4ca078f65fcefd424e msgid "### Builds" msgstr "" -#: ../../using/selecting.md:173 2e5cf343afb54473b1dba439391c4e49 +#: ../../using/selecting.md:173 f1e028af0e6746dda5bda8b44e89e298 msgid "" "Pull requests to the `jupyter/docker-stacks` repository trigger builds of" " all images on GitHub Actions. These images are for testing purposes only" @@ -2058,18 +2058,18 @@ msgid "" " Docker Hub." msgstr "" -#: ../../using/selecting.md:178 d68220aa7b5747159530e4ed3d183e87 +#: ../../using/selecting.md:178 ab75084d08934347aab291bf5f9cd0c8 msgid "### Versioning" msgstr "" -#: ../../using/selecting.md:180 76ef54716b654506a7870eacc8703bf3 +#: ../../using/selecting.md:180 e0c78b843a024749816ea0fcb7d892f9 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 bef953d949134564bb2e55127d5ddeea +#: ../../using/selecting.md:183 ff0ead648e244431979aa2abfe6f8d59 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 " @@ -2080,7 +2080,7 @@ msgid "" "stacks/tree/7c45ec67c8e7))." msgstr "" -#: ../../using/selecting.md:189 39744a2c19464cae82d9eba34c7ffa91 +#: ../../using/selecting.md:189 34f4f8d809f048cc820e3ae28e871a7c msgid "" "You must refer to git-SHA image tags when stability and reproducibility " "are important in your work. (e.g. `FROM jupyter/scipy-" @@ -2090,12 +2090,12 @@ msgid "" "library in a notebook)." msgstr "" -#: ../../using/selecting.md:195 968f97071ac64d79a80ea4312ca99968 +#: ../../using/selecting.md:195 412f8c3e7c7d428e9136f40c0a4d7d5e msgid "## Community Stacks" msgstr "" # a448d28293544f72b0e5de024b0a1ef5 -#: ../../using/selecting.md:197 d13d35032ae4465b8ef21fdde299f0be +#: ../../using/selecting.md:197 9a1f178713c049e0bf18c9d4404c4b3a 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 " @@ -2103,7 +2103,7 @@ msgid "" "them below." msgstr "" -#: ../../using/selecting.md:201 5a238c08c5774d82ba898a6711ec8cd9 +#: ../../using/selecting.md:201 5565721c64af40b9b1c38ea640b6c3af msgid "" "[csharp-notebook is a community Jupyter Docker Stack image. Try C# in " "Jupyter Notebooks](https://github.com/tlinnet/csharp-notebook). The image" @@ -2113,7 +2113,7 @@ msgid "" "/csharp-notebook/master)." msgstr "" -#: ../../using/selecting.md:206 cb7149a9d88e4dedb110071f8ae433b2 +#: ../../using/selecting.md:206 c9c0775888e744ab8718df16f10edc22 msgid "" "[education-notebook is a community Jupyter Docker Stack " "image](https://github.com/umsi-mads/education-notebook). The image " @@ -2123,11 +2123,11 @@ msgid "" "/umsi-mads/education-notebook/master)." msgstr "" -#: ../../using/selecting.md:211 7947a964c8c041b38338b82d60cc4aca +#: ../../using/selecting.md:211 54fade16194a4b11a89b369fda4f4ddf msgid "**crosscompass/ihaskell-notebook**" msgstr "" -#: ../../using/selecting.md:213 97dbfec8e8bf4acd96c91b86a8fbb04c +#: ../../using/selecting.md:213 7badb8a2ce444259952dd59b68139955 msgid "" "[Source on GitHub](https://github.com/jamesdbrock/ihaskell-notebook) | " "[Dockerfile commit history](https://github.com/jamesdbrock/ihaskell-" @@ -2135,14 +2135,14 @@ msgid "" "tags](https://hub.docker.com/r/crosscompass/ihaskell-notebook/tags)" msgstr "" -#: ../../using/selecting.md:217 3d53b509d684466dab01debe24cf8348 +#: ../../using/selecting.md:217 2bbeb4517b0342f48d08337dcb20e9fe msgid "" "`crosscompass/ihaskell-notebook` is based on " "[IHaskell](https://github.com/gibiansky/IHaskell). Includes popular " "packages and example notebooks." msgstr "" -#: ../../using/selecting.md:220 27ad600d61aa49c48b184229bde395c2 +#: ../../using/selecting.md:220 9f8bb4e7c61c4c15bcf79efbed1345e9 msgid "" "Try it on " "[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jamesdbrock" @@ -2150,7 +2150,7 @@ msgid "" "notebook/master?urlpath=lab/tree/ihaskell_examples/ihaskell/IHaskell.ipynb)" msgstr "" -#: ../../using/selecting.md:223 c9fb1ced9ebc4c1eb7ae78555f68d055 +#: ../../using/selecting.md:223 099fd689099e47dea6ad2b16c265e68c msgid "" "[java-notebook is a community Jupyter Docker Stack " "image](https://github.com/jbindinga/java-notebook). The image includes " @@ -2160,7 +2160,7 @@ msgid "" "/java-notebook/master)." msgstr "" -#: ../../using/selecting.md:228 42012ff297b34d1ca660f01fafcaa9b0 +#: ../../using/selecting.md:228 5a639acd7f1344e4bf98ee3174e1920d msgid "" "[sage-notebook](https://github.com/sharpTrick/sage-notebook) is a " "community Jupyter Docker Stack image with the " @@ -2170,7 +2170,7 @@ msgid "" "/sage-notebook/master)." msgstr "" -#: ../../using/selecting.md:233 19555cdef89d46c98d756dafd7be6152 +#: ../../using/selecting.md:233 ab53d3c2563b4eaeac0b2493dcb5e6e2 msgid "" "[GPU-Jupyter](https://github.com/iot-salzburg/gpu-jupyter/): Leverage " "Jupyter Notebooks with the power of your NVIDIA GPU and perform GPU " @@ -2181,7 +2181,7 @@ msgid "" "**Keras** and **PyTorch** on top of it." msgstr "" -#: ../../using/selecting.md:239 c46f95179a9c48f7a095e43acc85e145 +#: ../../using/selecting.md:239 29f64d6af30b4c12aebfc7a0632394f6 msgid "" "[cgspatial-notebook](https://github.com/SCiO-systems/cgspatial-notebook) " "is a community Jupyter Docker Stack image. The image includes major " @@ -2191,7 +2191,7 @@ msgid "" "/SCiO-systems/cgspatial-notebook/master)" msgstr "" -#: ../../using/selecting.md:244 000e31a2aff3485ab35135343b682bcd +#: ../../using/selecting.md:244 a7480a7a3b4d4f589cbe1d1317763fd7 msgid "" "[kotlin-notebook](https://github.com/knonm/kotlin-notebook) is a " "community Jupyter Docker Stack image. The image includes [Kotlin kernel " @@ -2201,30 +2201,30 @@ msgid "" "/kotlin-notebook/main)" msgstr "" -#: ../../using/selecting.md:249 746f834d700e431d80612ce4bcbfaff8 +#: ../../using/selecting.md:249 fa6d0b6a70a84868b323beab97389d14 msgid "" "See the [contributing guide](../contributing/stacks.md) for information " "about how to create your own Jupyter Docker Stack." msgstr "" -#: ../../using/specifics.md:1 7ca258e86381476d94ac86482e250481 +#: ../../using/specifics.md:1 44baa3cbc5bd46da878eff9b75efc8e0 msgid "# Image Specifics" msgstr "" # 06b0d21a881140a29e17e5b9fa5598ab -#: ../../using/specifics.md:3 6a6d98522f9c48e18d727e46f4d9d3ff +#: ../../using/specifics.md:3 a951d895b0c24fbea7a5f2a717788a9d msgid "This page provides details about features specific to one or more images." msgstr "" -#: ../../using/specifics.md:5 39917efde2894dfa89f253e1701e9621 +#: ../../using/specifics.md:5 e98bb38aa29e4e4ca9dc85277d74c61d msgid "## Apache Sparkā„¢" msgstr "" -#: ../../using/specifics.md:7 2e919ddbf19b461c84da5c62cf72a206 +#: ../../using/specifics.md:7 514f8a5d8fc744c6a6badd3a595f996a msgid "### Specific Docker Image Options" msgstr "" -#: ../../using/specifics.md:9 c349bfa748f34d0bb4286d4cf3a9ab5e +#: ../../using/specifics.md:9 a9d9b7461a244af9961558c76c4c5bb6 msgid "" "`-p 4040:4040` - The `jupyter/pyspark-notebook` and `jupyter/all-spark-" "notebook` images open [SparkUI (Spark Monitoring and Instrumentation " @@ -2236,18 +2236,18 @@ msgid "" "8888:8888 -p 4040:4040 -p 4041:4041 jupyter/pyspark-notebook`." msgstr "" -#: ../../using/specifics.md:11 4a783115aeb645c0a6a8f3c2da31393b +#: ../../using/specifics.md:11 067e423a1aab4607aff98c96d2443d57 msgid "### Build an Image with a Different Version of Spark" msgstr "" -#: ../../using/specifics.md:13 ae0fcf33eefe4d138f170ab87877a595 +#: ../../using/specifics.md:13 b4fb238552984e56beba95a0e4daf889 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 a50f683023014e13bfe6404cacea259e +#: ../../using/specifics.md:15 6ea25b9ed81e428ca2190604f5b6d1a9 msgid "" "Spark distribution is defined by the combination of the Spark and the " "Hadoop version and verified by the package checksum, see [Download Apache" @@ -2259,106 +2259,52 @@ msgid "" "package checksum (`BFE4540...`)." msgstr "" -#: ../../using/specifics.md:19 c71e0eed9cf041c9b7b771023380fe9f -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 45458e545e9e497ea51013682ac2fb8d +#: ../../using/specifics.md:19 561614c6f6ea4ae4936722c1e42eee4a 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 275bf7a0777341f3ba8dd7599e58e03d +#: ../../using/specifics.md:22 a4cf0c7e9b5c4da49c20f1954d49e9ce 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 3aeeae209737454089449a78bae4b124 +#: ../../using/specifics.md:24 a503ac4e9c174280a6aa5abd0a4f5256 msgid "" "```bash # From the root of the project # Build the image with different " "arguments docker build --rm --force-rm \\" msgstr "" -#: ../../using/specifics.md:30 68f8d43a7dd642d6a030ba1684a93842 +#: ../../using/specifics.md:28 a2fea44e60aa4f4189bc93ebf272c6b4 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 " -"spark_checksum=3A9F401EDA9B5749CDAFD246B1D14219229C26387017791C345A23A65782FB8B25A302BF4AC1ED7C16A1FE83108E94E55DAD9639A51C751D81C8C0534A4A9641" -" \\ --build-arg openjdk_version=8 \\ --build-arg py4j_version=0.10.7" +"-t jupyter/pyspark-notebook:spark-2.4.7 ./pyspark-notebook \\ --build-arg" +" spark_version=2.4.7 \\ --build-arg hadoop_version=2.7 \\ --build-arg " +"spark_checksum=0F5455672045F6110B030CE343C049855B7BA86C0ECB5E39A075FF9D093C7F648DA55DED12E72FFE65D84C32DCD5418A6D764F2D6295A3F894A4286CC80EF478" +" \\ --build-arg openjdk_version=8" msgstr "" -#: ../../using/specifics.md:37 c83e3432eed3479089302c3a343697e9 +#: ../../using/specifics.md:34 cd5edaa2ba634c3581fdffd6aab6d301 msgid "" -"# Check the newly built image docker images jupyter/pyspark-" -"notebook:spark-2.4.6" +"# Check the newly built image docker run -it --rm jupyter/pyspark-" +"notebook:spark-2.4.7 pyspark --version" msgstr "" -#: ../../using/specifics.md:40 85cd66dd5a924afb8c59c5ad6bbc398f -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 b75b026e4c8f42daa95964297b2a17f2 -msgid "" -"# Check the Spark version docker run -it --rm jupyter/pyspark-" -"notebook:spark-2.4.6 pyspark --version" -msgstr "" - -#: ../../using/specifics.md:46 dc8f61bfc6eb44bfa4fdf9aa453a0cb4 +#: ../../using/specifics.md:37 057091d9223e4034853a9ef2d7f93248 msgid "" "# Welcome to # ____ __ # / __/__ ___ _____/ /__ " "# _\\ \\/ _ \\/ _ `/ __/ '_/ # /___/ .__/\\_,_/_/ /_/\\_\\ " -"version 2.4.6 # /_/ # # Using Scala version 2.11.12, OpenJDK 64-Bit" -" Server VM, 1.8.0_265 ```" +"version 2.4.7 # /_/ # # Using Scala version 2.11.12, OpenJDK 64-Bit" +" Server VM, 1.8.0_275 ```" msgstr "" -#: ../../using/specifics.md:56 e94d4a3ef83b450ea3f8ad7f4947355a -msgid "**Tip**: to get the version of Py4J shipped with Spark:" -msgstr "" - -#: ../../using/specifics.md:58 86cbce0a19fd44ee803a8ab58327d848 -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 7f32c32c500b4154b9e1e02927fe38fb -msgid "get the version (`ls /usr/local/spark/python/lib/`)," -msgstr "" - -#: ../../using/specifics.md:60 fe54800acb24404a803469089fd9fe25 -msgid "set the version `--build-arg py4j_version=0.10.7`." -msgstr "" - -#: ../../using/specifics.md:62 95ae286bc24e40439ab1c39e90537849 -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 " -"pyspark.zip # You can now set the build-arg # --build-arg py4j_version= " -"```" -msgstr "" - -#: ../../using/specifics.md:69 e14de86457084033acfac70be5b3bca5 -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 47091431403e4f83a99fcfda6216d214 +#: ../../using/specifics.md:47 6552b150d13c41358164453b4ce0114f msgid "### Usage Examples" msgstr "" -#: ../../using/specifics.md:73 1b9df13e1f954d959afc3290130e0df5 +#: ../../using/specifics.md:49 aaf489fd8d7045f6a487c7dda796e727 msgid "" "The `jupyter/pyspark-notebook` and `jupyter/all-spark-notebook` images " "support the use of [Apache Spark](https://spark.apache.org/) in Python, " @@ -2366,152 +2312,152 @@ msgid "" "how to get started using them." msgstr "" -#: ../../using/specifics.md:75 02065087e0eb44158474a9260f8cd5c8 +#: ../../using/specifics.md:51 8e55ec2259b84cdf918dced6af1dbe9d msgid "#### Using Spark Local Mode" msgstr "" -#: ../../using/specifics.md:77 a7efe350303d49c8added1872719535b +#: ../../using/specifics.md:53 02db213005ee4493afc1c04de40b4782 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 -#: 26aae1f7f929486fa7fde4f8022bf25e 38114df774a14af68ad6682b63fa8e0b +#: ../../using/specifics.md:55 ../../using/specifics.md:143 +#: 2c2f8c3be5514e7eb84c555862b4b209 a82538ef143e45f9b1284180b5710715 msgid "##### In Python" msgstr "" -#: ../../using/specifics.md:81 1162b1bc29444bccbd004f36bbea34c9 +#: ../../using/specifics.md:57 9e4e68dabb9b479f9aed1f81bdb1e25e msgid "In a Python notebook." msgstr "" -#: ../../using/specifics.md:83 ../../using/specifics.md:172 -#: 36346d8f03dd4f2fbdb248ecca3d22f6 a9ea456484dc45cb97b4f99c01590d91 +#: ../../using/specifics.md:59 ../../using/specifics.md:148 +#: 77f2821ff0cb475bad3e24dc8aad88fa c830b37fc7244b80b22b366c73f63f6e msgid "```python from pyspark.sql import SparkSession" msgstr "" -#: ../../using/specifics.md:86 6aa2910180cf441793743a11a75681e7 +#: ../../using/specifics.md:62 cc1c820c96434225a908fb0ad98c6f43 msgid "" "# Spark session & context spark = " "SparkSession.builder.master('local').getOrCreate() sc = " "spark.sparkContext" msgstr "" -#: ../../using/specifics.md:90 ../../using/specifics.md:179 -#: 8ebf3fabcd9d4164891f95f2da55de73 c856fe1647c44bfda8f68bc80baa8f6b +#: ../../using/specifics.md:66 ../../using/specifics.md:155 +#: 2bbf941ecad24b56b0ac073d4f4de0ef 9b7c0ec805624c77ae360f18e1847f7a 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 -#: 2fb22414dc584a0b9eed91c9043ddee1 3f44a931982142b79069281ce586febb +#: ../../using/specifics.md:72 ../../using/specifics.md:161 +#: 012bf8b5dabc425fac506803acaaf59b 6cf9612e31b944d3818b009a7b2c5e20 msgid "##### In R" msgstr "" -#: ../../using/specifics.md:98 ../../using/specifics.md:187 -#: 3fc0ac35d9434a17b017de082b3ac324 b38e6feebe54409f9fb1ad9ec3d6f905 +#: ../../using/specifics.md:74 ../../using/specifics.md:163 +#: 53515c0ee6df46689314216100fa430e ecded93c709241ed9d5e70cd3f9d6451 msgid "In a R notebook with [SparkR][sparkr]." msgstr "" -#: ../../using/specifics.md:100 ../../using/specifics.md:189 -#: 0e9d0fc05eda492ab96cf3afa922136f d3ddc91de64c49c2b1be77f457dbe535 +#: ../../using/specifics.md:76 ../../using/specifics.md:165 +#: 26d054506e144617b7f1d5568c9cdac4 ca0e5d0280df42188e3dd363adb7a320 msgid "```R library(SparkR)" msgstr "" -#: ../../using/specifics.md:103 39dd0f500ae9485f89df5cb9221029c5 +#: ../../using/specifics.md:79 a0dbf9274ab84bd89c0862ece689843d msgid "# Spark session & context sc <- sparkR.session(\"local\")" msgstr "" -#: ../../using/specifics.md:106 ../../using/specifics.md:195 -#: b8475d3556f84850ac234547e654b425 f603d1949231402bb441db920c9044da +#: ../../using/specifics.md:82 ../../using/specifics.md:171 +#: 9e77e6ccf2b94eca925124d8397812f9 d4a43ef794764187b43026bda6feec23 msgid "" "# Sum of the first 100 whole numbers sdf <- createDataFrame(list(1:100)) " "dapplyCollect(sdf," msgstr "" -#: ../../using/specifics.md:109 ../../using/specifics.md:198 -#: 2fe7dfb0c9d3452fa69106b9567309ed ae00e4e3d7104718854348eceb8be37d +#: ../../using/specifics.md:85 ../../using/specifics.md:174 +#: 2f6855345ff04b008bb29e0f4d0dc4cf 37ee6b6eda9d449c95381015168e817a msgid "function(x) { x <- sum(x)}" msgstr "" -#: ../../using/specifics.md:111 ../../using/specifics.md:200 -#: 3fe7042b200a413db5f26a48971c9f5d 7944864087ce442d9159b4606abee42a +#: ../../using/specifics.md:87 ../../using/specifics.md:176 +#: 1639efc187304f8eb2e84b91545f1e3c cf83f696b7e84877a9ee35af117ae1b0 msgid ")" msgstr "" -#: ../../using/specifics.md:112 ../../using/specifics.md:131 -#: ../../using/specifics.md:201 ../../using/specifics.md:219 -#: 2d2450b46af142fb9866d27f890715cf 5a99da3c1ad44cb0be1fd1e61f36bf38 -#: aee30f075a7643ddb255e61c10931dd1 f427db58dab647a891e1dd79753c0a01 +#: ../../using/specifics.md:88 ../../using/specifics.md:107 +#: ../../using/specifics.md:177 ../../using/specifics.md:195 +#: 1c1f8309d63e454aa4b0a472d927fe90 4c83602ca9d24d419db7fa9ab19363d9 +#: 6b7193ae8f8e40b6aff50b736a2cda76 cca42d2b187a48bd89dd97906dd3d313 msgid "# 5050 ```" msgstr "" -#: ../../using/specifics.md:115 ../../using/specifics.md:204 -#: 02a9fc3a481e4b629edceb121ed930bb 302b1a5ba9bb420385825f412337e6b4 +#: ../../using/specifics.md:91 ../../using/specifics.md:180 +#: 12a59c5c46a84dbba75c71cac9465e5d 541ef690a05a45aa9839c144c4d86a60 msgid "In a R notebook with [sparklyr][sparklyr]." msgstr "" -#: ../../using/specifics.md:117 ../../using/specifics.md:206 -#: 04f1484510094117ab4f3abd248603a0 6284efc4f76c49c1bb55cea2ad51e9f2 +#: ../../using/specifics.md:93 ../../using/specifics.md:182 +#: 3d124665242e4bbb93af03deaf092418 5ca7ee73deab4110863858c753c47cee msgid "```R library(sparklyr)" msgstr "" -#: ../../using/specifics.md:120 a8f904b5105c443c99d1fa1876261aeb +#: ../../using/specifics.md:96 784dc9c63df94a66b2f81718096798a5 msgid "" "# Spark configuration conf <- spark_config() # Set the catalog " "implementation in-memory conf$spark.sql.catalogImplementation <- \"in-" "memory\"" msgstr "" -#: ../../using/specifics.md:125 fa3ec19510c34c7c8847f3ff684fedf9 +#: ../../using/specifics.md:101 702f2a040b254d8cbd1e645299401363 msgid "" "# Spark session & context sc <- spark_connect(master = \"local\", config " "= conf)" msgstr "" -#: ../../using/specifics.md:128 ../../using/specifics.md:216 -#: 0b12dc4faf8245b3b8441bc6ed577162 67f04a43e192475283d3ceda016826c9 +#: ../../using/specifics.md:104 ../../using/specifics.md:192 +#: 654284651c9044d7b00bae1a18b5e6ca a785e1e67b954649a33f8de8ad6f095a msgid "# Sum of the first 100 whole numbers sdf_len(sc, 100, repartition = 1) %>%" msgstr "" -#: ../../using/specifics.md:130 ../../using/specifics.md:218 -#: 310e6abffb5947af8b2b835fb332e8fa 4da3dbc346474e27966de90f737a6222 +#: ../../using/specifics.md:106 ../../using/specifics.md:194 +#: 386f989bb1344566b65c28820354417e ec146df4e72141eeae17508ba2e80cca msgid "spark_apply(function(e) sum(e))" msgstr "" -#: ../../using/specifics.md:134 ../../using/specifics.md:222 -#: c737f31ea7524035be6eb2fd07461d0b ebfa6a1de6bf40e683e7ce04f48ff2b2 +#: ../../using/specifics.md:110 ../../using/specifics.md:198 +#: f008d2774f514dd9b16dfbe17ff32420 f4195ae67800444590dd0f7f595387d4 msgid "##### In Scala" msgstr "" -#: ../../using/specifics.md:136 ../../using/specifics.md:224 -#: 1b04be43853148328c1f8d8f8fcef7eb 95b6507034464c7b9f792563dca3fd6d +#: ../../using/specifics.md:112 ../../using/specifics.md:200 +#: 8b4b04927cd64308a9027aa7046b0226 df923d9070254025a57d676d011b0ca8 #, 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 767d1d2de6bb44afa6b482f3d59e71ff +#: ../../using/specifics.md:115 c2b88e2beb984e15b43cb2985f1f7cc7 #, python-format msgid "" "```python %%init_spark # Configure Spark to use a local master " "launcher.master = \"local\" ```" msgstr "" -#: ../../using/specifics.md:145 ../../using/specifics.md:233 -#: 924a2ab4a8994476a082ca011060a0b0 dd785fcc63c847899c14c8d5a8957df3 +#: ../../using/specifics.md:121 ../../using/specifics.md:209 +#: 5a4f2760ed3d49478d942b23b7d14546 60075043a8bd41c1abc792dd75198ea4 msgid "" "```scala // Sum of the first 100 whole numbers val rdd = sc.parallelize(0" " to 100) rdd.sum() // 5050 ```" msgstr "" -#: ../../using/specifics.md:152 93e20143c23047cdadc6a9475f8b9054 +#: ../../using/specifics.md:128 543dec61dcf146968eeec30db8187921 msgid "#### Connecting to a Spark Cluster in Standalone Mode" msgstr "" -#: ../../using/specifics.md:154 83e1936a8996448b9ac6269cbf2e96bf +#: ../../using/specifics.md:130 64de19bac9e1415eb3de4e4cb8fc1f32 msgid "" "Connection to Spark Cluster on **[Standalone " "Mode](https://spark.apache.org/docs/latest/spark-standalone.html)** " @@ -2519,19 +2465,19 @@ msgid "" msgstr "" # 2c728588b6df4753a0c08f969364a79a -#: ../../using/specifics.md:156 58613f5269c742cb98e7e0fddb46524b +#: ../../using/specifics.md:132 e1b518569f9c4ad9b21d11c0cb89d453 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 c0b1f7a950c94b92b538669e4a723513 +#: ../../using/specifics.md:134 c25a0c867b9d404f8a4786ca847f23c5 msgid "" "[Deploy Spark in Standalone Mode](http://spark.apache.org/docs/latest" "/spark-standalone.html)." msgstr "" -#: ../../using/specifics.md:159 8d87de5cb65c4a04a47c30157293d46d +#: ../../using/specifics.md:135 8f197feb8d714a67bf890212789deac8 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 " @@ -2541,14 +2487,14 @@ msgid "" "https://github.com/jupyter/docker-stacks/issues/64 for details." msgstr "" -#: ../../using/specifics.md:165 78d354f4f65e4a69a6c16e788cc12d5a +#: ../../using/specifics.md:141 409626ce999745b6bed2c3f4db1e9e65 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 39496da34f694055889d80a628cbaff5 +#: ../../using/specifics.md:145 f6f9b8b43b41499cb4b4a5b5350dce8e 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 " @@ -2557,18 +2503,18 @@ msgid "" "Configuration][spark-conf] for more information." msgstr "" -#: ../../using/specifics.md:175 fa907f78f4554f88ad20292133491c87 +#: ../../using/specifics.md:151 2874b0e70efc45c1a03739a2da5bf684 msgid "" "# Spark session & context spark = " "SparkSession.builder.master('spark://master:7077').getOrCreate() sc = " "spark.sparkContext" msgstr "" -#: ../../using/specifics.md:192 5adea954b0b84558b5189896afcd3b37 +#: ../../using/specifics.md:168 2c439628784943ff8913154f55c3d652 msgid "# Spark session & context sc <- sparkR.session(\"spark://master:7077\")" msgstr "" -#: ../../using/specifics.md:209 9c370e1cacaa4427b423b94d72933a33 +#: ../../using/specifics.md:185 a7998b827ae8411c8b9577f92bd693bb msgid "" "# Spark session & context # Spark configuration conf <- spark_config() # " "Set the catalog implementation in-memory " @@ -2576,61 +2522,61 @@ msgid "" "spark_connect(master = \"spark://master:7077\", config = conf)" msgstr "" -#: ../../using/specifics.md:227 699e47e2753a41768d49b811e6b95aba +#: ../../using/specifics.md:203 6b1adad29bba4dd0a0957ebf41164410 #, python-format msgid "" "```python %%init_spark # Configure Spark to use a local master " "launcher.master = \"spark://master:7077\" ```" msgstr "" -#: ../../using/specifics.md:240 117c63ef64794a0ea7377f2cf372b0ef +#: ../../using/specifics.md:216 dcf950de50ee4118ae917d48b682efec msgid "## Tensorflow" msgstr "" -#: ../../using/specifics.md:242 12708b6516d840f78017884dccec071f +#: ../../using/specifics.md:218 32d7559c2696400cb205506be9f5624d 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 344075383ec24e83a9de95060b494c2a +#: ../../using/specifics.md:221 3e23a20d97c649e9bcbb7e453239b99f msgid "### Single Machine Mode" msgstr "" -#: ../../using/specifics.md:247 ../../using/specifics.md:261 -#: 21f668b8818d4e578c84a5515792fc2d 7305945ac7a146b28a5744ef53f79ee4 +#: ../../using/specifics.md:223 ../../using/specifics.md:237 +#: 6900ae09fc344d888703c20626749bb7 f2a2164969954847a3e98943b895eeea msgid "```python import tensorflow as tf" msgstr "" -#: ../../using/specifics.md:250 d7ba1592df2149319fef1f747c694332 +#: ../../using/specifics.md:226 3d6666b535e64f12be417ce62fb39387 msgid "hello = tf.Variable('Hello World!')" msgstr "" -#: ../../using/specifics.md:252 fe9de7620e9c40309836f4afad9ac1a6 +#: ../../using/specifics.md:228 aaeebf1e895446f9b7321071b7bb8434 msgid "sess = tf.Session() init = tf.global_variables_initializer()" msgstr "" -#: ../../using/specifics.md:255 ../../using/specifics.md:270 -#: 1a44f117a878439780026e52bc12a0bc d9c9d09adebe4fa98b8fac0cdd14a157 +#: ../../using/specifics.md:231 ../../using/specifics.md:246 +#: 13840a774ac740adab02ad13607cff25 2b60a277df3b4a6481f0057bea4f5f67 msgid "sess.run(init) sess.run(hello) ```" msgstr "" -#: ../../using/specifics.md:259 f1db4075d80a4436ab3a81fdd0a2a434 +#: ../../using/specifics.md:235 86c41387e44e4428bbd10673225e8776 msgid "### Distributed Mode" msgstr "" -#: ../../using/specifics.md:264 264d7e5e47b4416785b5bdb3c83168cd +#: ../../using/specifics.md:240 d33b763a735e4ac385428684e322d8f0 msgid "hello = tf.Variable('Hello Distributed World!')" msgstr "" -#: ../../using/specifics.md:266 6ccfc7b67c54480897c64a496973063a +#: ../../using/specifics.md:242 98318ae8bb614bcd8dfdf242c4660f6d msgid "" "server = tf.train.Server.create_local_server() sess = " "tf.Session(server.target) init = tf.global_variables_initializer()" msgstr "" -#: ../../using/specifics.md:274 07cfc6cd5fd4458791a41e9d59a25130 +#: ../../using/specifics.md:250 e70c9f9da29d44d7b48fe97bb0e79d23 msgid "" "[sparkr]: https://spark.apache.org/docs/latest/sparkr.html [sparklyr]: " "https://spark.rstudio.com/ [spark-conf]: " @@ -5086,3 +5032,84 @@ msgstr "" #~ "`nano-tiny`), tzdata, and unzip" #~ msgstr "" +#~ 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 "" + +#~ 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 " +#~ "spark_checksum=3A9F401EDA9B5749CDAFD246B1D14219229C26387017791C345A23A65782FB8B25A302BF4AC1ED7C16A1FE83108E94E55DAD9639A51C751D81C8C0534A4A9641" +#~ " \\ --build-arg openjdk_version=8 \\ " +#~ "--build-arg py4j_version=0.10.7" +#~ msgstr "" + +#~ msgid "" +#~ "# Check the newly built image " +#~ "docker images jupyter/pyspark-notebook:spark-2.4.6" +#~ msgstr "" + +#~ msgid "" +#~ "# REPOSITORY TAG " +#~ "IMAGE ID CREATED SIZE #" +#~ " jupyter/pyspark-notebook spark-2.4.6 " +#~ "7ad7b5a9dbcd 4 minutes ago 3.44GB" +#~ msgstr "" + +#~ msgid "" +#~ "# Check the Spark version docker " +#~ "run -it --rm jupyter/pyspark-" +#~ "notebook:spark-2.4.6 pyspark --version" +#~ msgstr "" + +#~ msgid "" +#~ "# Welcome to # ____ " +#~ "__ # / __/__ ___ _____/ /__" +#~ " # _\\ \\/ _ \\/ _ `/ " +#~ "__/ '_/ # /___/ .__/\\_,_/_/ " +#~ "/_/\\_\\ version 2.4.6 # /_/ #" +#~ " # Using Scala version 2.11.12, " +#~ "OpenJDK 64-Bit Server VM, 1.8.0_265 ```" +#~ msgstr "" + +#~ msgid "**Tip**: to get the version of Py4J shipped with Spark:" +#~ msgstr "" + +#~ 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 "" + +#~ msgid "get the version (`ls /usr/local/spark/python/lib/`)," +#~ msgstr "" + +#~ msgid "set the version `--build-arg py4j_version=0.10.7`." +#~ msgstr "" + +#~ 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 pyspark.zip # You can " +#~ "now set the build-arg # " +#~ "--build-arg py4j_version= ```" +#~ msgstr "" + +#~ 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 "" +