From e16db0575b94b486ab3e7faaea9bd1f1e41d9a8e Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 18 Sep 2020 19:01:26 +0000 Subject: [PATCH] [ci skip] Automated publish for 4b26cce185e2985ae7c6c99fddc918fcb47c551c --- docs/locale/en/LC_MESSAGES/using.po | 851 ++++++++++++++-------------- 1 file changed, 433 insertions(+), 418 deletions(-) diff --git a/docs/locale/en/LC_MESSAGES/using.po b/docs/locale/en/LC_MESSAGES/using.po index 122d68be..be3375f7 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-08-17 03:45+0000\n" +"POT-Creation-Date: 2020-09-18 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.8.0\n" -#: ../../using/common.md:1 4fce0f5e526e469284d5417fde95f266 +#: ../../using/common.md:1 cdd7e3b536584fc893d01c390b03eee0 msgid "# Common Features" msgstr "" -#: ../../using/common.md:3 929d6eeaf8634df8a5cdfc52a02c462e +#: ../../using/common.md:3 500df7cf56534f61843eca0d2c6fffab 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 62140d7be19547b6b2b32e2b1c13fb2d +#: ../../using/common.md:5 6b0cc6b7cc6545a582a9da3bebc6f697 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 c0be247e44b84a9e95c25d135de966bb +#: ../../using/common.md:7 d74db91d2aac411daad1192dea41372b msgid "## Notebook Options" msgstr "" -#: ../../using/common.md:9 acb541cd6d64441fafaed700aaf9996d +#: ../../using/common.md:9 21f5a66282474ab6881df0f98823bda3 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 a902bd20ed844d3099f0ec99157b1a30 +#: ../../using/common.md:11 d8be052937ee48dd8636ae6462507f25 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 0c7f12852dc54df0a43811d2ca04ef45 +#: ../../using/common.md:15 63bc439c3d7b4abcbce190c23b9559a4 msgid "" "For example, to set the base URL of the notebook server, you can run the " "following:" msgstr "" -#: ../../using/common.md:17 0593280110e048d6bbd8f3f1b8b14e41 +#: ../../using/common.md:17 829d7b4ff03d42b9ada9d2f24cc32a13 msgid "" "```bash docker run -d -p 8888:8888 jupyter/base-notebook start-" "notebook.sh --NotebookApp.base_url=/some/path ```" msgstr "" -#: ../../using/common.md:21 07a382297a4e473b8711c9b2c6e2eac5 +#: ../../using/common.md:21 a8e9a97f1a934a9aa3e1c616732de79a msgid "## Docker Options" msgstr "" -#: ../../using/common.md:23 2dc2ab98e5a94aab90465ebdb5b13ba9 +#: ../../using/common.md:23 dd73791cf31a402f8245ff4d57fa8815 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 e756a4d16d964d4e8cd55b2b0a2137de +#: ../../using/common.md:26 af1beefb587b44389505891ca0a32038 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 5c3ea2a32e794e7b8bd7b282af2c0836 +#: ../../using/common.md:27 4f330a0ec3414c1a8a4904c4cc823191 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 aeb262e7c3b041f2bc449098738fb37b +#: ../../using/common.md:28 7134acf338784c5fbdf1ebd6ac525f78 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 bdd2d8f76ca94168ae66b68da89ae49d +#: ../../using/common.md:29 d58fe4a156ee4b79b0a1420c2d6c4321 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 a341af13fb0b442fba55f2aab9c3824a +#: ../../using/common.md:30 733b9907beec4ce9a9b5389a51065478 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 52fd3b9fe31e425c8db6d378a1275fa7 +#: ../../using/common.md:31 17074ed236684e8d916fc9e233d0c654 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 c182846831f7459ea14d4e7680e6a306 +#: ../../using/common.md:32 aee27f06189d4ccda651ea36b72fe8f8 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 9cb7ddb619d444f1a90bc248657725f0 +#: ../../using/common.md:33 310b6ad9e2e848f2aae0b98ab16bbb8a 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 0c4a6c4612d348ec8b2d3179a3d5c1c4 +#: ../../using/common.md:34 3b1d52aac5904b4a9254c367aa416906 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 a3500be7b3f34bdda51399c9e73cbb8b +#: ../../using/common.md:35 d20c8a2a404a4b92b3781ea84f1b30e6 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 c6f68dc278104dd1af3eac5c3d1fccff +#: ../../using/common.md:36 6ad70cecca884d9ab78182bf0b81a7c4 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 4836374d688944d183b83800b3f34685 +#: ../../using/common.md:37 b3929d40aaf64553a0f43da3c9abd08b 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 7fc2f97e30794ced992bbc01a0ac010b +#: ../../using/common.md:38 a02af7501d13400dada129b305885dc9 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 70a3e21074c449e2b2d3eef67a31d03c +#: ../../using/common.md:40 c040a269302448cb82b752dc8ecf14ad msgid "## Startup Hooks" msgstr "" -#: ../../using/common.md:42 9b8973997c69414bbe3d5b8aa1b4e347 +#: ../../using/common.md:42 a20c4f1f71684295a72520d27800290a 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 63913a363559403b88b92a2b1f03e819 +#: ../../using/common.md:45 6728c17d2e69494ba73446dec44c2398 msgid "" "`/usr/local/bin/start-notebook.d/` - handled before any of the standard " "options noted above are applied" msgstr "" -#: ../../using/common.md:47 997679b2ebb842c19bb206524424c2c5 +#: ../../using/common.md:47 177ac3536d3e44c3a909e5834654d6ad 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 f92409aac5c8430f8602bdcb72d03a2c +#: ../../using/common.md:50 0d051175368c441ca5abfdab70254781 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 f065a1c007c74355944c7d4109c813ca +#: ../../using/common.md:53 3a0f8465054e446dad3f9c18bffd1948 msgid "## SSL Certificates" msgstr "" -#: ../../using/common.md:55 370239b6e5d743c1bdb192622ae7f452 +#: ../../using/common.md:55 f1f5d4f783a7446a861c349562927c44 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 -#: 1eb7327c41e84576add842b452547f1e 2b368dfeee684ba7b0121c57f9731549 +#: 398b41c0d49b4b13b413c5c84e4887a7 d3bafb415edd45ce88f8e0963b43bb88 msgid "```bash docker run -d -p 8888:8888 \\" msgstr "" -#: ../../using/common.md:59 2a95ab57477e449ab76436e8bf71c8de +#: ../../using/common.md:59 87185d6e04fb42cb81988975bd50343a 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 -#: 0816a039e6c9423eb814652808bfe21b 1185c23a4e3340fa862508a840a7903a -#: 277f6d7279974166a2d8cb097c687513 5e8c0118526a45889a15a5dcc499a5cc -#: bdb5870a65da40ab8eb3441a19c9e6db e70f9025346d4119b7b0849c6781af2d -#: eff0f67eb89449ab865c9896213ed04a f8f32a5476a0451585672c5acd4c5979 -#: fb74202207bc40b7a56fa0a329cc4ea8 +#: 0817af03aa8f48b489578f31eba4191c 0d3c20aba6164e8baf081cd3bd0eda37 +#: 12a74231771040408e524b56e07634c7 4471757db3664b178f483c06850d6414 +#: 8c3c87228e5a4cd7abe65b02fa910f7d 99704d511c1e4d669abb2ad2a62a2346 +#: b5b46c739c6347ed8dd0eeff79c36836 c5d91a10f0d740d38c962ac1685cffb1 +#: d9b81733dcb44e4abe2d852d3571aa2d msgid "```" msgstr "" # e496d62ce1b7489eabf40a55471247b4 -#: ../../using/common.md:65 5cfab3a9881d4e0a88782e05d450833f +#: ../../using/common.md:65 1b1c8462aac84912bd7f6b2096ef2459 msgid "" "Alternatively, you may mount a single PEM file containing both the key " "and certificate. For example:" msgstr "" -#: ../../using/common.md:69 f00effd578ea4285bacafec6d70d5c1d +#: ../../using/common.md:69 98da1133d13b491fbfb73ff44730d43b 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 cb2fbb5308ca43e882cab8ef05296146 +#: ../../using/common.md:74 6cfea7ee648e4c848874d33ac029ce19 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 d1b22c19fb8b445ebea13998f54d88da +#: ../../using/common.md:76 9488809ed6e94c9b9effdac298df3f5d msgid "For additional information about using SSL, see the following:" msgstr "" -#: ../../using/common.md:78 72b314b445464b80be4c7e8b835fef07 +#: ../../using/common.md:78 6caf328d370245c4b40d6396b08c337a 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 fa5e37a4a9d74d6d93d3604cf4b1e826 +#: ../../using/common.md:79 5abe57cd1e154755a2c84a77343f10ac 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 1faa329414914e0fbad0065d7ce214c4 +#: ../../using/common.md:80 5c1d43066862467aa315b22198cab693 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 0c6c97674c8c477699c866ccdc11ce76 +#: ../../using/common.md:82 710f3a654b974f58b2448dcdc87d162a msgid "## Alternative Commands" msgstr "" -#: ../../using/common.md:84 17e3f1ed26f54cbfb47981793d5dcdc5 +#: ../../using/common.md:84 99f1578e629f4997a1557653cc5117a1 msgid "### start.sh" msgstr "" -#: ../../using/common.md:86 7b071bbed4c3484aa65e204195ee4985 +#: ../../using/common.md:86 b759b16fa6ce4b7a8f4e879832953636 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 61e4780e7e084f49a747c1341311e975 +#: ../../using/common.md:88 4b7b2270dc3e43af8a865d83416bc819 msgid "```bash docker run -it --rm jupyter/base-notebook start.sh ipython ```" msgstr "" # ad0be3e8095e4394afb367e9e56e1ca5 -#: ../../using/common.md:92 3971b1d7c259431ab6cf1e1e849e0057 +#: ../../using/common.md:92 b05ebb0325e04cc9b14d7498951e1a12 msgid "Or, to run JupyterLab instead of the classic notebook, run the following:" msgstr "" -#: ../../using/common.md:94 8bb55812a9c2416e8b88c270cc65374c +#: ../../using/common.md:94 da0ac85cc45e4e62ba760538d2f96398 msgid "" "```bash docker run -it --rm -p 8888:8888 jupyter/base-notebook start.sh " "jupyter lab ```" msgstr "" -#: ../../using/common.md:98 a05254f12b814f7aa106502c3d33fff4 +#: ../../using/common.md:98 5935f5ce1d504463bab0415b5513b1b8 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 c21e7c6058a94bbd829654ca38ebaec8 +#: ../../using/common.md:100 5ddf6b94503a4c36a28f9c2462235120 msgid "### Others" msgstr "" -#: ../../using/common.md:102 c700c4dc720047668d5e5c39fac07367 +#: ../../using/common.md:102 b16360d1af0e4b0084e4e18f3c68967c 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 f23f880579784e9795973cc01869ace3 +#: ../../using/common.md:104 2cd9c5d6cb5048958cd5ffb93bbd2df2 msgid "## Conda Environments" msgstr "" -#: ../../using/common.md:106 9016a3d8095f4d86af004d2cee795f3a +#: ../../using/common.md:106 5442f08fccf74fd58e8d45aa972f9163 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 bc6d84b8d18145329e4a8616d4eea681 +#: ../../using/common.md:108 60e7d4ffe18b46c3bbc4a108c7ae33f1 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 5d926d344bdb4901a06deed4f160eac7 +#: ../../using/common.md:110 775f935d1c104d1dbf98424ed41eb90a msgid "" "```bash # install a package into the default (python 3.x) environment pip" " install some-package conda install some-package ```" msgstr "" -#: ../../using/recipes.md:1 21ae77b0b2464b89851862c9269df5d4 +#: ../../using/recipes.md:1 e05240935f0f41118564a7cd462c80a2 msgid "# Contributed Recipes" msgstr "" -#: ../../using/recipes.md:3 0afa065df3d540759e05c902939812a5 +#: ../../using/recipes.md:3 7d3c89cd4db443f384c80e1171519cf8 msgid "" "Users sometimes share interesting ways of using the Jupyter Docker " "Stacks. We encourage users to [contribute these " @@ -424,11 +424,11 @@ msgid "" "knowledge." msgstr "" -#: ../../using/recipes.md:8 d1a8daeea09e4a8b8071e83a81c26128 +#: ../../using/recipes.md:8 49cb5605f7354e7b948f279261d7190f msgid "## Using `sudo` within a container" msgstr "" -#: ../../using/recipes.md:10 c331e14457e54768b894416ba2e6328c +#: ../../using/recipes.md:10 8c3ccfc645ec4367a11613321ffbd5c4 msgid "" "Password authentication is disabled for the `NB_USER` (e.g., `jovyan`). " "This choice was made to avoid distributing images with a weak default " @@ -436,7 +436,7 @@ msgid "" "container on a publicly accessible host." msgstr "" -#: ../../using/recipes.md:14 b4b2bbed4787432a9da58b7ca5f1dfa1 +#: ../../using/recipes.md:14 9282bdd0c9234ef9baad61f15e9fdf1b msgid "" "You can grant the within-container `NB_USER` passwordless `sudo` access " "by adding `-e GRANT_SUDO=yes` and `--user root` to your Docker command " @@ -444,17 +444,17 @@ msgid "" msgstr "" # f75300183d66418d958651b713e3c81e -#: ../../using/recipes.md:18 49aca884cf794b8ead78dd8b9afb6d2f +#: ../../using/recipes.md:18 b2bff848a8d5495a8ba0fce22f921931 msgid "For example:" msgstr "" -#: ../../using/recipes.md:20 2d038f81dfa949c09e2a30779fd7a5a8 +#: ../../using/recipes.md:20 f689bccd28b440ed8199808b48f90531 msgid "" "```bash docker run -it -e GRANT_SUDO=yes --user root jupyter/minimal-" "notebook ```" msgstr "" -#: ../../using/recipes.md:24 8d760a1f9fdf4eac9d8f2678c0645058 +#: ../../using/recipes.md:24 5151620438134f7389fbbe4ed76fe67f msgid "" "**You should only enable `sudo` if you trust the user and/or if the " "container is running on an isolated host.** See [Docker security " @@ -462,16 +462,16 @@ msgid "" " more information about running containers as `root`." msgstr "" -#: ../../using/recipes.md:27 b9654987319743129c72b4b792460271 +#: ../../using/recipes.md:27 bcf721d059b548aa94c1b5877a1060b2 msgid "## Using `pip install` or `conda install` in a Child Docker image" msgstr "" # cfb1a65ed1a4453e8b3355f1c0c23b1c -#: ../../using/recipes.md:29 a1344e5d760d445baeae857c90ff1756 +#: ../../using/recipes.md:29 3a7ee113ff5b4ff58b4ecb5a41364bc4 msgid "Create a new Dockerfile like the one shown below." msgstr "" -#: ../../using/recipes.md:31 7789ba62884c4aeaa4103d176d5ca51e +#: ../../using/recipes.md:31 e2ceb8638b3b4b0887fc0d98168cd26b msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install in the default python3 environment RUN " @@ -479,22 +479,22 @@ msgid "" msgstr "" # 3ab615dc6fb6425d954cae4ce14f08b9 -#: ../../using/recipes.md:38 9b5e78ab05334ab78101639f6a9a4dd2 +#: ../../using/recipes.md:38 c79eb37edfc34841b6d5a33297322502 msgid "Then build a new image." msgstr "" -#: ../../using/recipes.md:40 1b240d573a5d45149c0e34f5784bbe11 +#: ../../using/recipes.md:40 0346836727c24bbb8afb131981d5c1bc msgid "```bash docker build --rm -t jupyter/my-datascience-notebook . ```" msgstr "" -#: ../../using/recipes.md:44 a0b074f0ca61413c8c72fb2525fe9336 +#: ../../using/recipes.md:44 a353043b0bce4782a37753124406ac3a 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 e1982d7e74c044a19f8017843bbda6bd +#: ../../using/recipes.md:47 152f99df7008450a896b8ac4c0ffb000 msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install from requirements.txt file COPY " @@ -503,17 +503,17 @@ msgid "" msgstr "" #: ../../using/recipes.md:53 ../../using/recipes.md:65 -#: ../../using/recipes.md:129 1b3fa0669bf344bd8df2c60aac675dfc -#: 3b769ac9a9924a77a03cae6b7a191a1b 7d04ab73a4c74c2883360e45380f2ce2 +#: ../../using/recipes.md:129 257dfd894f724be2b12d17fda2dace28 +#: a5d7f8819f3e4294a8609a5953eefe57 b81992ea6f5743ff9e1abf555a6eee6e msgid "fix-permissions $CONDA_DIR && \\ fix-permissions /home/$NB_USER" msgstr "" # f2f035925d764425b9999b19d36c1d30 -#: ../../using/recipes.md:57 6f0cd571ad134b1092bd95901ee8245f +#: ../../using/recipes.md:57 ede0f3095a0945ed98041e2f296b822e msgid "For conda, the Dockerfile is similar:" msgstr "" -#: ../../using/recipes.md:59 6d9b4b6614ae46eca63b5d46eb1d5c66 +#: ../../using/recipes.md:59 542194b4416c4c2f93c13e6292ac989a msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install from requirements.txt file COPY " @@ -521,7 +521,7 @@ msgid "" "/tmp/requirements.txt && \\" msgstr "" -#: ../../using/recipes.md:69 d0470854175c4e1db31149b41c7bc2ca +#: ../../using/recipes.md:69 a327bcdb1d644dcf8ce83c7a81ef299c msgid "" "Ref: [docker-" "stacks/commit/79169618d571506304934a7b29039085e77db78c](https://github.com/jupyter" @@ -529,24 +529,24 @@ msgid "" "stacks/commit/79169618d571506304934a7b29039085e77db78c#commitcomment-15960081)" msgstr "" -#: ../../using/recipes.md:72 e27d86bb188e42d49410d55e15cfc89a +#: ../../using/recipes.md:72 77597855ce4846f1a004be585fb105a0 msgid "## Add a Python 2.x environment" msgstr "" -#: ../../using/recipes.md:74 ecb523c2538c4b8fada80b4391ac6e6c +#: ../../using/recipes.md:74 8556a61184f74b148242aa1e9d584185 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 43b5ee2c7a2142ffb967ed7897628e6e +#: ../../using/recipes.md:78 91984671c0894650b9695b390fef0b97 msgid "" "```dockerfile # Choose your desired base image FROM jupyter/scipy-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:82 167c1b10d7124a1a8ff0e895be54598a +#: ../../using/recipes.md:82 950a1bcffb99420099895ee8ddd1784f msgid "" "# Create a Python 2.x environment using conda including at least the " "ipython kernel # and the kernda utility. Add any additional packages you " @@ -556,17 +556,17 @@ msgid "" msgstr "" #: ../../using/recipes.md:86 ../../using/recipes.md:116 -#: a5805a916c7b4c42b11c695387ed86a0 c757a6615c7e46d1a5ac0cc5d9f0bf2c +#: 4875d705e2b44a33ab1f45adf88ad249 6e3c668c00064c1cbe46990a752bb25c msgid "conda clean --all -f -y" msgstr "" #: ../../using/recipes.md:88 ../../using/recipes.md:253 -#: ../../using/recipes.md:520 693e9d5661964709b373ad41f8f9814c -#: 72fa3635bf4042a7b4e7ed48ae9cc3d8 9356f190995c45c8b21aaff28e9c0543 +#: ../../using/recipes.md:520 0503d4e60e044c1b9da6fcb7d9033452 +#: 259e11d69f36497caaca75092f6d43b6 cb017c2896244fda9ca34154b3d0a664 msgid "USER root" msgstr "" -#: ../../using/recipes.md:90 19a29a30386340989da37412d7c7e882 +#: ../../using/recipes.md:90 0be9d8a3ffd04ed58cb0bc910d2f0cc3 msgid "" "# Create a global kernelspec in the image and modify it so that it " "properly activates # the python2 conda environment. RUN " @@ -575,21 +575,21 @@ msgid "" "/usr/local/share/jupyter/kernels/python2/kernel.json" msgstr "" -#: ../../using/recipes.md:95 18751419b6a048bfad85d8ddce7f05ad +#: ../../using/recipes.md:95 056bb265a0494494bffe32d2ea994e99 msgid "USER $NB_USER ```" msgstr "" -#: ../../using/recipes.md:98 78aeb9b799ed4235b715db541ac5f8a9 +#: ../../using/recipes.md:98 ed88bb240cb342eb8479edb90e8fab23 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/440](https://github.com/jupyter/docker-stacks/issues/440)" msgstr "" -#: ../../using/recipes.md:101 1174e068494541c2b02b488fa2a29551 +#: ../../using/recipes.md:101 9cd36f2fb6e942dd8a5bbd31e2842a7b msgid "## Add a Python 3.x environment" msgstr "" -#: ../../using/recipes.md:103 9e082fe2ae9a481eacc31f2d9795bb17 +#: ../../using/recipes.md:103 0b158c1601dd4f16abd9fb4154311b5c msgid "" "The default version of Python that ships with conda/ubuntu may not be the" " version you want. To add a conda environment with a different version " @@ -597,19 +597,19 @@ msgid "" "Python 2.x but are slightly simpler (no need to switch to `root`):" msgstr "" -#: ../../using/recipes.md:106 14fdf0def9cc40bd98448009ce4dba30 +#: ../../using/recipes.md:106 53516e8c5adc40bdaadb5b9e9844f549 msgid "" "```dockerfile # Choose your desired base image FROM jupyter/minimal-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:110 e89670a1e3784630bb6bef930a5381c1 +#: ../../using/recipes.md:110 f851a9f7c8d94994a86062eb0f07c777 msgid "" "# name your environment and choose python 3.x version ARG " "conda_env=python36 ARG py_ver=3.6" msgstr "" -#: ../../using/recipes.md:114 04aa32df836c4c7293a4fa88ea7385e1 +#: ../../using/recipes.md:114 29e3e18916974012a3ca496b591f2f07 msgid "" "# you can add additional libraries you want conda to install by listing " "them below the first line and ending with \"&& \\\" RUN conda create " @@ -617,67 +617,67 @@ msgid "" "ipykernel && \\" msgstr "" -#: ../../using/recipes.md:118 7dfbef67f32b4516900e36b95b8c531b +#: ../../using/recipes.md:118 32ee8a3c685d4693898cbc39ec7facfc 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 10a8fe0cce10475ba321c6e063247ee0 +#: ../../using/recipes.md:121 062cccd25cd54eaf80bc0ce8b8c2eb6f msgid "" "# COPY environment.yml /home/$NB_USER/tmp/ # RUN cd /home/$NB_USER/tmp/ " "&& \\ # conda env create -p $CONDA_DIR/envs/$conda_env -f " "environment.yml && \\ # conda clean --all -f -y" msgstr "" -#: ../../using/recipes.md:127 1afb33ecb86944dfa4804cd004599e32 +#: ../../using/recipes.md:127 708a0be76955498cb299fa421b49a7dd 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 6b57143e65cb4910bb0f166f6ca92d6e +#: ../../using/recipes.md:132 f8425a15baf74de3a314786be8ef409a 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 6b6a724f49684e11950915b7596997c7 +#: ../../using/recipes.md:135 071aa18022ee44a69bbe9009b0796e9d msgid "" "# prepend conda environment to path ENV PATH " "$CONDA_DIR/envs/${conda_env}/bin:$PATH" msgstr "" -#: ../../using/recipes.md:138 a46bcca3fe164beaa93e9ca71a6a13a0 +#: ../../using/recipes.md:138 41bfac146d304cd38900d8f13f048db6 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 d61bcc304d204c0cbb0749863c33bce0 +#: ../../using/recipes.md:142 ef2fcb1180074a5ca24785aa27689793 msgid "## Run JupyterLab" msgstr "" -#: ../../using/recipes.md:144 bf3597f5c43b4f32a29aa1f81fd1e2cf +#: ../../using/recipes.md:144 87ecd890eb2a44a0afd6e45d1a5568d4 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 77da55969dc24e4e8a92dc7f2c44017f +#: ../../using/recipes.md:147 fb7591798f6449bb81c4a00911997ba5 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 00e3a21ccce74958a862db2b0333761c +#: ../../using/recipes.md:150 cd2cf2cec97d4d848393cbe056b08ba5 msgid "## Dask JupyterLab Extension" msgstr "" -#: ../../using/recipes.md:152 89253fceb4ef4034802507390e9c201e +#: ../../using/recipes.md:152 7b93f8d266aa412a8510abaf8608a0ed msgid "" "[Dask JupyterLab Extension](https://github.com/dask/dask-labextension) " "provides a JupyterLab extension to manage Dask clusters, as well as embed" @@ -685,51 +685,51 @@ msgid "" "Dockerfile as:" msgstr "" -#: ../../using/recipes.md:154 d2f7a5e4ace5463d80548ae56eb6c043 +#: ../../using/recipes.md:154 9687b908ba4f4037be9e6b219e792699 msgid "" "```dockerfile # Start from a core stack version FROM jupyter/scipy-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:158 30be6af8685449d8a2537c4dd857a680 +#: ../../using/recipes.md:158 6a255c5feef548aaa4e17701121b6ac8 msgid "# Install the Dask dashboard RUN pip install dask_labextension ; \\" msgstr "" -#: ../../using/recipes.md:160 f91083b4e6854bad8d4d49ffb735af3a +#: ../../using/recipes.md:160 fd8e2546324a49c89c7f5d3b81b4c34d msgid "jupyter labextension install -y --clean \\ dask-labextension" msgstr "" -#: ../../using/recipes.md:163 2336c3a25c4a4781b2d6d36c45262f6a +#: ../../using/recipes.md:163 804c54187a6b438d897922c5961ee72c msgid "# Dask Scheduler & Bokeh ports EXPOSE 8787 EXPOSE 8786" msgstr "" -#: ../../using/recipes.md:167 b2597fd187644607841cce7407cad322 +#: ../../using/recipes.md:167 def5a0ec890e47458077edf41b5a0bb4 msgid "ENTRYPOINT [\"jupyter\", \"lab\", \"--ip=0.0.0.0\", \"--allow-root\"] ```" msgstr "" -#: ../../using/recipes.md:170 1488742382b34d30b8894c50fb64a9c6 +#: ../../using/recipes.md:170 2051946f34fc4b8db08d6ac83b29711a msgid "" "And build the image as: ```bash docker build -t jupyter/scipy-" "dasklabextension:latest . ```" msgstr "" -#: ../../using/recipes.md:175 18d416f8dfc2424988e083d1389db99c +#: ../../using/recipes.md:175 0df1a5f51b004c5bb39254f6126415f5 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 73ebefdd7c784322a597bbeb15b80bbe +#: ../../using/recipes.md:180 b6714b36305c4020ade732530b33109e msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/999](https://github.com/jupyter/docker-stacks/issues/999)" msgstr "" -#: ../../using/recipes.md:183 8adb79418e5f4283adfdf7c546cb8cb7 +#: ../../using/recipes.md:183 baed6e0f244747b08ce01e5bb14f0b2e msgid "## Let's Encrypt a Notebook server" msgstr "" -#: ../../using/recipes.md:185 2a8e17a7c4b64735a362209cad626a3f +#: ../../using/recipes.md:185 bbd1fc8a545e4e0bbbc4f3c978e88460 msgid "" "See the README for the simple automation here [https://github.com/jupyter" "/docker-stacks/tree/master/examples/make-" @@ -738,67 +738,67 @@ msgid "" "Encrypt certificate." msgstr "" -#: ../../using/recipes.md:189 7a5df525d52c4036980b60e78dfbb697 +#: ../../using/recipes.md:189 140fe8ee35274bae998618c94827d194 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/78](https://github.com/jupyter/docker-stacks/issues/78)" msgstr "" -#: ../../using/recipes.md:192 1946c9a4632947da9f792f9935744a19 +#: ../../using/recipes.md:192 9b5a77e1a5204f6993f9f02b25e34c83 msgid "## Slideshows with Jupyter and RISE" msgstr "" -#: ../../using/recipes.md:194 e12a271bb9c340a79ba7cbc2be5cbb38 +#: ../../using/recipes.md:194 5e0c878aa3a74c5dab51f910798843ad 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 d898abd437a04ac89bff9f9e6e4fad99 +#: ../../using/recipes.md:197 69c133768f174a30b3be1e7652b8ef47 msgid "" "```bash # Add Live slideshows with RISE RUN conda install -c " "damianavila82 rise ```" msgstr "" -#: ../../using/recipes.md:202 19baf3ed474149a283a41b0d1e9337a6 +#: ../../using/recipes.md:202 303ea3af31384c7abec56d57fb969f5b 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 50261e99beac4562a2f523d381c3a307 +#: ../../using/recipes.md:205 dce0858f0a1042abae5023438ae5cbef msgid "## xgboost" msgstr "" # ce204678c3af4aa9a0fb55bb6de7554b -#: ../../using/recipes.md:207 f97f6223daeb485085535d1192382e00 +#: ../../using/recipes.md:207 fa5c7880943e4ac8a2bbeb9b008bd0c5 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 541b2e5903424fb088e319208b00bcd1 +#: ../../using/recipes.md:210 4be4461d6a944d1a8394b48f7c8546ce #, python-format msgid "```bash %%bash conda install -y gcc pip install xgboost" msgstr "" -#: ../../using/recipes.md:215 3306c64171f440deb28242c8c562a8fe +#: ../../using/recipes.md:215 3b7d1a630e4c4567a950a2fef113ba2b msgid "import xgboost ```" msgstr "" -#: ../../using/recipes.md:218 967ae60da8d94526a94e33b2c6618851 +#: ../../using/recipes.md:218 4c73aa5af466462aa0c5a06653d2864d msgid "## Running behind a nginx proxy" msgstr "" # ca7763a5a35a47bd9fb29ae9d00feab3 -#: ../../using/recipes.md:220 d9fdc56f5cde44a59eec92ae8dacdfa8 +#: ../../using/recipes.md:220 15ca706e65ed4a679108358051b489e9 msgid "" "Sometimes it is useful to run the Jupyter instance behind a nginx proxy, " "for instance:" msgstr "" -#: ../../using/recipes.md:222 45aca7f9f2b649619096b104b153b8e9 +#: ../../using/recipes.md:222 39d077487b9d4718ace85b5ad588e48b msgid "" "you would prefer to access the notebook at a server URL with a path " "(`https://example.com/jupyter`) rather than a port " @@ -806,14 +806,14 @@ msgid "" msgstr "" # a5129fb6e2b042f5b8161ed5318123f9 -#: ../../using/recipes.md:224 e3577f54ebdd4b989a5cf71108c1df4e +#: ../../using/recipes.md:224 412a70ec8faf4b389543378fe67cfbc8 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 3119e7965ca847e88c0b11be584f3bf1 +#: ../../using/recipes.md:227 7e8a03c6809e412b815208f1572eb9b3 msgid "" "Here is a [quick example NGINX " "configuration](https://gist.github.com/cboettig/8643341bd3c93b62b5c2) to " @@ -824,11 +824,11 @@ msgid "" "services." msgstr "" -#: ../../using/recipes.md:232 b205c41f502f4f7db433952a0558d505 +#: ../../using/recipes.md:232 537f8428dbdf4b8b87881a1a0620e823 msgid "## Host volume mounts and notebook errors" msgstr "" -#: ../../using/recipes.md:234 312228ee59e841f8949377a7bcbf7d73 +#: ../../using/recipes.md:234 8e176838cac54345b77d059dcfd0c21a 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" @@ -839,48 +839,48 @@ msgid "" "section](../using/common.html#Docker-Options)" msgstr "" -#: ../../using/recipes.md:240 b63a14c8d51a4263b17b9058885a1707 +#: ../../using/recipes.md:240 ab5522ecd5034ebfa62be85d01100292 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/199](https://github.com/jupyter/docker-stacks/issues/199)" msgstr "" -#: ../../using/recipes.md:243 4b49f5b48c0f4d4cbb7515c5e52ed4bb +#: ../../using/recipes.md:243 390eba8bad2c460db02d5f20de398191 msgid "## Manpage installation" msgstr "" # 7fc6566074ee4ba3a4e579437d7f151d -#: ../../using/recipes.md:245 21385057538f4107ac0b0cd41dc5ddc5 +#: ../../using/recipes.md:245 0db65035f37e430eab73981621c40468 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 86b9bd70c85448139751aeabac076f92 +#: ../../using/recipes.md:248 fcb62abce26a45b6a0ac37adeab46bd6 msgid "" "```dockerfile # Choose your desired base image ARG BASE_CONTAINER=jupyter" "/datascience-notebook:latest FROM $BASE_CONTAINER" msgstr "" -#: ../../using/recipes.md:255 390d439d4f5140d98a6487c7391ad147 +#: ../../using/recipes.md:255 65730ccb738a412da7efaff6537fd66e msgid "" "# Remove the manpage blacklist, install man, install docs RUN rm " "/etc/dpkg/dpkg.cfg.d/excludes \\" msgstr "" -#: ../../using/recipes.md:257 0f259b4ab5634629b70374a8e2e50993 +#: ../../using/recipes.md:257 5eeb9194154d4edd957cdacde2fc64c4 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 511241158545433190f15be24554d9ba +#: ../../using/recipes.md:262 7b8c00d6c96f4d4d82bb1d1583f0704f msgid "USER $NB_UID ```" msgstr "" -#: ../../using/recipes.md:265 8a3a667861984050baf943e803ac938d +#: ../../using/recipes.md:265 b32878d02eff4b7b91b03188e350f775 msgid "" "Adding the documentation on top of an existing singleuser image wastes a " "lot of space and requires reinstalling every system package, which can " @@ -891,7 +891,7 @@ msgid "" "container:" msgstr "" -#: ../../using/recipes.md:271 75a0d1232b694c11a980d89df48a2337 +#: ../../using/recipes.md:271 c207d2d77f4a4395af1314d3b7e5fa58 msgid "" "```dockerfile # Ubuntu 20.04 (focal) from 2020-04-23 # https://github.com" "/docker-library/official-" @@ -900,7 +900,7 @@ msgid "" " ```" msgstr "" -#: ../../using/recipes.md:277 495e1b8026cd4c1db05cf53d226ba1be +#: ../../using/recipes.md:277 7fa1d8489afa4cccae304b75dcfb3557 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 # " @@ -909,61 +909,61 @@ msgid "" "http://launchpadlibrarian.net/435841763/man-db_2.8.5-2_2.8.6-1.diff.gz" msgstr "" -#: ../../using/recipes.md:284 f77dd4f7919d43539dc680bf3ab20a3a +#: ../../using/recipes.md:284 56350d54a4a341f8bdd2ebda31fa812d msgid "" "RUN echo \"MANPATH_MAP ${CONDA_DIR}/bin ${CONDA_DIR}/man\" >> " "/etc/manpath.config \\" msgstr "" -#: ../../using/recipes.md:283 fd72e803dd9b45a79194856137b9b5d1 +#: ../../using/recipes.md:283 fa77dcdff3d349b19ea045afe2ff98d1 msgid "" "&& echo \"MANPATH_MAP ${CONDA_DIR}/bin ${CONDA_DIR}/share/man\" >> " "/etc/manpath.config \\ && mandb" msgstr "" -#: ../../using/recipes.md:288 a4b432d08e2141eeacabeec4d4339c73 +#: ../../using/recipes.md:288 788e9d2c07914f6b9a5f23a24dd57dca msgid "" "Be sure to check the current base image in `base-notebook` before " "building." msgstr "" -#: ../../using/recipes.md:290 b1125bc09dbe49ee90e3c318972857f2 +#: ../../using/recipes.md:290 5d0cf137028c4a978d06169bb9860e18 msgid "## JupyterHub" msgstr "" # af0ca920391b419b805ae3809388fcf2 -#: ../../using/recipes.md:292 6099c4410b7a48fdaf146e85cf7c152c +#: ../../using/recipes.md:292 d71db73ba39a474f9f5e0a97b58ce396 msgid "We also have contributed recipes for using JupyterHub." msgstr "" -#: ../../using/recipes.md:294 f3281c35cdba40b3b18d4733fce71887 +#: ../../using/recipes.md:294 74f591d2421843e5b3dbc9660152244f msgid "### Use JupyterHub's dockerspawner" msgstr "" # 81e1dbb4c1c34f4c9e88630adff3d1e9 -#: ../../using/recipes.md:296 044eb43f31f544a080c692c3237f6a16 +#: ../../using/recipes.md:296 338717b475894bf69801585cb430c38b 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 fa3df575b93b45ffbf562ede216c6308 +#: ../../using/recipes.md:299 a3af6aacaab1423b9352e3b38e4f3eee msgid "install the jupyterhub-singleuser script (for the right Python)" msgstr "" # d9816cb5ae2041e2a5fde9cdfb91262f -#: ../../using/recipes.md:300 2686ad4737ae45858a4f0a31387c802e +#: ../../using/recipes.md:300 dcae61d828544db28da143285d9219f5 msgid "change the command to launch the single-user server" msgstr "" -#: ../../using/recipes.md:302 bbd32a02ec554ec5aaf91750854a5c7d +#: ../../using/recipes.md:302 374310b8c9cc4926822c2416a70a33bb msgid "" "Swapping out the `FROM` line in the `jupyterhub/singleuser` Dockerfile " "should be enough for most cases." msgstr "" -#: ../../using/recipes.md:305 e8a12dfee9d74dbdb9a6e029746def43 +#: ../../using/recipes.md:305 5da76f06b0e2418996a5ee2107373036 msgid "" "Credit: [Justin Tyberg](https://github.com/jtyberg), " "[quanghoc](https://github.com/quanghoc), and [Min " @@ -973,99 +973,99 @@ msgid "" "stacks/pull/185)" msgstr "" -#: ../../using/recipes.md:310 543ce906f0be45b8b6b61616d987a440 +#: ../../using/recipes.md:310 e0e2d0882f3846a6ad4bc3e7630a8033 msgid "### Containers with a specific version of JupyterHub" msgstr "" -#: ../../using/recipes.md:312 78072bc9f18e44479b0db7fa78272de4 +#: ../../using/recipes.md:312 17025a307f514e5e9c6fa31252b19fc6 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 c73ad24c05ad4663b6cc346c405b5ca8 +#: ../../using/recipes.md:315 15b49d1931614713b17f0e708fb75ee2 msgid "" "```dockerfile FROM jupyter/base-notebook:5ded1de07260 RUN pip install " "jupyterhub==0.8.0b1 ```" msgstr "" -#: ../../using/recipes.md:320 f553091aa13b4d45a8a990bbef32bfea +#: ../../using/recipes.md:320 1d5ab2d17af14630bc98f2f3e32c2e51 msgid "" "Credit: [MinRK](https://github.com/jupyter/docker-" "stacks/issues/423#issuecomment-322767742)" msgstr "" -#: ../../using/recipes.md:322 39788dc8d536444d9daa9137af934db8 +#: ../../using/recipes.md:322 8718ca3bf8994bb5b95d480015991185 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/177](https://github.com/jupyter/docker-stacks/issues/177)" msgstr "" -#: ../../using/recipes.md:325 508f61b6ec7b402cb3ffeb2ec8883e54 +#: ../../using/recipes.md:325 bf906dd471cf46c88e726bd76093a47a msgid "## Spark" msgstr "" # 975c96d6a0b843dfabd889c753671c93 -#: ../../using/recipes.md:327 b49bfcda6bd341699a007591faec36b5 +#: ../../using/recipes.md:327 93868b6cc22a49aab6c78838dcb1b093 msgid "A few suggestions have been made regarding using Docker Stacks with spark." msgstr "" -#: ../../using/recipes.md:329 2fd89c9a08cd47f3a19f96587e18e980 +#: ../../using/recipes.md:329 7fe125594d3f4808808212341e700d83 msgid "### Using PySpark with AWS S3" msgstr "" # dc4059d42eaa495f8ebca84ebc91ac09 -#: ../../using/recipes.md:331 d5b799fd259b44ca8320cbf95a0fd7fd +#: ../../using/recipes.md:331 f4ef9c0a410c45a78e1a2cc794b4bd64 msgid "Using Spark session for hadoop 2.7.3" msgstr "" -#: ../../using/recipes.md:333 5aa973ff78a44960a892e2c5ebed0f72 +#: ../../using/recipes.md:333 95d70106335340a2a67d527f573d0896 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 5a1c63c567fb414c82e2bb54da060229 +#: ../../using/recipes.md:338 678f108b9ea948a6a434bb9d4198444e msgid "import pyspark myAccessKey = input() mySecretKey = input()" msgstr "" -#: ../../using/recipes.md:346 1a0120c10e1a4e16af030055a0a69ace +#: ../../using/recipes.md:346 420d51e653de44bfbba347cc2e6e723d msgid "spark = pyspark.sql.SparkSession.builder \\" msgstr "" -#: ../../using/recipes.md:343 da9d0b0982444525887309d9af845db5 +#: ../../using/recipes.md:343 e351bb5302d24804864e09c674d7020e 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 38e8b337c3504d01bf1564b53386adbf +#: ../../using/recipes.md:348 2f72707bb8674c1c89394f2a809a4073 msgid "df = spark.read.parquet(\"s3://myBucket/myKey\") ```" msgstr "" # d2c12e3525bf4d9ca518fef02c4a79d3 -#: ../../using/recipes.md:351 9fefb2f75a1e4dadb7d2e9da1e39651c +#: ../../using/recipes.md:351 b7579da7e31049aaa4fed63620bfa455 msgid "Using Spark context for hadoop 2.6.0" msgstr "" -#: ../../using/recipes.md:353 152be06b764f424ba8e1772bbf32756b +#: ../../using/recipes.md:353 8f9f551df2964e76ab29367d171c9459 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 2903623f2f9f4d81a1feb0fe9a733a2b +#: ../../using/recipes.md:357 ec5a0261b4154f0abf4bf81338a9cce4 msgid "import pyspark sc = pyspark.SparkContext(\"local[*]\")" msgstr "" -#: ../../using/recipes.md:360 1f84498f3c5746f689a3d2b55b9cbc04 +#: ../../using/recipes.md:360 d3cb5b9838f240768454c3fe432fe75c msgid "from pyspark.sql import SQLContext sqlContext = SQLContext(sc)" msgstr "" -#: ../../using/recipes.md:363 e6a0b55d12bf4042ae052ae6a2ab9ebf +#: ../../using/recipes.md:363 c21f8e2ba8ad4e5f96b3daea2558dba6 msgid "" "hadoopConf = sc._jsc.hadoopConfiguration() myAccessKey = input() " "mySecretKey = input() hadoopConf.set(\"fs.s3.impl\", " @@ -1074,21 +1074,21 @@ msgid "" "hadoopConf.set(\"fs.s3.awsSecretAccessKey\", mySecretKey)" msgstr "" -#: ../../using/recipes.md:370 88da32684a6e45f3af844bc5ce08955c +#: ../../using/recipes.md:370 c57ed230f14b4f11a79f1c7e50360ea4 msgid "df = sqlContext.read.parquet(\"s3://myBucket/myKey\") ```" msgstr "" -#: ../../using/recipes.md:373 a8ca734149d84dd19ef41fc7c0d254cc +#: ../../using/recipes.md:373 d48fdd7418bd4807bcc699ea8329f9a8 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/127](https://github.com/jupyter/docker-stacks/issues/127)" msgstr "" -#: ../../using/recipes.md:376 c5554c682531419ba7fbc591b4ba31f7 +#: ../../using/recipes.md:376 ead23ca53c7f40798557d797ecb162d8 msgid "### Using Local Spark JARs" msgstr "" -#: ../../using/recipes.md:378 d7b00051ceb04fcabfd9597d0191a881 +#: ../../using/recipes.md:378 080506e38b94450ea003543abadaffbd msgid "" "```python import os os.environ['PYSPARK_SUBMIT_ARGS'] = '--jars " "/home/jovyan/spark-streaming-kafka-assembly_2.10-1.6.1.jar pyspark-shell'" @@ -1100,17 +1100,17 @@ msgid "" "ssc.start() ```" msgstr "" -#: ../../using/recipes.md:392 98fd370585314909b6b9f18d3b4556df +#: ../../using/recipes.md:392 601c9c4d2285479c80e9ae440bc602ce msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/154](https://github.com/jupyter/docker-stacks/issues/154)" msgstr "" -#: ../../using/recipes.md:395 52645e79092d4759abbdcf391dd62508 +#: ../../using/recipes.md:395 9aaea27c82924f028fd785b511d80ab0 msgid "### Using spark-packages.org" msgstr "" -#: ../../using/recipes.md:397 f34bb63c8dd4437181789ed2dc2a4f24 +#: ../../using/recipes.md:397 2964720481514bbcbab3a0169db6fe15 msgid "" "If you'd like to use packages from [spark-packages.org](https://spark-" "packages.org/), see " @@ -1119,21 +1119,21 @@ msgid "" "environment before creating a SparkContext." msgstr "" -#: ../../using/recipes.md:402 945bac206d124e899bc63880f92ec88b +#: ../../using/recipes.md:402 ff9ecf630bfb4c93b7f97a534cf7b4a4 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/43](https://github.com/jupyter/docker-stacks/issues/43)" msgstr "" -#: ../../using/recipes.md:405 a61ccf6e06584a4093e93cd07ce289dd +#: ../../using/recipes.md:405 405289565a594784b8a5ada72f7f4b0a msgid "### Use jupyter/all-spark-notebooks with an existing Spark/YARN cluster" msgstr "" -#: ../../using/recipes.md:407 54113ff16afd45e6a4c4c1273704ab85 +#: ../../using/recipes.md:407 c9f9647f94e946d59483ee6d3066532d msgid "```dockerfile FROM jupyter/all-spark-notebook" msgstr "" -#: ../../using/recipes.md:410 1011c45509cf4896ade5c00bf2a2e923 +#: ../../using/recipes.md:410 69ce78cba56f4ac091e3d24f55e82b5e 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 " @@ -1141,14 +1141,14 @@ msgid "" "/usr/local/hadoop-2.7.3/etc/hadoop" msgstr "" -#: ../../using/recipes.md:416 8c7f426ff3864346b27b573f4fb9a572 +#: ../../using/recipes.md:416 d869ac989664496caccb52ab6d1769c1 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 5b575cc6a8894e65950a493f47e40ca1 +#: ../../using/recipes.md:419 80363f4cbbf44d44a0c0697aca41d10e msgid "" "apt-get -y update && \\ apt-get install --no-install-recommends -t " "jessie-backports -y openjdk-8-jdk && \\ rm /etc/apt/sources.list.d" @@ -1156,11 +1156,11 @@ msgid "" "/var/lib/apt/lists/ && \\" msgstr "" -#: ../../using/recipes.md:427 c57d37f9f0774f69873eefe2e1057a40 +#: ../../using/recipes.md:427 e0400126ab1b41ac891bd22af4a89f23 msgid "# Add hadoop binaries" msgstr "" -#: ../../using/recipes.md:425 24b86f0e6e2948cd9dbbba1d1dbaca39 +#: ../../using/recipes.md:425 9bb3d19984ad477ea30174e8c0972c99 msgid "" "wget " "http://mirrors.ukfast.co.uk/sites/ftp.apache.org/hadoop/common/hadoop-2.7.3/hadoop-2.7.3.tar.gz" @@ -1169,41 +1169,41 @@ msgid "" " \\" msgstr "" -#: ../../using/recipes.md:432 5cd73c1290b74257a88913a2dc1da0ca +#: ../../using/recipes.md:432 0edae24a131145ccbdf645cc73a958a9 msgid "# Install os dependencies required for pydoop, pyhive" msgstr "" -#: ../../using/recipes.md:430 3ecb44f8baa3447186a4a3b2f928c36a +#: ../../using/recipes.md:430 c97e3b6a7d69474d96cd5e1abbf989bc 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 997e952a4475463891fc12fde9d06350 +#: ../../using/recipes.md:434 077b323501b94d22b4f076ba742dbbdf 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 2c92fbd697c44c7c8cc1da0d9f338975 +#: ../../using/recipes.md:437 3c9fc16b73cc46a1b525b97df5fc02df msgid "rm -f /usr/local/hadoop-2.7.3/etc/hadoop/*" msgstr "" -#: ../../using/recipes.md:439 9edc6732cad24e1eb9e906a676dd1fad +#: ../../using/recipes.md:439 ec4691522e314339aadc979a974125b8 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 5c4925e941e74d58aa576d1fd03ad59f +#: ../../using/recipes.md:442 6373a26555a34c3db070072befde854c 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 f3f05bc05e9c44a3afdef0d6474fa90a +#: ../../using/recipes.md:444 6214667bdc384e84b13d23b8d564e771 msgid "" "echo \"spark.yarn.am.extraJavaOptions -Dhdp.version=2.5.3.0-37\" >> " "/usr/local/spark/conf/spark-defaults.conf && \\ echo " @@ -1217,24 +1217,24 @@ msgid "" msgstr "" #: ../../using/recipes.md:453 ../../using/recipes.md:501 -#: 40902e27042e4d46981e731b732804bf a28349d9975145bbaa53add3621e726e +#: 6352e686297445779178540752a7390c 9e30d3c98035476eb0decd973805120f msgid "USER $NB_USER" msgstr "" -#: ../../using/recipes.md:455 217136a97b8c41428959d9c6ee6c2fea +#: ../../using/recipes.md:455 2be581c3825f44c18fba1325c5962569 msgid "" "# Install useful jupyter extensions and python libraries like : # - " "Dashboards # - PyDoop # - PyHive RUN pip install jupyter_dashboards faker" " && \\" msgstr "" -#: ../../using/recipes.md:460 4a93ecb0d6c7433bac4796711289167b +#: ../../using/recipes.md:460 e9c9e2a4d86044588b4a149e36f9514b msgid "" "jupyter dashboards quick-setup --sys-prefix && \\ pip2 install pyhive " "pydoop thrift sasl thrift_sasl faker" msgstr "" -#: ../../using/recipes.md:463 057fc2bdb8b24cd79b0403d4dbd8cdaf +#: ../../using/recipes.md:463 db30c4e7765742098656acbb16760233 msgid "" "USER root # Ensure we overwrite the kernel config so that toree connects " "to cluster RUN jupyter toree install --sys-prefix --spark_opts=\"--master" @@ -1243,25 +1243,25 @@ msgid "" "spark.hadoop.yarn.timeline-service.enabled=false\" USER $NB_USER ```" msgstr "" -#: ../../using/recipes.md:469 cd055d436883465087c00ace2e152ed0 +#: ../../using/recipes.md:469 c97ed0e2d12c4aedb0240e5a8d044e8a 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 c05bac989aa441f18671130906f7aea8 +#: ../../using/recipes.md:472 e5363ad6a7a14048989ce89979592501 msgid "" "## Run Jupyter Notebook/Lab inside an already secured environment (i.e., " "with no token)" msgstr "" -#: ../../using/recipes.md:474 ff369d1034c04a0cb8e87b88c31a2836 +#: ../../using/recipes.md:474 4066cb407a52448c95579fa25e56ef54 msgid "" "(Adapted from [issue 728](https://github.com/jupyter/docker-" "stacks/issues/728))" msgstr "" -#: ../../using/recipes.md:476 161c590d2997406fb2ce9eeff19c4636 +#: ../../using/recipes.md:476 7afb66039c414d9189de2592985560aa msgid "" "The default security is very good. There are use cases, encouraged by " "containers, where the jupyter container and the system it runs within, " @@ -1271,131 +1271,131 @@ msgid "" msgstr "" # 7476a6d5eae74ecaae966e56390c096e -#: ../../using/recipes.md:481 92a74119af154b9da8a4ad85d330995b +#: ../../using/recipes.md:481 4e35a2eb04c04e2aac8b1719dd786cf4 msgid "For jupyterlab:" msgstr "" -#: ../../using/recipes.md:483 81515478b6fc42869f25e51f780b691b +#: ../../using/recipes.md:483 37af4b12191d41678b2b857affcb0476 msgid "" "```bash docker run jupyter/base-notebook:6d2a05346196 start.sh jupyter " "lab --LabApp.token='' ```" msgstr "" # f2efc5a0ba6b4c53b2047cc5f22bdbaa -#: ../../using/recipes.md:487 8601c8f6fab8430c9abdceb57e4ff9bd +#: ../../using/recipes.md:487 b1478b919c4f44f08cbee93444192e8e msgid "For jupyter classic:" msgstr "" -#: ../../using/recipes.md:489 0aff5ce7fbbc48c28b7f242e6b5f1527 +#: ../../using/recipes.md:489 5fe3adb3e681487b9c7d0336707e0b2e msgid "" "```bash docker run jupyter/base-notebook:6d2a05346196 start.sh jupyter " "notebook --NotebookApp.token='' ```" msgstr "" -#: ../../using/recipes.md:493 bdcdd41222ee418b98c3c6415f7fb248 +#: ../../using/recipes.md:493 cb4a2e20e2f84be0ac5fb794739bb59c msgid "## Enable nbextension spellchecker for markdown (or any other nbextension)" msgstr "" # 8ccfbcb4264f48d0b6709fe81aa0a86d -#: ../../using/recipes.md:495 a7cac5ef78bc4a0886667a0b9643e3bc +#: ../../using/recipes.md:495 8e92bc37c96646eba451aace655eedc6 msgid "NB: this works for classic notebooks only" msgstr "" -#: ../../using/recipes.md:497 d0ba54ad8c3d4fab8e4f992670d6cba2 +#: ../../using/recipes.md:497 fd4d259f75b346f09431ab6e745bc1ea msgid "" "```dockerfile # Update with your base image of choice FROM jupyter" "/minimal-notebook:latest" msgstr "" -#: ../../using/recipes.md:505 011bf8e8ba81407bb5540ed6cbcac24a +#: ../../using/recipes.md:505 f162f0459fba4465bd1f1e2d20766e13 msgid "RUN pip install jupyter_contrib_nbextensions && \\" msgstr "" -#: ../../using/recipes.md:504 6947e8917fbc4d63b378f47897e7411e +#: ../../using/recipes.md:504 2e6c3e377cd443e9ba3c4036a9837b1e msgid "" "jupyter contrib nbextension install --user && \\ # can modify or enable " "additional extensions here jupyter nbextension enable spellchecker/main " "--user" msgstr "" -#: ../../using/recipes.md:509 617ffd5e73e4490c9de2ba4f2437c88b +#: ../../using/recipes.md:509 7f7758e063e04cb683fce0b59d9c790c msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/675](https://github.com/jupyter/docker-stacks/issues/675)" msgstr "" -#: ../../using/recipes.md:512 30255d24770e43c8bca4c5cc499116d9 +#: ../../using/recipes.md:512 e859d4051ffc4b3bbf13159779752d16 msgid "## Enable auto-sklearn notebooks" msgstr "" -#: ../../using/recipes.md:514 dbc2c781bd2b441581a764ffa7d99209 +#: ../../using/recipes.md:514 339f9e577b654cc78aa25df4f80a2a17 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 f34afb5d5d3444399a155d39202a1747 +#: ../../using/recipes.md:516 17c1523b3e5d4841b513595a84caa1e7 msgid "" "```dockerfile ARG BASE_CONTAINER=jupyter/scipy-notebook FROM jupyter" "/scipy-notebook:latest" msgstr "" -#: ../../using/recipes.md:522 34ab716389244f11aa1e8b47f4e50c20 +#: ../../using/recipes.md:522 0ec0a50be5744ced8b0be8904cad200d msgid "" "# autosklearn requires swig, which no other image has RUN apt-get update " "&& \\" msgstr "" -#: ../../using/recipes.md:524 739404306b2a4b9a80f04cd62dcc410f +#: ../../using/recipes.md:524 b5fae5fc2cc244eca93c3b48e3d0b30d msgid "" "apt-get install -y --no-install-recommends swig && \\ apt-get clean && \\" " rm -rf /var/lib/apt/lists/*" msgstr "" -#: ../../using/recipes.md:529 bae95befa2554a4dbba8271b8654701a +#: ../../using/recipes.md:529 cbda8ed01e2d439991c0db2682e0cdbb msgid "USER $NB_UID" msgstr "" -#: ../../using/recipes.md:531 e7818504f8a942889a7c3e577994b318 +#: ../../using/recipes.md:531 bf193e24069548508dafc876bd33938d msgid "RUN pip install --quiet --no-cache-dir auto-sklearn ```" msgstr "" -#: ../../using/running.md:1 b14b1f9bf58b496bab1b753e1cfb7de7 +#: ../../using/running.md:1 2930a2d5ab334b2a895f15675cdfa382 msgid "# Running a Container" msgstr "" # 1f345e7a53e94439b936b3f4bbc877da # 324906e630c646b0ae10bbff6ed587fa #: ../../using/running.md:3 ../../using/selecting.md:7 -#: 2fef5f8859c84816b2acbf39b8f64f4b ba8314b23079454fbe1263506e905b70 +#: 1c98f840202c4fbfbb35614aa0372caf 782fc319eded4638880311491bd75b2d msgid "Using one of the Jupyter Docker Stacks requires two choices:" msgstr "" # 781cbaffaea24fb08451cc83327cfa9b # 1c6c83776a3b4a27a8ed4128a0dceeb7 #: ../../using/running.md:5 ../../using/selecting.md:9 -#: 3d8253589a964ec79820258b02aa6efd ce97ec0a182245e58d97574b315ae684 +#: 1ec4d57743484af888c0af9cc2b78e78 d90256c66ab040a281707cf286682855 msgid "Which Docker image you wish to use" msgstr "" # 632f67c9207e4ed9ba01bf59c4d942f7 # ab191cfc95204429b7c0271ecdf69d33 #: ../../using/running.md:6 ../../using/selecting.md:10 -#: 7cb8e4350e3e467b8d637f86fe58ca63 e89b8dbecce9455b91051075db3542dd +#: 773073d21f344598a98069e718de9a46 987ec8d3a56b46188fbcd6190c0e7d20 msgid "How you wish to start Docker containers from that image" msgstr "" # ebf870aa1ede4e2ab8fdcb2cef0fd610 -#: ../../using/running.md:8 a421c528f71e4bfc93134489fc5d3fd1 +#: ../../using/running.md:8 129da534b20547a8947b60bb6753aed5 msgid "This section provides details about the second." msgstr "" -#: ../../using/running.md:10 13253aa9b9864de6bf4d630dcf6d63f0 +#: ../../using/running.md:10 5b869a2419574f2fb0ea7c88284b2601 msgid "## Using the Docker CLI" msgstr "" -#: ../../using/running.md:12 f72764bb67b44f69960ca9f9d864bfbc +#: ../../using/running.md:12 1a24abeef8e84eb2acd96c053e1bbd0e msgid "" "You can launch a local Docker container from the Jupyter Docker Stacks " "using the [Docker command line " @@ -1404,7 +1404,7 @@ msgid "" "following are some common patterns." msgstr "" -#: ../../using/running.md:14 55afc87adcd1437aab08db2fd2efdd61 +#: ../../using/running.md:14 0173df6589b046c78db3f4cd2d1d8154 msgid "" "**Example 1** This command pulls the `jupyter/scipy-notebook` image " "tagged `2c80cf3537ca` from Docker Hub if it is not already present on the" @@ -1413,11 +1413,11 @@ msgid "" "terminal and include a URL to the notebook server." msgstr "" -#: ../../using/running.md:16 c8a8f29e832d4a14a3b8165f9b552450 +#: ../../using/running.md:16 7ac5499bc2a1411f886f19b57040866e msgid "``` docker run -p 8888:8888 jupyter/scipy-notebook:2c80cf3537ca" msgstr "" -#: ../../using/running.md:19 779ab0b20d764bf49355208f62498d67 +#: ../../using/running.md:19 9a3a0dc526bc4561b43a9988e46ed7dc msgid "" "Executing the command: jupyter notebook [I 15:33:00.567 NotebookApp] " "Writing notebook server cookie secret to " @@ -1437,25 +1437,25 @@ msgid "" msgstr "" #: ../../using/running.md:31 ../../using/running.md:72 -#: ../../using/running.md:94 0e50f3241cde4e57b2a37a8ab0c07f95 -#: 3bd080f867104db9bfbc99944c304994 9ddbb2687b0b48b89b4c9777c6f18f6d +#: ../../using/running.md:94 30e222b6dc4744d09df383e7142f1dcc +#: 72877f0cf92e4d9c9a6203e494bc8b23 ecaad3a9d5dc4ba9a20b6f330b818cdb 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 8ecbdc53442a40ee82f04374199de118 +#: ../../using/running.md:33 41a8ac50444c4a12b327f57f1dd1f868 msgid "http://localhost:8888/?token=112bb073331f1460b73768c76dffb2f87ac1d4ca7870d46a" msgstr "" -#: ../../using/running.md:36 836b624f0294448883ec0f8e744e1d0f +#: ../../using/running.md:36 2fb6929be5b54d1f917e380f761d7a36 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 8c82cc57cd0d439d9c78029ec6f8b1ed +#: ../../using/running.md:38 dc33eacfff0b49ecb92faa6dd042bbab msgid "" "``` # list containers docker ps -a CONTAINER ID IMAGE" " COMMAND CREATED STATUS" @@ -1464,7 +1464,7 @@ msgid "" "Exited (0) 39 seconds ago cocky_mirzakhani" msgstr "" -#: ../../using/running.md:44 58efe9494bca416c923336672055a52f +#: ../../using/running.md:44 9b00f5ce39554ae5af7d307437ba0353 msgid "" "# start the stopped container docker start -a d67fe77f1a84 Executing the " "command: jupyter notebook [W 16:45:02.020 NotebookApp] WARNING: The " @@ -1472,11 +1472,11 @@ msgid "" "encryption. This is not recommended. ..." msgstr "" -#: ../../using/running.md:50 6b73bc1111364c6c8b416654d7fda1f2 +#: ../../using/running.md:50 d2ecaecd4eca4a579aa9541d044198b0 msgid "# remove the stopped container docker rm d67fe77f1a84 d67fe77f1a84 ```" msgstr "" -#: ../../using/running.md:55 ad315491e9ac4741b86d9a9d96a50f17 +#: ../../using/running.md:55 b85786f2312041f3afd0bfc41aaaecd8 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 " @@ -1486,13 +1486,13 @@ msgid "" "container port (8888) instead of the the correct host port (10000)." msgstr "" -#: ../../using/running.md:57 b040a32782ad49da9cd683b1ddfd6f77 +#: ../../using/running.md:57 51caff7f14ec4e0090a9070ef021404c msgid "" "``` docker run --rm -p 10000:8888 -v \"$PWD\":/home/jovyan/work " "jupyter/r-notebook:e5c5a7d3e52d" msgstr "" -#: ../../using/running.md:60 59f74e7610c344c4a262c83bc2584052 +#: ../../using/running.md:60 890394d0d6ed4f64aaa92a6ee07e8884 msgid "" "Executing the command: jupyter notebook [I 19:31:09.573 NotebookApp] " "Writing notebook server cookie secret to " @@ -1511,18 +1511,18 @@ msgid "" " all kernels (twice to skip confirmation). [C 19:31:12.122 NotebookApp]" msgstr "" -#: ../../using/running.md:74 a50ce2dfd10c4e8c826d3ed3a5f13830 +#: ../../using/running.md:74 285cda2ca95e4d81b39a8b7a6121f932 msgid "http://localhost:8888/?token=3b8dce890cb65570fb0d9c4a41ae067f7604873bd604f5ac" msgstr "" -#: ../../using/running.md:77 4f74a6fa89564ce0bc7d95be5b5db549 +#: ../../using/running.md:77 003008322f3147f3a388fbd54f09c0fa 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 704d4477b4084dcb8fdd98950a084d5c +#: ../../using/running.md:79 d5d6b8e3ae1745cf81c4915b882ee594 msgid "" "**Example 3** This command pulls the `jupyter/all-spark-notebook` image " "currently tagged `latest` from Docker Hub if an image tagged `latest` is " @@ -1531,33 +1531,33 @@ msgid "" "randomly selected port." msgstr "" -#: ../../using/running.md:81 49e740f66567457a95c0b8d3345b008a +#: ../../using/running.md:81 6eb96fcd6bda455bba27cd24628e4fbe msgid "``` docker run -d -P --name notebook jupyter/all-spark-notebook ```" msgstr "" # 9a561b9bb5944059801c71862521d66a -#: ../../using/running.md:85 0bc8d13d8e02475c9fd55dc001e82f22 +#: ../../using/running.md:85 c583b1caa60a4425bc1ba5989587245c msgid "" "The assigned port and notebook server token are visible using other " "Docker commands." msgstr "" -#: ../../using/running.md:87 34c9b714b3e047acbbe87b66e572c542 +#: ../../using/running.md:87 2b3b2fdc1ab84019a23e341d64ced428 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 8bc24d7c320a48d0857ceaf804e81d30 +#: ../../using/running.md:92 958a66b3ca2248c181f2474c50d939a7 msgid "# get the notebook token from the logs docker logs --tail 3 notebook" msgstr "" -#: ../../using/running.md:96 2e1f10b644bb471189f2a49705bfb321 +#: ../../using/running.md:96 8eacfc4cacd94188a0d87e328b4b1f4a msgid "http://localhost:8888/?token=15914ca95f495075c0aa7d0e060f1a78b6d94f70ea373b00" msgstr "" # c4bc333e19324e2a93118e21b1f8f360 -#: ../../using/running.md:99 c76f34afb074411cab17afa03a090402 +#: ../../using/running.md:99 1cde6c3dcd1442f7856c9cedf0ce125b msgid "" "Together, the URL to visit on the host machine to access the server in " "this case is " @@ -1565,25 +1565,25 @@ msgid "" msgstr "" # bf82931e197b40ad940d9969993120a2 -#: ../../using/running.md:101 012e6b2388924f8c86a994e0c0f109cf +#: ../../using/running.md:101 060b6f4d50464c3aaf3e78b34c65f132 msgid "" "The container runs in the background until stopped and/or removed by " "additional Docker commands." msgstr "" -#: ../../using/running.md:103 f236ef1ca457423f93721554cf87ccb0 +#: ../../using/running.md:103 6cf19d428d2a4bd7adebe06ed1a09773 msgid "``` # stop the container docker stop notebook notebook" msgstr "" -#: ../../using/running.md:108 c902cb68b4934b5fb355cac15b646cb9 +#: ../../using/running.md:108 27c0e5868203408fa4b57d800c6f41a6 msgid "# remove the container permanently docker rm notebook notebook ```" msgstr "" -#: ../../using/running.md:113 c2953acc717c450ba48ff909507f9a57 +#: ../../using/running.md:113 1fa82a79aaa2407484f5387bc1d9ed1d msgid "## Using Binder" msgstr "" -#: ../../using/running.md:115 237cba40e731418da4ce6050de3fcf59 +#: ../../using/running.md:115 0016b4a270f3439980922840500a869f msgid "" "[Binder](https://mybinder.org/) is a service that allows you to create " "and share custom computing environments for projects in version control. " @@ -1597,11 +1597,11 @@ msgid "" "instructions." msgstr "" -#: ../../using/running.md:117 851adeb5b29746f1a258424d53eb86a9 +#: ../../using/running.md:117 599ce91a59e844cbbffb505c2796598b msgid "## Using JupyterHub" msgstr "" -#: ../../using/running.md:119 6787cd951aeb48f7a45c6cc637fcdd87 +#: ../../using/running.md:119 681f1bed7a1d458a81eab13926ab9069 msgid "" "You can configure JupyterHub to launcher Docker containers from the " "Jupyter Docker Stacks images. If you've been following the [Zero to " @@ -1615,11 +1615,11 @@ msgid "" "[dockerspawner](https://github.com/jupyterhub/dockerspawner) instead." msgstr "" -#: ../../using/running.md:121 3ea367d80f864902b499d20ed5e52d1b +#: ../../using/running.md:121 a214e9a898e44a6e9b2f937604ea13ac msgid "## Using Other Tools and Services" msgstr "" -#: ../../using/running.md:123 cf806afb28af4c709b2c13889070db22 +#: ../../using/running.md:123 63195c76bccf42e7acf69f357a65151f msgid "" "You can use the Jupyter Docker Stacks with any Docker-compatible " "technology (e.g., [Docker Compose](https://docs.docker.com/compose/), " @@ -1629,32 +1629,32 @@ msgid "" "containers from these images." msgstr "" -#: ../../using/selecting.md:1 33acd746d60e4dcca32cbb871ae0410e +#: ../../using/selecting.md:1 465ed7bd09604e3aaa1dc1552995d9ff msgid "# Selecting an Image" msgstr "" -#: ../../using/selecting.md:3 caafbafda87041ba925cb159a325bd16 +#: ../../using/selecting.md:3 2b75f5c2b5604208ad60c9d763af1ae7 msgid "[Core Stacks](#core-stacks)" msgstr "" -#: ../../using/selecting.md:4 f20e5196e788424dae0bc5e268a88f06 +#: ../../using/selecting.md:4 4c0635f3dfc2463cb243dd7170e252a7 msgid "[Image Relationships](#image-relationships)" msgstr "" -#: ../../using/selecting.md:5 2877dfb401c74337b26ede0ac05d1079 +#: ../../using/selecting.md:5 b5ad19dce9364c2da2004285c1fe002c msgid "[Community Stacks](#community-stacks)" msgstr "" # af7e19bb10ec44348e8121be4129ce8a -#: ../../using/selecting.md:12 d4a70b2093394ef689099b555f6518c8 +#: ../../using/selecting.md:12 f9fd6a2c3fbe4e18a879be4f00e5334c msgid "This section provides details about the first." msgstr "" -#: ../../using/selecting.md:14 7c1e775f4d1e4124a0b8d2675aa5ece5 +#: ../../using/selecting.md:14 3f2236f52b574911b1045a61376410d8 msgid "## Core Stacks" msgstr "" -#: ../../using/selecting.md:16 97204220a54b4eb0a9426d064e158347 +#: ../../using/selecting.md:16 2f2ef9a0008147569f972a9fdb0c9bb6 msgid "" "The Jupyter team maintains a set of Docker image definitions in the " "[https://github.com/jupyter/docker-stacks](https://github.com/jupyter" @@ -1662,11 +1662,11 @@ msgid "" "images including their contents, relationships, and versioning strategy." msgstr "" -#: ../../using/selecting.md:21 95b346b2e7cf4c628ac5e1c9c6f9854e +#: ../../using/selecting.md:21 f061c4f6fa324f5988a4b552c73ea762 msgid "### jupyter/base-notebook" msgstr "" -#: ../../using/selecting.md:23 ba160931adb2406eaf3bf78144eb411f +#: ../../using/selecting.md:23 9916dfa38b1a49dea4f9595c3ffa07a0 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/base-notebook) | [Dockerfile commit history](https://github.com/jupyter" @@ -1674,62 +1674,62 @@ msgid "" "image tags](https://hub.docker.com/r/jupyter/base-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:27 e059d04b2df847c9b9091a6b009e3d47 +#: ../../using/selecting.md:27 908bead0fbef4555954c2c11296bff69 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 249ea214060544288a3789b226b4079b +#: ../../using/selecting.md:30 56ebde0d656242bcb6b98c324a73ccbb msgid "" "Minimally-functional Jupyter Notebook server (e.g., no LaTeX support for " "saving notebooks as PDFs)" msgstr "" -#: ../../using/selecting.md:31 4fcb890d32dd4d5d9b152c4c0c446b9c +#: ../../using/selecting.md:31 ef5f2a255e974a20a45383d5e8d85d43 msgid "[Miniconda](https://conda.io/miniconda.html) Python 3.x in `/opt/conda`" msgstr "" # c5732a5536554f91b8dd7e8946beaab8 -#: ../../using/selecting.md:32 3268513e20c74918a58d8c74b8aff49a +#: ../../using/selecting.md:32 db9ff704a37c4cbb83da47dab042075b msgid "No preinstalled scientific computing packages" msgstr "" -#: ../../using/selecting.md:33 69c3c85079d9420e9be87f7ea5bbdf81 +#: ../../using/selecting.md:33 93113a0d02ef49dcb8f5a1c22ba85d73 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 1bfdcb40386d4555bd0bcc519a200af5 +#: ../../using/selecting.md:35 17ee5dd7108c43fc8fc517877beb7e7a msgid "" "`tini` as the container entrypoint and a `start-notebook.sh` script as " "the default command" msgstr "" -#: ../../using/selecting.md:36 8f7709d03e9744ff92f271168fb467ae +#: ../../using/selecting.md:36 e2477438e26742e7a22e4d201582df6e msgid "" "A `start-singleuser.sh` script useful for launching containers in " "JupyterHub" msgstr "" -#: ../../using/selecting.md:37 fbd7af4b82e048b48e7843a18b81cc3c +#: ../../using/selecting.md:37 3108b996e21d48c7b4335621cd024d6f 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 e3ffbe2d54be4e48af1537c0d21108b0 +#: ../../using/selecting.md:39 7092cf5badd948b6a19103609557d65a msgid "Options for a self-signed HTTPS certificate and passwordless sudo" msgstr "" -#: ../../using/selecting.md:41 d1f70558b8314cd8a306456de1c8ccec +#: ../../using/selecting.md:41 5b902836369f4fad9dabdd7dadd1a65b msgid "### jupyter/minimal-notebook" msgstr "" -#: ../../using/selecting.md:43 02071591120a4d13b741af69ef6e5b28 +#: ../../using/selecting.md:43 54db564e3c15479b8e31b607e7c08ce1 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/minimal-notebook) | [Dockerfile commit " @@ -1738,21 +1738,21 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/minimal-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:47 8694de5ae3934f828162ebeb42148ed7 +#: ../../using/selecting.md:47 52aedb86c11b4821a840a3eae5fa40e6 msgid "" "`jupyter/minimal-notebook` adds command line tools useful when working in" " Jupyter applications." msgstr "" -#: ../../using/selecting.md:49 d665509481ff411791974caed40597ab +#: ../../using/selecting.md:49 51c46a0b050d4ecd94a41cb2ffacdf0d msgid "Everything in `jupyter/base-notebook`" msgstr "" -#: ../../using/selecting.md:50 ad914e92eb4a46bc890c57bbf64a1ee0 +#: ../../using/selecting.md:50 9f57c83f831a4d05be969b9f91741ac4 msgid "[TeX Live](https://www.tug.org/texlive/) for notebook document conversion" msgstr "" -#: ../../using/selecting.md:51 80e85dbabb9f4335874b6820ba5bebea +#: ../../using/selecting.md:51 c6d0aab9fccd47d0ada39283f831685b msgid "" "[git](https://git-scm.com/), [emacs](https://www.gnu.org/software/emacs/)" " (actually `emacs-nox`), [vi](https://vim.org/) (actually `vim-tiny`), " @@ -1760,11 +1760,11 @@ msgid "" "editor.org/), tzdata, and unzip" msgstr "" -#: ../../using/selecting.md:55 7d714066c7cd4b7588ce2aa34c5a5c83 +#: ../../using/selecting.md:55 1e53cd97dad84a24a363fff57b1e0416 msgid "### jupyter/r-notebook" msgstr "" -#: ../../using/selecting.md:57 3730990a46ba479a975b571ed4eb00ae +#: ../../using/selecting.md:57 f3de42b7ce774fb1a6c0f31fdb927dca msgid "" "[Source on GitHub](https://github.com/jupyter/docker-" "stacks/tree/master/r-notebook) | [Dockerfile commit " @@ -1773,27 +1773,27 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/r-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:61 06e39460f58144c098934fc1f84df1fb +#: ../../using/selecting.md:61 5124793583394e5496d66d21e07d51ed msgid "`jupyter/r-notebook` includes popular packages from the R ecosystem." msgstr "" #: ../../using/selecting.md:63 ../../using/selecting.md:91 -#: 5baf6296aea4465d97ea6902578f2736 bf56243413ea45fe98e2d20a64c0a4e0 +#: 9e03a1165be94d1095320b04c3ac0de5 c4cc2d232c7445c5839c94770e9f49ab msgid "Everything in `jupyter/minimal-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:64 460ea73c7fd8440cb7d617e3a583bf71 +#: ../../using/selecting.md:64 afcbe10f68ab4772ada900e0b45a1376 msgid "The [R](https://www.r-project.org/) interpreter and base environment" msgstr "" #: ../../using/selecting.md:65 ../../using/selecting.md:160 -#: 68c02c614dff491fa40a10464c57fbf9 dad7b0d800f143b1bfb697b219db8841 +#: 03f27d292bc04e7c949c6a628d676a13 cea48b4b6a5a4b699b06ad56e3b3d244 msgid "" "[IRKernel](https://irkernel.github.io/) to support R code in Jupyter " "notebooks" msgstr "" -#: ../../using/selecting.md:66 7795035000424f179eb2cf035f1e97c5 +#: ../../using/selecting.md:66 08c10e9cb2414cd18fd837018e76f0ce msgid "" "[tidyverse](https://www.tidyverse.org/) packages, including " "[ggplot2](http://ggplot2.org/), [dplyr](http://dplyr.tidyverse.org/), " @@ -1807,7 +1807,7 @@ msgid "" " from [conda-forge](https://conda-forge.github.io/feedstocks)" msgstr "" -#: ../../using/selecting.md:73 9e1ea55a6db2462483ccdffc31a873bc +#: ../../using/selecting.md:73 fd3c9dc989724e01a4601e026e0936f0 msgid "" "[devtools](https://cran.r-project.org/web/packages/devtools/index.html), " "[shiny](https://shiny.rstudio.com/), " @@ -1822,11 +1822,11 @@ msgid "" " packages from [conda-forge](https://conda-forge.github.io/feedstocks)" msgstr "" -#: ../../using/selecting.md:83 02c5ab59dc23436db73398733564f927 +#: ../../using/selecting.md:83 f0a474c30e2e43eeadcec64e32631ab0 msgid "### jupyter/scipy-notebook" msgstr "" -#: ../../using/selecting.md:85 c4581d47d26d44cfa9b783aac1c6ecbd +#: ../../using/selecting.md:85 c309eb2eeecd40479147736b17e552b6 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/scipy-notebook) | [Dockerfile commit history](https://github.com/jupyter" @@ -1834,13 +1834,13 @@ msgid "" "image tags](https://hub.docker.com/r/jupyter/scipy-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:89 8c8f84a786bf4ced8e284bf179b27586 +#: ../../using/selecting.md:89 c93cc5775d8b465ea75ac1133215b05a msgid "" "`jupyter/scipy-notebook` includes popular packages from the scientific " "Python ecosystem." msgstr "" -#: ../../using/selecting.md:92 79cff807fe944ee38cc038e8faacab96 +#: ../../using/selecting.md:92 f2a53018da0a49e9980fc92b16c57eb8 msgid "" "[dask](https://dask.org/), [pandas](https://pandas.pydata.org/), " "[numexpr](https://github.com/pydata/numexpr), " @@ -1864,24 +1864,24 @@ msgid "" "[pytables](https://www.pytables.org/) packages" msgstr "" -#: ../../using/selecting.md:107 99334449336f49afbb2c7946ac162c5b +#: ../../using/selecting.md:107 a5131e8eb5d6424badf1d1a952654a5b 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:110 e62ad37485044b298c12374d6c5808f5 +#: ../../using/selecting.md:110 297a00378edb4f1681bd89b5a668e19f msgid "" "[Facets](https://github.com/PAIR-code/facets) for visualizing machine " "learning datasets" msgstr "" -#: ../../using/selecting.md:112 09c49355127f4c20ba6864d6c2c16322 +#: ../../using/selecting.md:112 01c744189d994220a42f513932934beb msgid "### jupyter/tensorflow-notebook" msgstr "" -#: ../../using/selecting.md:114 abe7b36821864cf8866a6c10ca199d47 +#: ../../using/selecting.md:114 83977a1daf7d4c809d2f276ccbf7301a msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/tensorflow-notebook) | [Dockerfile commit " @@ -1890,28 +1890,28 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/tensorflow-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:118 6dc8ef1f9f9c49eb8bd613a4e4f45c77 +#: ../../using/selecting.md:118 a4c1249981ae4afc93e4b76fb0827d0e msgid "" "`jupyter/tensorflow-notebook` includes popular Python deep learning " "libraries." msgstr "" #: ../../using/selecting.md:120 ../../using/selecting.md:148 -#: 488d3a2dd76b49b39a2ebb496ebd8861 8455574291b747718d6a83b5cfe4b94a +#: 389826ea4cf8446f8f896a34b9ee6880 a161f42a902842eeb03babe28c974d30 msgid "Everything in `jupyter/scipy-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:121 47c7196734d7415b9d1b4cc7ce4a908b +#: ../../using/selecting.md:121 5b42dbc6f121417eb04d9e9342619a76 msgid "" "[tensorflow](https://www.tensorflow.org/) and [keras](https://keras.io/) " "machine learning libraries" msgstr "" -#: ../../using/selecting.md:124 2b3eb37268c247738d2992e66965376d +#: ../../using/selecting.md:124 3dcdde5e7db54610ac9d25be5021748c msgid "### jupyter/datascience-notebook" msgstr "" -#: ../../using/selecting.md:126 ede599e31e42407c93e46fce5defeb2e +#: ../../using/selecting.md:126 4ff429478bee41528931eadd5a2ce6e4 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/datascience-notebook) | [Dockerfile commit " @@ -1920,40 +1920,40 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/datascience-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:130 615620b6ad084cf29267c597396114e4 +#: ../../using/selecting.md:130 1c13bb2108314114a6c686a3126a4cdc msgid "" "`jupyter/datascience-notebook` includes libraries for data analysis from " "the Julia, Python, and R communities." msgstr "" -#: ../../using/selecting.md:133 120b6a94cc784a23a854666969de4e07 +#: ../../using/selecting.md:133 05d540ace34740e980394415cf3935d1 msgid "" "Everything in the `jupyter/scipy-notebook` and `jupyter/r-notebook` " "images, and their ancestor images" msgstr "" -#: ../../using/selecting.md:135 0f304488475b475f8abe64feb878cce6 +#: ../../using/selecting.md:135 e9b3c046f04c45858aff227880bf5d46 msgid "The [Julia](https://julialang.org/) compiler and base environment" msgstr "" -#: ../../using/selecting.md:136 3f5ca2bd07c84bbfbcbe58753e24dbad +#: ../../using/selecting.md:136 9786ace2a25b452abd905b2b5c177570 msgid "" "[IJulia](https://github.com/JuliaLang/IJulia.jl) to support Julia code in" " Jupyter notebooks" msgstr "" -#: ../../using/selecting.md:137 12850cfadd4c47e58bed72ebc9177309 +#: ../../using/selecting.md:137 264711caf30a43a2aa2c94c1f480be97 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:140 464db735e6a2450fa6ed0e225d45e67b +#: ../../using/selecting.md:140 64dff82382ea40b392ae7729e629b5be msgid "### jupyter/pyspark-notebook" msgstr "" -#: ../../using/selecting.md:142 0520b0e9efb848b4aacbdd79f875172e +#: ../../using/selecting.md:142 1dea2aae7d8a4fb7b59cd915e8071a75 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/pyspark-notebook) | [Dockerfile commit " @@ -1962,19 +1962,19 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/pyspark-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:146 a25b8b9fd2c4408085fb4e03d512eb87 +#: ../../using/selecting.md:146 7ba3d71d5a854a1fbf17515da5cf64ca msgid "`jupyter/pyspark-notebook` includes Python support for Apache Spark." msgstr "" -#: ../../using/selecting.md:149 ad3741b29d6749938738e537edfbc84b +#: ../../using/selecting.md:149 0f4e06a1817c44f3927982dfc1250596 msgid "[Apache Spark](https://spark.apache.org/) with Hadoop binaries" msgstr "" -#: ../../using/selecting.md:151 a31ff1fdf61745c7b0bb38e1ff6827dc +#: ../../using/selecting.md:151 d79c5ec42b9e47ea99e187eebbeeb498 msgid "### jupyter/all-spark-notebook" msgstr "" -#: ../../using/selecting.md:153 e56fa5b1012740cab5219ee7a713ba92 +#: ../../using/selecting.md:153 3384af6b6bb343c6b502117884f0c0bc msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/all-spark-notebook) | [Dockerfile commit " @@ -1983,35 +1983,35 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/all-spark-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:157 604de2b479674c448d92a60c8ecd5549 +#: ../../using/selecting.md:157 3682c596b7804103ba7ec4ef601fb2b4 msgid "" "`jupyter/all-spark-notebook` includes Python, R, and Scala support for " "Apache Spark." msgstr "" -#: ../../using/selecting.md:159 b8680cf4a72f4607b36c5e594111c1c8 +#: ../../using/selecting.md:159 77823f14cd8441f3950dbf6d8677eecc msgid "Everything in `jupyter/pyspark-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:161 f7e2f7511b2940efbde1a9d3056b0574 +#: ../../using/selecting.md:161 ba082aed0c7345248d3c00a51ea6ba01 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:164 3aa0a7151cc047e5883993a6545c8162 +#: ../../using/selecting.md:164 13f72cf015a8479c91a47cffe5e6958c 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:167 c9c1eda0a4f144acb3c5f1fc1ea5f43c +#: ../../using/selecting.md:167 1451bd71f4b24938b49e8fefb1e68157 msgid "### Image Relationships" msgstr "" -#: ../../using/selecting.md:169 95a236f543a74534b2f0ae33fe5d46b4 +#: ../../using/selecting.md:169 03f10e95171b4641b7504b2379e19602 msgid "" "The following diagram depicts the build dependency tree of the core " "images. (i.e., the `FROM` statements in their Dockerfiles). Any given " @@ -2019,7 +2019,7 @@ msgid "" "it." msgstr "" -#: ../../using/selecting.md:173 7f0c1cf8d56f4e549838db15dbeb8405 +#: ../../using/selecting.md:173 1f5bdd7de2b0406d8756a28d22b7261b msgid "" "[![Image inheritance " "diagram](../images/inherit.svg)](http://interactive.blockdiag.com/?compression=deflate&src" @@ -2028,11 +2028,11 @@ msgid "" "Zh7Z24OLLq2SjaxpvP10lX35vCf6pOxELFmUbQiUz4oQhYzMc3gCrRt2cWe_FKosmSjyFHC6OS1AwdQWCtyj7sfh523_BI9hKlQ25YdOFdv5fcH0kiEMA)" msgstr "" -#: ../../using/selecting.md:176 362ae45f3e6044249567267caa9972f0 +#: ../../using/selecting.md:176 752cc1e867f749c7aed6c56fa6ac8b6d msgid "### Builds" msgstr "" -#: ../../using/selecting.md:178 af1bbf2e002d421fa4641a5a0c9aa9eb +#: ../../using/selecting.md:178 cbae1f4a52ca4e6690f5f763afcea28d msgid "" "Pull requests to the `jupyter/docker-stacks` repository trigger builds of" " all images on GitHub Actions. These images are for testing purposes only" @@ -2041,18 +2041,18 @@ msgid "" " Docker Hub." msgstr "" -#: ../../using/selecting.md:183 c5d7b743a32e4b60a1d9447a25d165a7 +#: ../../using/selecting.md:183 f0b4978f4c15459f88704e368d2280ee msgid "### Versioning" msgstr "" -#: ../../using/selecting.md:185 3421a46d85304c03877542df458dea1b +#: ../../using/selecting.md:185 35fd59f76f124d1fa889f01a6a412a44 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:188 5ec154ccc8034d9bbe8e596fdf07f238 +#: ../../using/selecting.md:188 a2e5b4dea00e4037af33f43dd7f7f92a 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 " @@ -2063,7 +2063,7 @@ msgid "" "stacks/tree/7c45ec67c8e7))." msgstr "" -#: ../../using/selecting.md:194 bf09974aae70453da9be7cf4b7d398a2 +#: ../../using/selecting.md:194 97a2cc0bae9444f193578ca70016c657 msgid "" "You must refer to git-SHA image tags when stability and reproducibility " "are important in your work. (e.g. `FROM jupyter/scipy-" @@ -2073,12 +2073,12 @@ msgid "" "library in a notebook)." msgstr "" -#: ../../using/selecting.md:200 0740a062eef044ebb101dfdf96b9f535 +#: ../../using/selecting.md:200 e1fa05a176e04e21bb7db68b37d293b8 msgid "## Community Stacks" msgstr "" # a448d28293544f72b0e5de024b0a1ef5 -#: ../../using/selecting.md:202 2407d69e18f04ff092586bf6807b4881 +#: ../../using/selecting.md:202 7f278f5c0b0b41a5a51d84408b20fe09 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 " @@ -2086,7 +2086,7 @@ msgid "" "them below." msgstr "" -#: ../../using/selecting.md:206 ba8664f7c8d8469e96ca148ada81a548 +#: ../../using/selecting.md:206 f67c0c62eee4436a891fb54d76e2ebd9 msgid "" "[csharp-notebook is a community Jupyter Docker Stack image. Try C# in " "Jupyter Notebooks](https://github.com/tlinnet/csharp-notebook). The image" @@ -2096,7 +2096,7 @@ msgid "" "/csharp-notebook/master)." msgstr "" -#: ../../using/selecting.md:211 b3babfa7229849cc97caadb57aa1fb0b +#: ../../using/selecting.md:211 882c13f867924c52a670ee50572ac024 msgid "" "[education-notebook is a community Jupyter Docker Stack " "image](https://github.com/umsi-mads/education-notebook). The image " @@ -2106,11 +2106,11 @@ msgid "" "/umsi-mads/education-notebook/master)." msgstr "" -#: ../../using/selecting.md:216 76ef7df6996945f689a3934ca8e3b036 +#: ../../using/selecting.md:216 2e6bf85a765340599dcd1dce03e27b0f msgid "**crosscompass/ihaskell-notebook**" msgstr "" -#: ../../using/selecting.md:218 b9be0865e82b4fea9b73e94b19442c69 +#: ../../using/selecting.md:218 6cd8e20e086e438aa1144b0f0359e799 msgid "" "[Source on GitHub](https://github.com/jamesdbrock/ihaskell-notebook) | " "[Dockerfile commit history](https://github.com/jamesdbrock/ihaskell-" @@ -2118,14 +2118,14 @@ msgid "" "tags](https://hub.docker.com/r/crosscompass/ihaskell-notebook/tags)" msgstr "" -#: ../../using/selecting.md:222 8cb287040831493a9adb0acf0cb894de +#: ../../using/selecting.md:222 49a841109a7048c5b6de07cd2f24d86c msgid "" "`crosscompass/ihaskell-notebook` is based on " "[IHaskell](https://github.com/gibiansky/IHaskell). Includes popular " "packages and example notebooks." msgstr "" -#: ../../using/selecting.md:225 1dda091c06254608a75ddb9a92079c35 +#: ../../using/selecting.md:225 04faf59843e849698e82c73049ccbc3c msgid "" "Try it on " "[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jamesdbrock" @@ -2133,7 +2133,7 @@ msgid "" "notebook/master?urlpath=lab/tree/ihaskell_examples/ihaskell/IHaskell.ipynb)" msgstr "" -#: ../../using/selecting.md:228 2f94c361a2ab404d9ff25fc101216e7b +#: ../../using/selecting.md:228 67258d19c3df45fca4804e1137f5a006 msgid "" "[java-notebook is a community Jupyter Docker Stack " "image](https://github.com/jbindinga/java-notebook). The image includes " @@ -2143,7 +2143,7 @@ msgid "" "/java-notebook/master)." msgstr "" -#: ../../using/selecting.md:233 d092931fc0ac4e55b6580e1d6c569cc7 +#: ../../using/selecting.md:233 abb18548170f4f9cb9c69ce7bb873985 msgid "" "[sage-notebook](https://github.com/sharpTrick/sage-notebook) is a " "community Jupyter Docker Stack image with the " @@ -2153,7 +2153,7 @@ msgid "" "/sage-notebook/master)." msgstr "" -#: ../../using/selecting.md:238 45b4564f89e84a0f9928d2b6bb1ef8db +#: ../../using/selecting.md:238 d93f358185bc4c8185d6fb1d428645e8 msgid "" "[GPU-Jupyter](https://github.com/iot-salzburg/gpu-jupyter/): Leverage " "Jupyter Notebooks with the power of your NVIDIA GPU and perform GPU " @@ -2164,7 +2164,7 @@ msgid "" "**Keras** and **PyTorch** on top of it." msgstr "" -#: ../../using/selecting.md:244 0334d48fc23646089c6d1754c07e924d +#: ../../using/selecting.md:244 33a4eb530baf4e5fa8025ab07b2e81e6 msgid "" "[cgspatial-notebook](https://github.com/SCiO-systems/cgspatial-notebook) " "is a community Jupyter Docker Stack image. The image includes major " @@ -2174,30 +2174,30 @@ msgid "" "/SCiO-systems/cgspatial-notebook/master)" msgstr "" -#: ../../using/selecting.md:249 71dede95274644baa16e66e1b9719e95 +#: ../../using/selecting.md:249 84de9bccde7843bba8e3cac59f016c9c msgid "" "See the [contributing guide](../contributing/stacks.md) for information " "about how to create your own Jupyter Docker Stack." msgstr "" -#: ../../using/specifics.md:1 fd31bc98f34a453bb689d11eb6c91dfd +#: ../../using/specifics.md:1 33ab9493588d4a7882703db8de7cec9a msgid "# Image Specifics" msgstr "" # 06b0d21a881140a29e17e5b9fa5598ab -#: ../../using/specifics.md:3 f63c309c99054b4ea0700120da6f1246 +#: ../../using/specifics.md:3 d8a33489b4c9477faead69b5d2446b6e msgid "This page provides details about features specific to one or more images." msgstr "" -#: ../../using/specifics.md:5 d74c2bcea1f945458d20d9270b3f6826 +#: ../../using/specifics.md:5 27420fc17e204f8c9857ba077c33cc30 msgid "## Apache Sparkā„¢" msgstr "" -#: ../../using/specifics.md:7 fd84cd08fb5c445f96ffe774dbc62105 +#: ../../using/specifics.md:7 49693d9e0f654d0f881e45847ce3d9d8 msgid "### Specific Docker Image Options" msgstr "" -#: ../../using/specifics.md:9 659747481506499a88695a4a6fa87cf0 +#: ../../using/specifics.md:9 65e28556d29348c083bbc96cd17448f8 msgid "" "`-p 4040:4040` - The `jupyter/pyspark-notebook` and `jupyter/all-spark-" "notebook` images open [SparkUI (Spark Monitoring and Instrumentation " @@ -2209,54 +2209,56 @@ msgid "" "8888:8888 -p 4040:4040 -p 4041:4041 jupyter/pyspark-notebook`." msgstr "" -#: ../../using/specifics.md:11 426361d368c2489b99a3c1e12c04cdb4 +#: ../../using/specifics.md:11 7aef8651e7274dd8bee24d9d2466dd70 msgid "### Build an Image with a Different Version of Spark" msgstr "" -#: ../../using/specifics.md:13 a632c4275d4e4aa5a0d811ea200a6ed0 +#: ../../using/specifics.md:13 f5a07686cb284da993204d1b941ad08f 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 93816d4979404b3b9bd3c7baab866fbf +#: ../../using/specifics.md:15 eee5a2545cf2416d8de177401d5dade6 msgid "" "Spark distribution is defined by the combination of the Spark and the " "Hadoop version and verified by the package checksum, see [Download Apache" -" Spark](https://spark.apache.org/downloads.html) for more information. * " -"`spark_version`: The Spark version to install (`3.0.0`). * " +" Spark](https://spark.apache.org/downloads.html) for more information. At" +" this time the build will only work with the set of versions available on" +" the Apache Spark download page, so it will not work with the archived " +"versions. * `spark_version`: The Spark version to install (`3.0.0`). * " "`hadoop_version`: The Hadoop version (`3.2`). * `spark_checksum`: The " "package checksum (`BFE4540...`)." msgstr "" -#: ../../using/specifics.md:19 765d7281fdcb4e8c8afd49d56b8a633d +#: ../../using/specifics.md:19 e9308855a01f4027a85e04c0c6a9a576 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 e30f5c6f36b94e6b8b721d2e4ba26c3b +#: ../../using/specifics.md:21 b162e420c8524a00b5e931af61f9b000 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 bea2949144b14f12990c68052b89194e +#: ../../using/specifics.md:24 c2fa61c3b4864aac995cc66e598acc8c 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 6dc3683fbc3f4bff8f103b92091fab65 +#: ../../using/specifics.md:26 1c5727f9233b4903810a146758af8f70 msgid "" "```bash # From the root of the project # Build the image with different " "arguments docker build --rm --force-rm \\" msgstr "" -#: ../../using/specifics.md:30 99058636997642d5b51df3f8b6a9361c +#: ../../using/specifics.md:30 0cb62648c5bf4c50a6e272d006b4a473 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 " @@ -2264,26 +2266,26 @@ msgid "" " \\ --build-arg openjdk_version=8 \\ --build-arg py4j_version=0.10.7" msgstr "" -#: ../../using/specifics.md:37 2303c3b3a06e4071b2ce803500baaaf1 +#: ../../using/specifics.md:37 d83c330bd5fe455db29ba4356bb48721 msgid "" "# Check the newly built image docker images jupyter/pyspark-" "notebook:spark-2.4.6" msgstr "" -#: ../../using/specifics.md:40 271cf5601fa646068c5c767d97aa30d0 +#: ../../using/specifics.md:40 8ae85ea5ffce49b29a2a398c1e1f8675 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 4e9b24bddc66488e953fc20e03a4093f +#: ../../using/specifics.md:43 258675278ffd4b4796e002dabb0546cd msgid "" "# Check the Spark version docker run -it --rm jupyter/pyspark-" "notebook:spark-2.4.6 pyspark --version" msgstr "" -#: ../../using/specifics.md:46 476d1ecb3f4a4a2aa53b0299de5b0f60 +#: ../../using/specifics.md:46 c356b7da34044d8485feb68fd33f270a msgid "" "# Welcome to # ____ __ # / __/__ ___ _____/ /__ " "# _\\ \\/ _ \\/ _ `/ __/ '_/ # /___/ .__/\\_,_/_/ /_/\\_\\ " @@ -2291,33 +2293,26 @@ msgid "" " Server VM, 1.8.0_265 ```" msgstr "" -#: ../../using/specifics.md:56 bab0228ed7d04de3a74685ca3268fa76 +#: ../../using/specifics.md:56 5c3caf5695ec463199680972d1d6741d msgid "**Tip**: to get the version of Py4J shipped with Spark:" msgstr "" -#: ../../using/specifics.md:58 6f6160198b2a4459935d1a3e1f0b35a6 +#: ../../using/specifics.md:58 858ce0bc81bd4f089bddd1b4e534034c 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 400fbbbe7a1a4997bb1d4da4f6c2e129 +#: ../../using/specifics.md:59 96c05d31ad8e4a4c96f198aca35e71a6 msgid "get the version (`ls /usr/local/spark/python/lib/`)," msgstr "" -#: ../../using/specifics.md:60 d30ece11455048a7983e612549dc5d85 +#: ../../using/specifics.md:60 36d32b9ea3164b1cb0072bcfb7756330 msgid "set the version `--build-arg py4j_version=0.10.7`." msgstr "" -#: ../../using/specifics.md:62 9c97fd0640514dc1b71cc87bef93fd0a -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:64 b8d89f76958c40c78db25cf1f397064c +#: ../../using/specifics.md:62 65c608b87a3c4c68883fa4286392f991 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 " @@ -2325,11 +2320,18 @@ msgid "" "```" msgstr "" -#: ../../using/specifics.md:71 dc842b687e314aecbb28b3dcbb76388e +#: ../../using/specifics.md:69 cd8eb43749b84749a5d35d2564f130d3 +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 0ea25662ab2d481e802b2f3005300ad0 msgid "### Usage Examples" msgstr "" -#: ../../using/specifics.md:73 5b540e1de4934e8085777236e2fa7746 +#: ../../using/specifics.md:73 02de9053451245e3b164d7896dc2987e msgid "" "The `jupyter/pyspark-notebook` and `jupyter/all-spark-notebook` images " "support the use of [Apache Spark](https://spark.apache.org/) in Python, " @@ -2337,31 +2339,31 @@ msgid "" "how to get started using them." msgstr "" -#: ../../using/specifics.md:75 e423f7a233c74b3fbacd288deaa6ba3d +#: ../../using/specifics.md:75 2f4330a17a984135b302de5c2f390aff msgid "#### Using Spark Local Mode" msgstr "" -#: ../../using/specifics.md:77 94b71e7609764e138da1b78c2cf4ae71 +#: ../../using/specifics.md:77 811e47370d914725aceb9eb08c821d03 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 -#: 5cb2832e49c944f0b0e64b3c7f265b57 7a63637d6e2045a09419966172754961 +#: 2ef1df5707cd433ca5216b6beb3c4989 bc89605273404ea19c107fbfac9fd65d msgid "##### In Python" msgstr "" -#: ../../using/specifics.md:81 3bf1745901754c69becbd96c82f70361 +#: ../../using/specifics.md:81 8918ab9a4f124493b474a083ce19cec6 msgid "In a Python notebook." msgstr "" #: ../../using/specifics.md:83 ../../using/specifics.md:172 -#: a9ed7a5c44bf4b688c746f18b81bdb6b db571efd93dd441f85561b9e2a45234e +#: 187667dc982f4a2a8631125f6c74d401 244979581ac94327acbf6c4d3b03725a msgid "```python from pyspark.sql import SparkSession" msgstr "" -#: ../../using/specifics.md:86 cfc0fdbb909946dc96bfa370139613a0 +#: ../../using/specifics.md:86 60c5b22698754caebc95cc7b58cc9398 msgid "" "# Spark session & context spark = " "SparkSession.builder.master('local').getOrCreate() sc = " @@ -2369,102 +2371,102 @@ msgid "" msgstr "" #: ../../using/specifics.md:90 ../../using/specifics.md:179 -#: a3e5eab6e11a450b9b56da084be37e23 cd660915eb6c48cd9fde2f4a21635e92 +#: 267c9cc0a3bd447387d9bcbf3f257342 6ab7b65f68324343af70913807d8c2c7 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 -#: 3db5f5f369504bf1ac81986265de17bc f774289e9e9e435491cac9e1634fdf97 +#: a3cd582c74294bb8ae6019628755abbc aab810b218d848129eb50752b8fa9a1a msgid "##### In R" msgstr "" #: ../../using/specifics.md:98 ../../using/specifics.md:187 -#: 03ee331908ef4b1ba6a076ef1ecbaeac 54138c60b2f849c7ad350e4169a8a2b5 +#: 7a5e778ab9ef4d38ab0ab9ba8f8fe211 e1a03ce47e2f4b6baddbc13f42fdd3ac msgid "In a R notebook with [SparkR][sparkr]." msgstr "" #: ../../using/specifics.md:100 ../../using/specifics.md:189 -#: 7909f0d6c3e04eb9ab0c611731ab6575 90c6f975a09b4a4896a79abefce4e484 +#: 892017dd5648451b90bb994057fed55b eb2f21a0e32245cd987df2954cbf927c msgid "```R library(SparkR)" msgstr "" -#: ../../using/specifics.md:103 e1652cf0164e4b48a20be910fb8b21a3 +#: ../../using/specifics.md:103 f94c0730e55647049438d7df0824d7c2 msgid "# Spark session & context sc <- sparkR.session(\"local\")" msgstr "" #: ../../using/specifics.md:106 ../../using/specifics.md:195 -#: 2887c1c19dd54edb9efa77d52b97c415 5bde0f2ed3d749e395e8409d70c5810e +#: 079e911fe6464d55926132d6bd55b69c a50eda176fe64ee29633099fe104b524 msgid "" "# Sum of the first 100 whole numbers sdf <- createDataFrame(list(1:100)) " "dapplyCollect(sdf," msgstr "" #: ../../using/specifics.md:109 ../../using/specifics.md:198 -#: 90512a16f3af4fdb89397e20c8e913ca 9f4c59a124854ff082db19dd82aecbde +#: 8c9eaf79536d4c12913c5c015424f0bd a2f534676300409d904929e6c103b727 msgid "function(x) { x <- sum(x)}" msgstr "" #: ../../using/specifics.md:111 ../../using/specifics.md:200 -#: 08496646e1b349bcb6a291a0d6206112 807f6e0a832c41d1bfffd1a6889bf2ce +#: 3680fa34b3604b71b70a5ac8e090ce01 70f19ceb9b5a43ac920954d9bf0ccbcb msgid ")" msgstr "" #: ../../using/specifics.md:112 ../../using/specifics.md:131 #: ../../using/specifics.md:201 ../../using/specifics.md:219 -#: 2646f29194a14e4e8368a34ef9368845 3f5060811c354ab1bb720227296dc37a -#: 4462fd6bf7e64e4eba9927e7d1af8e59 66dd175344394b8998ac91755028d6ce +#: 96407df83d8b46f49769734e058e25fe 99fdbe1e2887486882e06c56c92d0c61 +#: d97d00963e314d45aab1f3181c40ce58 ebeedfdb663e41f480a1d434541c97a6 msgid "# 5050 ```" msgstr "" #: ../../using/specifics.md:115 ../../using/specifics.md:204 -#: 354a9c48c3144360b27837f28d011373 7a1ba1d256ae49dd95302f11007e3e6c +#: 04ed3cc4245c49b0baff24cabd86dd9d 42f06a037d164ba89402d6bdff671d70 msgid "In a R notebook with [sparklyr][sparklyr]." msgstr "" #: ../../using/specifics.md:117 ../../using/specifics.md:206 -#: c44e50ba44064f9b86057fff5cd76ea2 cda75a52e049430d8d364ecaeb0a2f25 +#: 4759fa3eb1974f63b9c0c31bc1f36859 e5f697fad591466eafea10da85b4655d msgid "```R library(sparklyr)" msgstr "" -#: ../../using/specifics.md:120 8cec511e5d9a4b88976d00e41d5059af +#: ../../using/specifics.md:120 1d011d17f7e64b48a76568d5fc332fd1 msgid "" "# Spark configuration conf <- spark_config() # Set the catalog " "implementation in-memory conf$spark.sql.catalogImplementation <- \"in-" "memory\"" msgstr "" -#: ../../using/specifics.md:125 fc9aa95e274c4f6388d302f7ed46d78a +#: ../../using/specifics.md:125 96835b0eadef4fb788e329248d4eae93 msgid "" "# Spark session & context sc <- spark_connect(master = \"local\", config " "= conf)" msgstr "" #: ../../using/specifics.md:128 ../../using/specifics.md:216 -#: 573681303a094cd695b2a99275c37919 a5262bdb152b491bae59b3a0773aca00 +#: 2bf405eee5db429ab82ba7549654a19f 7c0d1258700d4440bc75df55c8ae1340 msgid "# Sum of the first 100 whole numbers sdf_len(sc, 100, repartition = 1) %>%" msgstr "" #: ../../using/specifics.md:130 ../../using/specifics.md:218 -#: 1c5f1e3daecd4d4796ae62ff8fd402b6 7a618b725bb64f9784e68181a10598cb +#: 3160a5f087c744efb6c98c36f16d2d3b 96a23b0bac004e4483006f53b44700e1 msgid "spark_apply(function(e) sum(e))" msgstr "" #: ../../using/specifics.md:134 ../../using/specifics.md:222 -#: 0d5458cc277549d09dfd576322c2f7dc 1475adaea19e48d1ad268a5a032bc60d +#: a4b4988d768147dd9b5bc751de7ab34e bc6f972a63644f2786fad7dc31fdb6f6 msgid "##### In Scala" msgstr "" #: ../../using/specifics.md:136 ../../using/specifics.md:224 -#: 415247fb7ac8478783852ebc9443abe4 f2206e69394f4310b2ac0a5eff18bbc2 +#: a338e7b03f30424a8e37ceeab8b6f2e4 daed35e00759430bbfe92a9c456bc88a #, 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 e5d217a44b7d417ca9c9a9add6819fd5 +#: ../../using/specifics.md:139 41fb269fd33041b683c9a8f1c69d0757 #, python-format msgid "" "```python %%init_spark # Configure Spark to use a local master " @@ -2472,17 +2474,17 @@ msgid "" msgstr "" #: ../../using/specifics.md:145 ../../using/specifics.md:233 -#: d2d05c6e74e6420eb4739f699feabc6c f8304fff1acc4ea5b3e3cfac25dcd575 +#: 792f3d4dd903400c9ac2de6a86b12c84 c011e66551f44ab1a576c1d5829610ca msgid "" "```scala // Sum of the first 100 whole numbers val rdd = sc.parallelize(0" " to 100) rdd.sum() // 5050 ```" msgstr "" -#: ../../using/specifics.md:152 fe088c6038f44738bd51827091077c1b +#: ../../using/specifics.md:152 e0968b804ff645dda312d21b17c0f52b msgid "#### Connecting to a Spark Cluster in Standalone Mode" msgstr "" -#: ../../using/specifics.md:154 3e45bb05f1854b5e9dc4c6c8262e7c87 +#: ../../using/specifics.md:154 e0fcd2e768f341e78405bdcfe4f8d4a6 msgid "" "Connection to Spark Cluster on **[Standalone " "Mode](https://spark.apache.org/docs/latest/spark-standalone.html)** " @@ -2490,19 +2492,19 @@ msgid "" msgstr "" # 2c728588b6df4753a0c08f969364a79a -#: ../../using/specifics.md:156 6bd654af90274e69bdf86a65e221c9f0 +#: ../../using/specifics.md:156 125b44dd69994434b6ef32717bff7650 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 39d2cbc512a6451cb43b37163e8538f9 +#: ../../using/specifics.md:158 6be5e76df1af476baa5b9026cd49dbc1 msgid "" "[Deploy Spark in Standalone Mode](http://spark.apache.org/docs/latest" "/spark-standalone.html)." msgstr "" -#: ../../using/specifics.md:159 2ebc840dd05d490eac98add4e3cffb65 +#: ../../using/specifics.md:159 0e8928daf8dc49f59ea178af84bf6564 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 " @@ -2512,14 +2514,14 @@ msgid "" "https://github.com/jupyter/docker-stacks/issues/64 for details." msgstr "" -#: ../../using/specifics.md:165 5ac0fad9e23b45d5b97ee492446d0c29 +#: ../../using/specifics.md:165 6553d1c14b024e8c995ae79891be3e68 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 423495d2bff94bc48c1f5a7cff2a534d +#: ../../using/specifics.md:169 10c4c681aec1419bb1df3b609ce1d202 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 " @@ -2528,18 +2530,18 @@ msgid "" "Configuration][spark-conf] for more information." msgstr "" -#: ../../using/specifics.md:175 78bd6195eb5d47a08f6e72affe2df8fe +#: ../../using/specifics.md:175 2825763364e749c18f93babf56517daf msgid "" "# Spark session & context spark = " "SparkSession.builder.master('spark://master:7077').getOrCreate() sc = " "spark.sparkContext" msgstr "" -#: ../../using/specifics.md:192 5511d2a8fadf4b219437d08f19fb8ae3 +#: ../../using/specifics.md:192 8f55a94c812d43f69ec7f4d32d4b205a msgid "# Spark session & context sc <- sparkR.session(\"spark://master:7077\")" msgstr "" -#: ../../using/specifics.md:209 d915e6e0356d479cb6815af145749bb9 +#: ../../using/specifics.md:209 de3bb5a7e6a441e59a411454dff9af9f msgid "" "# Spark session & context # Spark configuration conf <- spark_config() # " "Set the catalog implementation in-memory " @@ -2547,61 +2549,61 @@ msgid "" "spark_connect(master = \"spark://master:7077\", config = conf)" msgstr "" -#: ../../using/specifics.md:227 4d0e5b25d98842b7a59ffb8c565c2e27 +#: ../../using/specifics.md:227 19576a90d5d048388848473c3947d6c7 #, python-format msgid "" "```python %%init_spark # Configure Spark to use a local master " "launcher.master = \"spark://master:7077\" ```" msgstr "" -#: ../../using/specifics.md:240 43f92d69e83540afab1f719d347bb385 +#: ../../using/specifics.md:240 428545a16b834ce6a1cd10bdd93a2abd msgid "## Tensorflow" msgstr "" -#: ../../using/specifics.md:242 5c6abc16aad44697b11c4b6c7dd53f4e +#: ../../using/specifics.md:242 96452e774e264da789c95b3f1aa02dfb 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 febb4eac0dfd44df93ae6143e53093a5 +#: ../../using/specifics.md:245 06cc5f0df84e4d14a0f3d0c287b6d74c msgid "### Single Machine Mode" msgstr "" #: ../../using/specifics.md:247 ../../using/specifics.md:261 -#: e7785138d2654e62add2478d0e4af6ad efdf7dd74e574cf19f74040eea05f9f9 +#: 156d702f29be493d9d926c58b40e0223 53afb1a1820e4de7b249662982461a98 msgid "```python import tensorflow as tf" msgstr "" -#: ../../using/specifics.md:250 5516be65275249609f85f6befae8e3ed +#: ../../using/specifics.md:250 54f6ac02f5b341c98956f4fc98bff093 msgid "hello = tf.Variable('Hello World!')" msgstr "" -#: ../../using/specifics.md:252 bce7f15517ac408a8918d290b558de94 +#: ../../using/specifics.md:252 22c04e8418604a0f9165e90ae965de65 msgid "sess = tf.Session() init = tf.global_variables_initializer()" msgstr "" #: ../../using/specifics.md:255 ../../using/specifics.md:270 -#: 3129d4e6a41e417d9b1429e441342334 c01f3259501e4e199523a48386f57eb6 +#: 3173227755954eb3a1a225eb0eba7cbe 707832eca92d456da2aa2f0f0c9a4325 msgid "sess.run(init) sess.run(hello) ```" msgstr "" -#: ../../using/specifics.md:259 941f30365a09455caca7588d30c8fd00 +#: ../../using/specifics.md:259 e2309917c8f04444ad8b3e451d3d6b7c msgid "### Distributed Mode" msgstr "" -#: ../../using/specifics.md:264 8911eee6601640e4903aebafb8e2440c +#: ../../using/specifics.md:264 38666050e34f4809a04f8f4e002419a8 msgid "hello = tf.Variable('Hello Distributed World!')" msgstr "" -#: ../../using/specifics.md:266 5e4d4177a06d42dfaa8738611cdf69d1 +#: ../../using/specifics.md:266 3d4348f9b6c1487f981a5bd7e6a289c0 msgid "" "server = tf.train.Server.create_local_server() sess = " "tf.Session(server.target) init = tf.global_variables_initializer()" msgstr "" -#: ../../using/specifics.md:274 00f5282e928b4defb218e3ac9b9d14d6 +#: ../../using/specifics.md:274 195713ba2146409da171808e7c6fee9b msgid "" "[sparkr]: https://spark.apache.org/docs/latest/sparkr.html [sparklyr]: " "https://spark.rstudio.com/ [spark-conf]: " @@ -4982,3 +4984,16 @@ msgstr "" #~ " 100) rdd.sum() // 5050 ```" #~ msgstr "" +#~ msgid "" +#~ "Spark distribution is defined by the " +#~ "combination of the Spark and the " +#~ "Hadoop version and verified by the " +#~ "package checksum, see [Download Apache " +#~ "Spark](https://spark.apache.org/downloads.html) for more" +#~ " information. * `spark_version`: The Spark" +#~ " version to install (`3.0.0`). * " +#~ "`hadoop_version`: The Hadoop version (`3.2`)." +#~ " * `spark_checksum`: The package checksum" +#~ " (`BFE4540...`)." +#~ msgstr "" +