diff --git a/docs/locale/en/LC_MESSAGES/using.po b/docs/locale/en/LC_MESSAGES/using.po index 99b1b87568..65e5a43e4a 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-05-29 13:13+0000\n" +"POT-Creation-Date: 2020-06-18 03:03+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 4b67b0061c4c4f95a494ed06132b2f25 +#: ../../using/common.md:1 05f25f6571774b2abd36fd7dab10c197 msgid "# Common Features" msgstr "" -#: ../../using/common.md:3 25f956b416a54a18a1d2f90f0863edcc +#: ../../using/common.md:3 84130ac082c442f0a3abeba6cdf7638c 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 6fced01d11a5424d86e5fa67c0a82e6f +#: ../../using/common.md:5 0f313b549448441296056437eb9adfe9 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 2569f9c1163546369274fd97cf938eee +#: ../../using/common.md:7 160e32c7eb7a45039e6a3afc0c55d922 msgid "## Notebook Options" msgstr "" -#: ../../using/common.md:9 63af31ea6d3840438dc8eee568d74d55 +#: ../../using/common.md:9 8d03f70768a749a1ae132bd9ec5bdb07 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 6fc32498b9844ba1b6cfced14f48609f +#: ../../using/common.md:11 4b6fa6c19ccb4c129850078811032994 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 451d751407a84200bebdc84a3dda3206 +#: ../../using/common.md:15 68811ec49e0644ddaacc7721eb3b4f4b msgid "" "For example, to set the base URL of the notebook server, you can run the " "following:" msgstr "" -#: ../../using/common.md:17 40ad7c9f099c40da92ea94ea8fe3c628 +#: ../../using/common.md:17 0bad22cc1050476b8ed5b01844b618ca msgid "" "```bash docker run -d -p 8888:8888 jupyter/base-notebook start-" "notebook.sh --NotebookApp.base_url=/some/path ```" msgstr "" -#: ../../using/common.md:21 8516db9147f3477388a890e02678ab07 +#: ../../using/common.md:21 c56bfcab06ec45e8aaa4b61d0a0233b3 msgid "## Docker Options" msgstr "" -#: ../../using/common.md:23 3cf72e2c271a48a38cd01c954021042a +#: ../../using/common.md:23 506338f2f3854b568ad8a9996b088ba7 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 cdfd199cb8ab40ebac476bcd089fb704 +#: ../../using/common.md:26 02cec4dfc9ff40288cdd93b28b5c3831 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 81f03a9266544ff993af640c5d456fc4 +#: ../../using/common.md:27 e416960452594817a5b38ca51898a8f7 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 d11728bf24844988a7924af890bc1d32 +#: ../../using/common.md:28 39ad60a457904ae4b5acfcc1bb176aec 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 2f16ed67d4ad411e98c29fde61df4f5e +#: ../../using/common.md:29 32421f8bc5fe4a3caaa72506778b12ef 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 ac6ec9f391514e8db69d4d5fc972c7cd +#: ../../using/common.md:30 fbbf808821a64018a29a72b6d697c08c 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 710fcea9fe0148ca832e6eb110287bd8 +#: ../../using/common.md:31 85d0026c2eeb4e6d939d20172142817a 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 67ff89f978f74ea0a59cb83170cde836 +#: ../../using/common.md:32 85cea498fa8a4b10a422f88e24fa99fd 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 346bea8d1247471b9884c43ef95211f2 +#: ../../using/common.md:33 93d7648be3f343c0b4440a57b11539b2 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 a798abd6c30f497eb8ab632935bdd7d5 +#: ../../using/common.md:34 dcb03cb015c14411a804aca67ea5df45 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 1818e6acfc2c4ae18fa134bc4bf5c6b3 +#: ../../using/common.md:35 8b4dfe0c51e440e8948f1111bb951394 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 e2b7da35550d4065b80361a55128777b +#: ../../using/common.md:36 36fcf28056b641f08aec012db91eac8e 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 b30231d53e5e4753bce233493eba5a91 +#: ../../using/common.md:37 05dad001725249409fb618f224c6dfe4 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 c6bf640a372f4b77b2e2c2e2778f3665 +#: ../../using/common.md:38 03dd9a500ecf44baa8a2370fe12a674a 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 534da7c4af644acaa8ce4f241ad05d7d +#: ../../using/common.md:40 3acd3fc94dfd4a8899b0b04bb6e99652 msgid "## Startup Hooks" msgstr "" -#: ../../using/common.md:42 dec06ea0d9464b8fa5dbccd64a7766a2 +#: ../../using/common.md:42 49c306a2b1624f62840d2ca157debce5 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 5174c23fcbb74f1c99954657b1c3589e +#: ../../using/common.md:45 11824491935c4e70b537287678ab9afa msgid "" "`/usr/local/bin/start-notebook.d/` - handled before any of the standard " "options noted above are applied" msgstr "" -#: ../../using/common.md:47 cffbd4e084284e4ea4c43bc9578875b4 +#: ../../using/common.md:47 7424bb45bbab4b0baa85458a54367d6f 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 11cb36e57306435ca55fd2246948fc41 +#: ../../using/common.md:50 82c0f9d57fba489882f41b3711934548 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 212c00d04b9e4409afb80681fc9e9728 +#: ../../using/common.md:53 92bd9ad34c104974b21a263e7f6b0161 msgid "## SSL Certificates" msgstr "" -#: ../../using/common.md:55 41f390e0995c44e1a8bc911d34867895 +#: ../../using/common.md:55 0bcea7d64cfe46d58d1076683a2f7ed9 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 -#: 13d8f0af5de742f9b960911839db5527 232bebb8635f47c2b4672ec231399a89 +#: 18de9f8fdc3c45ac9f49f93aeff23b38 a4a6181fe43546a3a90ed68f9330fab7 msgid "```bash docker run -d -p 8888:8888 \\" msgstr "" -#: ../../using/common.md:59 059e5e7091f34b30bfd89f2f0c422b8d +#: ../../using/common.md:59 64d66af6af0b46aea2042181c852abd7 msgid "" "-v /some/host/folder:/etc/ssl/notebook \\ jupyter/base-notebook start-" "notebook.sh \\ --NotebookApp.keyfile=/etc/ssl/notebook/notebook.key " @@ -273,26 +273,26 @@ msgid "" msgstr "" #: ../../using/common.md:63 ../../using/common.md:72 ../../using/recipes.md:55 -#: ../../using/recipes.md:67 ../../using/recipes.md:294 -#: ../../using/recipes.md:515 ../../using/running.md:34 +#: ../../using/recipes.md:67 ../../using/recipes.md:286 +#: ../../using/recipes.md:507 ../../using/running.md:34 #: ../../using/running.md:75 ../../using/running.md:97 -#: ../../using/specifics.md:204 1063fee7a45d43868fd182ac79640d7b -#: 230e97fc12324c7c9586621c11c3b65e 350bce74e89c4a04a9b4250349a85e0d -#: 47cc9ec14b6a499ab76a79ad1fd9ce52 65cbf9ed34e544619068386c5fcaf32d -#: 6ff71756f51143368ad2501a047db5af 9ac19511b8e94eaf8c83fe61e1f9ec0d -#: aa98d988555d42dea1ab64be4ba305ed cf537c20138b48968167c8f94e645f15 -#: fb46116a093b4638aab674094cbc0183 +#: ../../using/specifics.md:204 1e003e3d6ecc48828a54efcca1e30c3d +#: 25ddcbbbf1b043b3b4a05d4f5c6e5f9e 2d6c702ebeb8499f95014c100715a322 +#: 3e9e392290b24a569aece6388de98c7d 42cb9c959f124d9db93e548354e732ac +#: 5ca837cfc48b49d0b0e84742d9abd994 a05356e399ca412085f2148430bdfec0 +#: c95cbeae84a246f1abe6945a54386855 d98420952d234dd6b0f1c8bdc531221e +#: da6abe4885f247638291946b32d8c3c4 msgid "```" msgstr "" # e496d62ce1b7489eabf40a55471247b4 -#: ../../using/common.md:65 eb56e5523b8b4dbba3f97ee76473f139 +#: ../../using/common.md:65 18eab9bb97434754bafb4b1a93aa3fb2 msgid "" "Alternatively, you may mount a single PEM file containing both the key " "and certificate. For example:" msgstr "" -#: ../../using/common.md:69 dd756a22432a4e8686149b8f392e7938 +#: ../../using/common.md:69 e7085c0153254f88a17c1a4cf4b6147a msgid "" "-v /some/host/folder/notebook.pem:/etc/ssl/notebook.pem \\ jupyter/base-" "notebook start-notebook.sh \\ " @@ -300,7 +300,7 @@ msgid "" msgstr "" # 6ada67b7d1a34f59ad235d7e49e6a298 -#: ../../using/common.md:74 7d7b41e2a6f143c08e52c8a58685bf16 +#: ../../using/common.md:74 7488e2d39a7d4920a354b0ca15eb40de 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 " @@ -308,11 +308,11 @@ msgid "" msgstr "" # c908965cf0084fc2b276b50b47b87d18 -#: ../../using/common.md:76 4833a6fbb5e04a53a49f1eda78eb72d4 +#: ../../using/common.md:76 232493a89ca646e58b8d725074950941 msgid "For additional information about using SSL, see the following:" msgstr "" -#: ../../using/common.md:78 59a4f967727a40dbbebd0d7b1e2a297e +#: ../../using/common.md:78 de6fb87b85ac46938e310660110dab3a msgid "" "The [docker-stacks/examples](https://github.com/jupyter/docker-" "stacks/tree/master/examples) for information about how to use [Let's " @@ -320,14 +320,14 @@ msgid "" " on a publicly visible domain." msgstr "" -#: ../../using/common.md:79 7642c268784a408e8916bb9fcf3ce344 +#: ../../using/common.md:79 27c7302187354d07b485e41abdcd2b6a 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 41f67d9868ce41718b3934781c8c8746 +#: ../../using/common.md:80 02dcefb3c50b435489981b00bdc8eb5a msgid "" "The [Jupyter Notebook documentation](https://jupyter-" "notebook.readthedocs.io/en/latest/public_server.html#securing-a-notebook-" @@ -335,15 +335,15 @@ msgid "" "general." msgstr "" -#: ../../using/common.md:82 81d9166dc8ff4267a0aff543d305ccd3 +#: ../../using/common.md:82 8a0302afb3d64582b4646b51a593caf5 msgid "## Alternative Commands" msgstr "" -#: ../../using/common.md:84 8ec8295c00a34071a4db13f695059fdf +#: ../../using/common.md:84 8155c7efab5a424785406c824b1cdff0 msgid "### start.sh" msgstr "" -#: ../../using/common.md:86 20788768f5e54614b9e85a3476c380d7 +#: ../../using/common.md:86 56fd496bbd564a32a1e945e2e484527d msgid "" "The `start-notebook.sh` script actually inherits most of its option " "handling capability from a more generic `start.sh` script. The `start.sh`" @@ -352,44 +352,44 @@ msgid "" "based `ipython` console in a container, do the following:" msgstr "" -#: ../../using/common.md:88 21fed3278aca41b1bfffe004fd44926b +#: ../../using/common.md:88 eca16291052d4969ab2502b199405d4e msgid "```bash docker run -it --rm jupyter/base-notebook start.sh ipython ```" msgstr "" # ad0be3e8095e4394afb367e9e56e1ca5 -#: ../../using/common.md:92 dd94552ed1c54d468773bdfd615d8562 +#: ../../using/common.md:92 a077243bc71f4aafa13fbc4184cf6cca msgid "Or, to run JupyterLab instead of the classic notebook, run the following:" msgstr "" -#: ../../using/common.md:94 0fb2aa9edbf04626b80d4face3bbec99 +#: ../../using/common.md:94 5ffb8a1e7b824ae087316ef4eadfff14 msgid "" "```bash docker run -it --rm -p 8888:8888 jupyter/base-notebook start.sh " "jupyter lab ```" msgstr "" -#: ../../using/common.md:98 7ed15b93d6d241c28f63f13f8d5aa384 +#: ../../using/common.md:98 107706c2c37541e78fd550ac9b665cea 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 cb5cfc20d80540a29b099c4bd5c5ed50 +#: ../../using/common.md:100 f4af291eb4a441c5a1591be11a4a748d msgid "### Others" msgstr "" -#: ../../using/common.md:102 1c00ce3312064e81923dbc5ee2237bb0 +#: ../../using/common.md:102 642967e3f642428ea2a6631ba6e9d31e 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 75b4248e44e946a4b8b1a3a8acf5a31c +#: ../../using/common.md:104 a4a713962430456f8a5f79656432d32b msgid "## Conda Environments" msgstr "" -#: ../../using/common.md:106 6d9e6c10ad794576876124d92e77be82 +#: ../../using/common.md:106 b18df87ff1e34bf793558686fd4d2328 msgid "" "The default Python 3.x [Conda " "environment](http://conda.pydata.org/docs/using/envs.html) resides in " @@ -398,24 +398,24 @@ msgid "" "`sudo` commands by the `start.sh` script." msgstr "" -#: ../../using/common.md:108 e71492b68f6240bea67c98bd36301b13 +#: ../../using/common.md:108 8aa411b3cdcf43f0b5d6240da7890b38 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 fbda7c275a84470c87fc778f4c9b0f78 +#: ../../using/common.md:110 1c98f6bf67bd4246a172c862b1799435 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 46a97a1dd97d4df5b90c322fc038bb0e +#: ../../using/recipes.md:1 e8506253687741a6979e9ce235dcf900 msgid "# Contributed Recipes" msgstr "" -#: ../../using/recipes.md:3 f987028fd5214207ba53827b6fad5358 +#: ../../using/recipes.md:3 b310889a45b64235a7e2aeb1e4e34ca2 msgid "" "Users sometimes share interesting ways of using the Jupyter Docker " "Stacks. We encourage users to [contribute these " @@ -425,11 +425,11 @@ msgid "" "knowledge." msgstr "" -#: ../../using/recipes.md:8 074f01ce5e1f405a9dcb3c8b1446f948 +#: ../../using/recipes.md:8 52de0427dbdb44dc89cdc51055beed49 msgid "## Using `sudo` within a container" msgstr "" -#: ../../using/recipes.md:10 270f5904565840958a93c9ad55881a60 +#: ../../using/recipes.md:10 5f6c95a1ee814a9388f07b04ad16a699 msgid "" "Password authentication is disabled for the `NB_USER` (e.g., `jovyan`). " "This choice was made to avoid distributing images with a weak default " @@ -437,7 +437,7 @@ msgid "" "container on a publicly accessible host." msgstr "" -#: ../../using/recipes.md:14 636356b3a58047859ac6da4b6ab43914 +#: ../../using/recipes.md:14 33bde929be4d4cc58b397b758b673f93 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 " @@ -445,17 +445,17 @@ msgid "" msgstr "" # f75300183d66418d958651b713e3c81e -#: ../../using/recipes.md:18 a41e4f6d416c4562a906c449e3ae6a9d +#: ../../using/recipes.md:18 f990e7fcd013450a9563a0c4a73cdc5b msgid "For example:" msgstr "" -#: ../../using/recipes.md:20 50588f2e3e774bfc90f58095be66368e +#: ../../using/recipes.md:20 ec490195f60b45eda0708fc06e60ea65 msgid "" "```bash docker run -it -e GRANT_SUDO=yes --user root jupyter/minimal-" "notebook ```" msgstr "" -#: ../../using/recipes.md:24 1285591308cd4033bfbf4502f30fd1cd +#: ../../using/recipes.md:24 711a6296a02946abad9a2eec6ab8f226 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 " @@ -463,16 +463,16 @@ msgid "" " more information about running containers as `root`." msgstr "" -#: ../../using/recipes.md:27 82ef5d2e804047cb925fad369961930e +#: ../../using/recipes.md:27 914df6e2d92b40f490e21915e046f6c8 msgid "## Using `pip install` or `conda install` in a Child Docker image" msgstr "" # cfb1a65ed1a4453e8b3355f1c0c23b1c -#: ../../using/recipes.md:29 b259e98d1993409cb0b49f049d538510 +#: ../../using/recipes.md:29 bf1994ef8bdc497bb382304803a0e67a msgid "Create a new Dockerfile like the one shown below." msgstr "" -#: ../../using/recipes.md:31 1e9e85e94af94331b8700f8c44abf8a7 +#: ../../using/recipes.md:31 3f713b53d1a040d48381c38da6d417d1 msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install in the default python3 environment RUN " @@ -480,22 +480,22 @@ msgid "" msgstr "" # 3ab615dc6fb6425d954cae4ce14f08b9 -#: ../../using/recipes.md:38 cd74dcd66a334a07816ad181b0e343ea +#: ../../using/recipes.md:38 eaf78ed90c5f417d8b6d8ebea30c72da msgid "Then build a new image." msgstr "" -#: ../../using/recipes.md:40 4a8ad98eed4148b9b38c6666097ab7e7 +#: ../../using/recipes.md:40 fefd49cc3eee4f96a8faebbb438aaba3 msgid "```bash docker build --rm -t jupyter/my-datascience-notebook . ```" msgstr "" -#: ../../using/recipes.md:44 4ce9787babde42919d83d51ed955236d +#: ../../using/recipes.md:44 82475574eb5c48e5aa4fb33b874e06f5 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 22ad263e58b7461bb88f10798f1675bf +#: ../../using/recipes.md:47 13d655e5c077426e85c58cc5cee22a80 msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install from requirements.txt file COPY " @@ -504,17 +504,17 @@ msgid "" msgstr "" #: ../../using/recipes.md:53 ../../using/recipes.md:65 -#: ../../using/recipes.md:129 1322fa53b6d64d48b6e2c7cf5dde7d33 -#: c9b929bee2834768aa01660fc43a752a efc10d6b4d9c4ca491deb8612d49ec3c +#: ../../using/recipes.md:129 3fb2725dd8464b6ea0f594cafb35b217 +#: 491db6c938064950808c9406b5ff525a 87805922098149388adefb625309cbef msgid "fix-permissions $CONDA_DIR && \\ fix-permissions /home/$NB_USER" msgstr "" # f2f035925d764425b9999b19d36c1d30 -#: ../../using/recipes.md:57 8ea0c92c55384021b2cb66afa0ba9158 +#: ../../using/recipes.md:57 4cbfb121c90e43d0a484f888083feab2 msgid "For conda, the Dockerfile is similar:" msgstr "" -#: ../../using/recipes.md:59 895920cec2bf4039b26e81248b094b91 +#: ../../using/recipes.md:59 db0e11e1f485476faf3cc89894487654 msgid "" "```dockerfile # Start from a core stack version FROM jupyter/datascience-" "notebook:9f9e5ca8fe5a # Install from requirements.txt file COPY " @@ -522,7 +522,7 @@ msgid "" "/tmp/requirements.txt && \\" msgstr "" -#: ../../using/recipes.md:69 ec1c0c7281c84303bbdb4415de565a90 +#: ../../using/recipes.md:69 e8a1892ea00c43e0af9fbe64cd367cca msgid "" "Ref: [docker-" "stacks/commit/79169618d571506304934a7b29039085e77db78c](https://github.com/jupyter" @@ -530,24 +530,24 @@ msgid "" "stacks/commit/79169618d571506304934a7b29039085e77db78c#commitcomment-15960081)" msgstr "" -#: ../../using/recipes.md:72 ecd71e68efe84e46a3bff6a4929ba0d0 +#: ../../using/recipes.md:72 e4c4610c7f8f4da884f5b146e646a117 msgid "## Add a Python 2.x environment" msgstr "" -#: ../../using/recipes.md:74 94ae00a10bca4d27b75e64f3eef3e0c7 +#: ../../using/recipes.md:74 882dab5cb90b4879b8c54db07bacf1f5 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 f3519243b311445ba980a17582305115 +#: ../../using/recipes.md:78 7daf23550a5c4cdaa011cb1ae165f76c msgid "" "```dockerfile # Choose your desired base image FROM jupyter/scipy-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:82 77770fc9873c4bcba34bbcc4faab6d56 +#: ../../using/recipes.md:82 7d0b5c24b95a48ea9ff09e5c95254a98 msgid "" "# Create a Python 2.x environment using conda including at least the " "ipython kernel # and the kernda utility. Add any additional packages you " @@ -557,17 +557,17 @@ msgid "" msgstr "" #: ../../using/recipes.md:86 ../../using/recipes.md:116 -#: 157e76cd70534ae3813d7dffa3c7aba8 b343eaa464e343988e45dc0a60fc8b35 +#: 5f64053904da48a28b02580e8ed82164 793c68a4b40047269514ab58f482f387 msgid "conda clean --all -f -y" msgstr "" #: ../../using/recipes.md:88 ../../using/recipes.md:253 -#: ../../using/recipes.md:528 86d204b22ea24613bb5aa51a997c553f -#: bc306f3bbe104fef82abfd3553e3cc59 f1e2a1eee54c4799ad2673238903ae52 +#: ../../using/recipes.md:520 3d80c18f9b1f4a95a49be0ee2d584338 +#: d0bffff803624907b99976c6bd81a096 ea9b73868c7e4021b3d558af920d0792 msgid "USER root" msgstr "" -#: ../../using/recipes.md:90 d47575f2df784a0f871114f376c7e316 +#: ../../using/recipes.md:90 c2671890abe34773bf2e541bfe1dfe30 msgid "" "# Create a global kernelspec in the image and modify it so that it " "properly activates # the python2 conda environment. RUN " @@ -576,21 +576,21 @@ msgid "" "/usr/local/share/jupyter/kernels/python2/kernel.json" msgstr "" -#: ../../using/recipes.md:95 28b2fa480e4a4edca598f6f98c4ba771 +#: ../../using/recipes.md:95 886b64a3808c45889c29f668dfbb7bd5 msgid "USER $NB_USER ```" msgstr "" -#: ../../using/recipes.md:98 7d3bda1f5d694fed8071507ac1f37854 +#: ../../using/recipes.md:98 4996e2fe24714791b4d80c3787c96b6e msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/440](https://github.com/jupyter/docker-stacks/issues/440)" msgstr "" -#: ../../using/recipes.md:101 9d7f820787fe42dcad863d06818d0ca3 +#: ../../using/recipes.md:101 c04e7ed9ac944148a73a926281ff93f3 msgid "## Add a Python 3.x environment" msgstr "" -#: ../../using/recipes.md:103 7a83386fa73c473080c5c24671f8114e +#: ../../using/recipes.md:103 b51e2b39b3344406b35cfc2d757b7608 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 " @@ -598,19 +598,19 @@ msgid "" "Python 2.x but are slightly simpler (no need to switch to `root`):" msgstr "" -#: ../../using/recipes.md:106 957643cb815b47c2a17386ac36c9dc77 +#: ../../using/recipes.md:106 c995513151274d28a1ad777a3864eff4 msgid "" "```dockerfile # Choose your desired base image FROM jupyter/minimal-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:110 6d0e1a3488584d578d487daef2eb6cc0 +#: ../../using/recipes.md:110 22ca4506283a474fa982d1e491e1deec msgid "" "# name your environment and choose python 3.x version ARG " "conda_env=python36 ARG py_ver=3.6" msgstr "" -#: ../../using/recipes.md:114 bfc049f2d4684314a6033f1602ba6341 +#: ../../using/recipes.md:114 496659de49d64a3096f99d2a22863dee msgid "" "# you can add additional libraries you want conda to install by listing " "them below the first line and ending with \"&& \\\" RUN conda create " @@ -618,67 +618,67 @@ msgid "" "ipykernel && \\" msgstr "" -#: ../../using/recipes.md:118 6dd46128d3de4499bca3577efc405667 +#: ../../using/recipes.md:118 0176bdde2e644828ac19f9eb8c26e4b4 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 c1b171f2ffcd466db51ef364be55665b +#: ../../using/recipes.md:121 5685cbecb931433184116d19d0797f64 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 f0a07b0a14c0456d8bd4966283f2ca1f +#: ../../using/recipes.md:127 5ce5895c92084d9e982bd0ce7c02cd9e 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 77a4f6f1296d4dc7a0732e21e2081d6e +#: ../../using/recipes.md:132 a818016a0966417db134afdf6750f86b 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 a8a1e2fb988d44848d6d3cf0447cebd4 +#: ../../using/recipes.md:135 577f03618bd7446196b83ee82aec8257 msgid "" "# prepend conda environment to path ENV PATH " "$CONDA_DIR/envs/${conda_env}/bin:$PATH" msgstr "" -#: ../../using/recipes.md:138 26964cd7926d434795a2f95ca9f2b43c +#: ../../using/recipes.md:138 3f40e54a178d490c8aa79887d50cd6fe 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 48c9238859b944489bca4c77d93d23db +#: ../../using/recipes.md:142 5d2b405f7c924ab39f3c0438726a3372 msgid "## Run JupyterLab" msgstr "" -#: ../../using/recipes.md:144 23d6d02953be4f8984bc4a5e0573383f +#: ../../using/recipes.md:144 48956b198d0848dba80d68f6de00f44f 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 e248635a461646bf91a65588124016d7 +#: ../../using/recipes.md:147 98e464ee05e44cb0b8fb4b87e8af73ad 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 f4cd00327ac74077968defc6d952be64 +#: ../../using/recipes.md:150 c22d1998ea76429aaf51cc43e11c209c msgid "## Dask JupyterLab Extension" msgstr "" -#: ../../using/recipes.md:152 d6d964a1db214f8289b62369e029ee57 +#: ../../using/recipes.md:152 473170e1f7904c9ab8847774336e3581 msgid "" "[Dask JupyterLab Extension](https://github.com/dask/dask-labextension) " "provides a JupyterLab extension to manage Dask clusters, as well as embed" @@ -686,51 +686,51 @@ msgid "" "Dockerfile as:" msgstr "" -#: ../../using/recipes.md:154 d4546cb15c5a47f3be1a7a69ef811bed +#: ../../using/recipes.md:154 1dded36f847e4aa394a41a8c2aed6cae msgid "" "```dockerfile # Start from a core stack version FROM jupyter/scipy-" "notebook:latest" msgstr "" -#: ../../using/recipes.md:158 8195038a41984aa69ab0274dea34c929 +#: ../../using/recipes.md:158 0e25ae1b55f74bf9880a310d20901d81 msgid "# Install the Dask dashboard RUN pip install dask_labextension ; \\" msgstr "" -#: ../../using/recipes.md:160 661a1f44d5b0447b83d1ec3451b17a51 +#: ../../using/recipes.md:160 075be910995d4d8784f47272b93b2e14 msgid "jupyter labextension install -y --clean \\ dask-labextension" msgstr "" -#: ../../using/recipes.md:163 984e6b1d860b48549cecbdf84a4137b6 +#: ../../using/recipes.md:163 9c9463b983e14e64843cefcca10f271c msgid "# Dask Scheduler & Bokeh ports EXPOSE 8787 EXPOSE 8786" msgstr "" -#: ../../using/recipes.md:167 a9069f37ae9847559b307899f17b86cb +#: ../../using/recipes.md:167 48e4a6ba91a84333b0e2efe71a268d3b msgid "ENTRYPOINT [\"jupyter\", \"lab\", \"--ip=0.0.0.0\", \"--allow-root\"] ```" msgstr "" -#: ../../using/recipes.md:170 349abc5812ed4d28b61f4fb84c56a518 +#: ../../using/recipes.md:170 cec5dcbc1ffb48df8f922cde371a7c3f msgid "" "And build the image as: ```bash docker build -t jupyter/scipy-" "dasklabextension:latest . ```" msgstr "" -#: ../../using/recipes.md:175 03f239fff17c4c938603ec8ba66b536f +#: ../../using/recipes.md:175 21041fbc3f0144ba8eddf4fbb3bc5026 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 f8bcb4a2a5b44b1b8c83e7ebf03cfe35 +#: ../../using/recipes.md:180 7fd821c2afe24196a868e37fd05aac0f msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/999](https://github.com/jupyter/docker-stacks/issues/999)" msgstr "" -#: ../../using/recipes.md:183 2dfff2c0340646c494101014994b5f25 +#: ../../using/recipes.md:183 3c75e085f8b84fb3bf6de9b9f59370c9 msgid "## Let's Encrypt a Notebook server" msgstr "" -#: ../../using/recipes.md:185 8ddfc04fafb84521bc2247810c68b11a +#: ../../using/recipes.md:185 9060688456e240bb98be84e0509627e6 msgid "" "See the README for the simple automation here [https://github.com/jupyter" "/docker-stacks/tree/master/examples/make-" @@ -739,67 +739,67 @@ msgid "" "Encrypt certificate." msgstr "" -#: ../../using/recipes.md:189 6298d2ab64c042fb9878d5a2d6744ffa +#: ../../using/recipes.md:189 459a10e8692d43a2946651cb80f87eb9 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/78](https://github.com/jupyter/docker-stacks/issues/78)" msgstr "" -#: ../../using/recipes.md:192 b3ff6e5693a94c359ca4ea539e9ef168 +#: ../../using/recipes.md:192 b81a8aa7c2cf4089a5b90f553d11dbec msgid "## Slideshows with Jupyter and RISE" msgstr "" -#: ../../using/recipes.md:194 032c86bcc7a44c469f2e863037cb5590 +#: ../../using/recipes.md:194 9732df47bbaf4be092cd988019d8151c 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 ce0ae5db587a47cdb09ff23c97bfe12d +#: ../../using/recipes.md:197 205b80dada6d4e0294a85b3cb88c6a58 msgid "" "```bash # Add Live slideshows with RISE RUN conda install -c " "damianavila82 rise ```" msgstr "" -#: ../../using/recipes.md:202 596bf03da2264bb886498069c23b4db2 +#: ../../using/recipes.md:202 543857f66f1d4137b745db662d6ee0e7 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 e4b7c3d5b4ed4f5eab8e3e107c2b20e8 +#: ../../using/recipes.md:205 0031f0812f724459b70a5987873bc89a msgid "## xgboost" msgstr "" # ce204678c3af4aa9a0fb55bb6de7554b -#: ../../using/recipes.md:207 f6cba9c637684740982888928c4fb510 +#: ../../using/recipes.md:207 7b0b75923901446ab548956f82757944 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 7171dd4abf274976a66d8ca2604c9aa6 +#: ../../using/recipes.md:210 ff89305662ec435185607356ea92a7f3 #, python-format msgid "```bash %%bash conda install -y gcc pip install xgboost" msgstr "" -#: ../../using/recipes.md:215 b858164bcd4646e886ce757b5ae1c1ef +#: ../../using/recipes.md:215 d86ff95fe23740f5a8ae8c4c35e13e0b msgid "import xgboost ```" msgstr "" -#: ../../using/recipes.md:218 18222de409eb4cd19b037e48a6db1e27 +#: ../../using/recipes.md:218 7084051f6114475996237a9d66fbacf8 msgid "## Running behind a nginx proxy" msgstr "" # ca7763a5a35a47bd9fb29ae9d00feab3 -#: ../../using/recipes.md:220 eacd780e21bc4fb59fa591767cd1d533 +#: ../../using/recipes.md:220 7661d5082c584ee7a88be1fef0a8f2a6 msgid "" "Sometimes it is useful to run the Jupyter instance behind a nginx proxy, " "for instance:" msgstr "" -#: ../../using/recipes.md:222 d9e8328f9a674d2e9edc6a3be1ced9aa +#: ../../using/recipes.md:222 b965389b3a03423290f22ef82299acbd msgid "" "you would prefer to access the notebook at a server URL with a path " "(`https://example.com/jupyter`) rather than a port " @@ -807,14 +807,14 @@ msgid "" msgstr "" # a5129fb6e2b042f5b8161ed5318123f9 -#: ../../using/recipes.md:224 c96932dd81684c42b170f3c07e428511 +#: ../../using/recipes.md:224 897fbb41debe428d8270b6000f3fb1b8 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 117335115ada4dd2b9082a7cd9ec8d57 +#: ../../using/recipes.md:227 a9f6b3d241664fd1837ea3071fc6a51e msgid "" "Here is a [quick example NGINX " "configuration](https://gist.github.com/cboettig/8643341bd3c93b62b5c2) to " @@ -825,11 +825,11 @@ msgid "" "services." msgstr "" -#: ../../using/recipes.md:232 1301246586854d04b7d4a30bf13336a6 +#: ../../using/recipes.md:232 8724ad5e3df3458f840bad51f8c8fca7 msgid "## Host volume mounts and notebook errors" msgstr "" -#: ../../using/recipes.md:234 813c504a9b4244c2a4d1f793428e75bf +#: ../../using/recipes.md:234 ae27f2c8fdae474c939da925ac8ce345 msgid "" "If you are mounting a host directory as `/home/jovyan/work` in your " "container and you receive permission errors or connection errors when you" @@ -840,144 +840,131 @@ msgid "" "section](../using/common.html#Docker-Options)" msgstr "" -#: ../../using/recipes.md:240 fda962c83bb843dea81e3b044fa2708e +#: ../../using/recipes.md:240 46dad9b7f5824e41bd2c442a4c82a90d msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/199](https://github.com/jupyter/docker-stacks/issues/199)" msgstr "" -#: ../../using/recipes.md:243 b63f205168cf40b78152717d73e5ad08 +#: ../../using/recipes.md:243 d17371cf514f4fa18c6f2ebc18188c08 msgid "## Manpage installation" msgstr "" # 7fc6566074ee4ba3a4e579437d7f151d -#: ../../using/recipes.md:245 325ec70140fa41bfa14db13eeb0f1577 +#: ../../using/recipes.md:245 2e93b91fa2b744aeb8cfddc466c4fc22 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 79247ff9ba1a4437a64e6e48eefe98e7 +#: ../../using/recipes.md:248 f0ca319f02ac499bacdd84dd4541044e msgid "" "```dockerfile # Choose your desired base image ARG BASE_CONTAINER=jupyter" "/datascience-notebook:latest FROM $BASE_CONTAINER" msgstr "" -#: ../../using/recipes.md:255 e62c521a12184a9bb43e57d5680698ea +#: ../../using/recipes.md:255 8f67eab103e049a4ba14de71a5dfba15 msgid "" "# Remove the manpage blacklist, install man, install docs RUN rm " "/etc/dpkg/dpkg.cfg.d/excludes \\" msgstr "" -#: ../../using/recipes.md:257 ../../using/recipes.md:285 -#: 628269efed2c451e9be8cf17832e17b2 c353bb99e5a142a180613712f634bf49 +#: ../../using/recipes.md:257 cf658fcc21d24c52a5a467f69fc3ae0b 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 2cecf9cb978e40ee8210a7f1de37259d -msgid "" -"# Workaround for a mandb bug, should be fixed in mandb > 2.8.5 # " -"https://git.savannah.gnu.org/cgit/man-" -"db.git/commit/?id=8197d7824f814c5d4b992b4c8730b5b0f7ec589a RUN echo " -"\"MANPATH_MAP ${CONDA_DIR}/bin ${CONDA_DIR}/man\" >> /etc/manpath.config " -"\\" -msgstr "" - -#: ../../using/recipes.md:265 917ab6202906454786a3a955b29d521d -msgid "" -"&& echo \"MANPATH_MAP ${CONDA_DIR}/bin ${CONDA_DIR}/share/man\" >> " -"/etc/manpath.config \\ && mandb" -msgstr "" - -#: ../../using/recipes.md:268 6ab86ca12be045c1b28918ffcc217f6f +#: ../../using/recipes.md:262 da66779c08c9425ebf6654656ddc9134 msgid "USER $NB_UID ```" msgstr "" -#: ../../using/recipes.md:271 589f8904271d4c5bad545084b8bd52a1 +#: ../../using/recipes.md:265 c7778c56ac9343b09c63759163b0c7f3 msgid "" "Adding the documentation on top of an existing singleuser image wastes a " "lot of space and requires reinstalling every system package, which can " "take additional time and bandwidth; the `datascience-notebook` image has " "been shown to grow by almost 3GB when adding manapages in this way. " -"Enabling manpages in the base Ubuntu layer prevents this container bloat:" +"Enabling manpages in the base Ubuntu layer prevents this container bloat." +" Just use previous `Dockerfile` with original ubuntu image as your base " +"container:" msgstr "" -#: ../../using/recipes.md:276 debaba70338f43faabc16db4179f34a7 +#: ../../using/recipes.md:271 7da1f1fca55b4d109f366952486ffda7 msgid "" -"```Dockerfile # Ubuntu 18.04 (bionic) from 2018-05-26 # " -"https://github.com/docker-library/official-" -"images/commit/aac6a45b9eb2bffb8102353c350d341a410fb169 ARG " -"BASE_CONTAINER=ubuntu:bionic-20180526@sha256:c8c275751219dadad8fa56b3ac41ca6cb22219ff117ca98fe82b42f24e1ba64e" -" FROM $BASE_CONTAINER" +"```dockerfile # Ubuntu 20.04 (focal) from 2020-04-23 # https://github.com" +"/docker-library/official-" +"images/commit/4475094895093bcc29055409494cce1e11b52f94 ARG " +"BASE_CONTAINER=ubuntu:focal-20200423@sha256:238e696992ba9913d24cfc3727034985abd136e08ee3067982401acdc30cbf3f" +" ```" msgstr "" -#: ../../using/recipes.md:282 0a816364c7ab4c3dbf8e999a34ed695d +#: ../../using/recipes.md:277 8d5cba4f059a47e1b832a3a050615725 msgid "" -"ENV DEBIAN_FRONTEND noninteractive # Remove the manpage blacklist, " -"install man, install docs RUN rm /etc/dpkg/dpkg.cfg.d/excludes \\" +"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 # " +"https://git.savannah.gnu.org/cgit/man-" +"db.git/commit/?id=8197d7824f814c5d4b992b4c8730b5b0f7ec589a # " +"http://launchpadlibrarian.net/435841763/man-db_2.8.5-2_2.8.6-1.diff.gz" msgstr "" -#: ../../using/recipes.md:290 e3de066236704f3b97170051ac66f557 +#: ../../using/recipes.md:284 2d66c2c4494c453599cdb1f8e62f839b msgid "" -"# Workaround for a mandb bug, should be fixed in mandb > 2.8.5 # " -"https://git.savannah.gnu.org/cgit/man-" -"db.git/commit/?id=8197d7824f814c5d4b992b4c8730b5b0f7ec589a RUN echo " -"\"MANPATH_MAP /opt/conda/bin /opt/conda/man\" >> /etc/manpath.config \\" +"RUN echo \"MANPATH_MAP ${CONDA_DIR}/bin ${CONDA_DIR}/man\" >> " +"/etc/manpath.config \\" msgstr "" -#: ../../using/recipes.md:293 a9a630f5cf3e4afc810f1415a2778f8d +#: ../../using/recipes.md:283 6e67eaa8db85442ba788a5528be32921 msgid "" -"&& echo \"MANPATH_MAP /opt/conda/bin /opt/conda/share/man\" >> " -"/etc/manpath.config" +"&& echo \"MANPATH_MAP ${CONDA_DIR}/bin ${CONDA_DIR}/share/man\" >> " +"/etc/manpath.config \\ && mandb" msgstr "" -#: ../../using/recipes.md:296 142bd6ae68364038b3953ca9c74eacd9 +#: ../../using/recipes.md:288 7a20b6c14ce7439fb76e3ced2134df33 msgid "" "Be sure to check the current base image in `base-notebook` before " "building." msgstr "" -#: ../../using/recipes.md:298 603989aebcd641f888468944d7879731 +#: ../../using/recipes.md:290 5fc897b3f5054179a9e1d0edeca3522c msgid "## JupyterHub" msgstr "" # af0ca920391b419b805ae3809388fcf2 -#: ../../using/recipes.md:300 662b7a0ad76e48c98233f1e37b84fa4f +#: ../../using/recipes.md:292 69645b9e1d8d4219bbf83aea33bda7f4 msgid "We also have contributed recipes for using JupyterHub." msgstr "" -#: ../../using/recipes.md:302 9a90c6a278824044a41b3210a565a11a +#: ../../using/recipes.md:294 e3edf5bbcc8e4bd78202b697b7d1e0e2 msgid "### Use JupyterHub's dockerspawner" msgstr "" # 81e1dbb4c1c34f4c9e88630adff3d1e9 -#: ../../using/recipes.md:304 64d357ba13fd4614bd6daa4704b45497 +#: ../../using/recipes.md:296 2fa3e9d42da24d20a637909b7afcae36 msgid "" "In most cases for use with DockerSpawner, given any image that already " "has a notebook stack set up, you would only need to add:" msgstr "" # 837b7a2dac01402e8cd2cc398bd5d785 -#: ../../using/recipes.md:307 a77b53d8d6ea4b948702ee79695ddf63 +#: ../../using/recipes.md:299 132ff5b8e3e7459994c004858a01f3c9 msgid "install the jupyterhub-singleuser script (for the right Python)" msgstr "" # d9816cb5ae2041e2a5fde9cdfb91262f -#: ../../using/recipes.md:308 76abe41e941444a09b12993a55a414fc +#: ../../using/recipes.md:300 cdae1642040e49b795fd2c0197612917 msgid "change the command to launch the single-user server" msgstr "" -#: ../../using/recipes.md:310 217b986ac31a4622b96ee2b4d0f242e3 +#: ../../using/recipes.md:302 af957d698a16405ba5a264e9494a19f3 msgid "" "Swapping out the `FROM` line in the `jupyterhub/singleuser` Dockerfile " "should be enough for most cases." msgstr "" -#: ../../using/recipes.md:313 53c823800a4e4c01853ca5a9dfd5beb8 +#: ../../using/recipes.md:305 cd27c6e7c825451fb1b32a424620c391 msgid "" "Credit: [Justin Tyberg](https://github.com/jtyberg), " "[quanghoc](https://github.com/quanghoc), and [Min " @@ -987,99 +974,99 @@ msgid "" "stacks/pull/185)" msgstr "" -#: ../../using/recipes.md:318 e410c92fadc94b85b0fb7368b95b98e5 +#: ../../using/recipes.md:310 0bbdb5e0932a407486f04355a1d18b30 msgid "### Containers with a specific version of JupyterHub" msgstr "" -#: ../../using/recipes.md:320 b448360b460b46b78ae8c985b5235a5b +#: ../../using/recipes.md:312 956ff91994a74df3b16b35fc12b42e61 msgid "" "To use a specific version of JupyterHub, the version of `jupyterhub` in " "your image should match the version in the Hub itself." msgstr "" -#: ../../using/recipes.md:323 30b4d046344144a392ef97f8ab8a0782 +#: ../../using/recipes.md:315 986cc77a35ae4555bf9c0fa48b58ab4f msgid "" "```dockerfile FROM jupyter/base-notebook:5ded1de07260 RUN pip install " "jupyterhub==0.8.0b1 ```" msgstr "" -#: ../../using/recipes.md:328 78f7dbbc99f94c66b9b95d4f4b838424 +#: ../../using/recipes.md:320 bd5dd45b567a41f297efab3cb42c3704 msgid "" "Credit: [MinRK](https://github.com/jupyter/docker-" "stacks/issues/423#issuecomment-322767742)" msgstr "" -#: ../../using/recipes.md:330 1af8f7e1f4fa40b3aa774df4ecd0e66a +#: ../../using/recipes.md:322 f9e725bc95e54e22a6178bc2e2ada5cd msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/177](https://github.com/jupyter/docker-stacks/issues/177)" msgstr "" -#: ../../using/recipes.md:333 f8c0782f82a14ee6a05e52c4ca26dc30 +#: ../../using/recipes.md:325 49842fca496c453c9d1a1d5f05876d8c msgid "## Spark" msgstr "" # 975c96d6a0b843dfabd889c753671c93 -#: ../../using/recipes.md:335 abb1991b64ed403e8fae8a9eb2bb85e7 +#: ../../using/recipes.md:327 94885138835d4342b2cc9c348191a988 msgid "A few suggestions have been made regarding using Docker Stacks with spark." msgstr "" -#: ../../using/recipes.md:337 730bc166e6364b9eb75ee9a035204dca +#: ../../using/recipes.md:329 c7db10a7f5e34263b1c3e45a105982bf msgid "### Using PySpark with AWS S3" msgstr "" # dc4059d42eaa495f8ebca84ebc91ac09 -#: ../../using/recipes.md:339 57c8d1515f9245e5bb5fa34349533ebb +#: ../../using/recipes.md:331 c4c5c85cdb2c43f8b5de4c5dbaea1a4c msgid "Using Spark session for hadoop 2.7.3" msgstr "" -#: ../../using/recipes.md:341 e636244c00b14c0e89a57d014471eb33 +#: ../../using/recipes.md:333 c4217197b41c4505b9b384ecb3ba6ca8 msgid "" "```py import os # !ls /usr/local/spark/jars/hadoop* # to figure out what " "version of hadoop os.environ['PYSPARK_SUBMIT_ARGS'] = '--packages " "\"org.apache.hadoop:hadoop-aws:2.7.3\" pyspark-shell'" msgstr "" -#: ../../using/recipes.md:346 f841f9224a114e51a1d694f0e12af734 +#: ../../using/recipes.md:338 4a72a66be5d44407b8222fe21dd754c6 msgid "import pyspark myAccessKey = input() mySecretKey = input()" msgstr "" -#: ../../using/recipes.md:354 63441acdb00d43f49c9f6efe36fb711f +#: ../../using/recipes.md:346 df394ed3677f417b89f2d1f15924f5e3 msgid "spark = pyspark.sql.SparkSession.builder \\" msgstr "" -#: ../../using/recipes.md:351 98e22064f30445258e969f5f7c763f19 +#: ../../using/recipes.md:343 164747fd990e4e8787aa4114bb75c71b msgid "" ".master(\"local[*]\") \\ .config(\"spark.hadoop.fs.s3a.access.key\", " "myAccessKey) \\ .config(\"spark.hadoop.fs.s3a.secret.key\", mySecretKey) " "\\ .getOrCreate()" msgstr "" -#: ../../using/recipes.md:356 bf743f4e0b194ebb993f3d21f356116f +#: ../../using/recipes.md:348 f1b202dd6a344c35b3d8afb3ff60d7e1 msgid "df = spark.read.parquet(\"s3://myBucket/myKey\") ```" msgstr "" # d2c12e3525bf4d9ca518fef02c4a79d3 -#: ../../using/recipes.md:359 f89091de69c24a55b51078d9e5d51c1d +#: ../../using/recipes.md:351 6ea834f6a6e04db6947c7b1cf65f4de8 msgid "Using Spark context for hadoop 2.6.0" msgstr "" -#: ../../using/recipes.md:361 6be516c29d1e4a219f1c4317f7a9cdc8 +#: ../../using/recipes.md:353 7b801a318b0549488f368e022db6b08e msgid "" "```py import os os.environ['PYSPARK_SUBMIT_ARGS'] = '--packages " "com.amazonaws:aws-java-sdk:1.10.34,org.apache.hadoop:hadoop-aws:2.6.0 " "pyspark-shell'" msgstr "" -#: ../../using/recipes.md:365 82d7b91f2d3141a6b1574ad0db249a3e +#: ../../using/recipes.md:357 9ab63a64b9694ac2b086c10d557f610e msgid "import pyspark sc = pyspark.SparkContext(\"local[*]\")" msgstr "" -#: ../../using/recipes.md:368 5353ffbba1e24fb4ad4651a83fc968c9 +#: ../../using/recipes.md:360 e5fa8aae5c2841c5b0a95fa939a7a7bf msgid "from pyspark.sql import SQLContext sqlContext = SQLContext(sc)" msgstr "" -#: ../../using/recipes.md:371 bee63a97f69442178f4e5b3aa9169d43 +#: ../../using/recipes.md:363 33a4652a63eb449c81e856760f59561a msgid "" "hadoopConf = sc._jsc.hadoopConfiguration() myAccessKey = input() " "mySecretKey = input() hadoopConf.set(\"fs.s3.impl\", " @@ -1088,21 +1075,21 @@ msgid "" "hadoopConf.set(\"fs.s3.awsSecretAccessKey\", mySecretKey)" msgstr "" -#: ../../using/recipes.md:378 fba633f930c24fe29949189beeb4e1d7 +#: ../../using/recipes.md:370 82bf6b7e3b4e4741bf96f3f9dfc8538e msgid "df = sqlContext.read.parquet(\"s3://myBucket/myKey\") ```" msgstr "" -#: ../../using/recipes.md:381 0f76aa0d062a4430b117186033c53e98 +#: ../../using/recipes.md:373 383c2459ec7341e8b5f306da7ab0f36d msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/127](https://github.com/jupyter/docker-stacks/issues/127)" msgstr "" -#: ../../using/recipes.md:384 9beef95c772f4dc898fac73fd8fd7ee0 +#: ../../using/recipes.md:376 7e3408e9abf24986a05ca47766cf381d msgid "### Using Local Spark JARs" msgstr "" -#: ../../using/recipes.md:386 6aafc354c7f94d5c95b99cbd82d640e8 +#: ../../using/recipes.md:378 30b35ba8c2184b93a2d2bedefbbd6725 msgid "" "```python import os os.environ['PYSPARK_SUBMIT_ARGS'] = '--jars " "/home/jovyan/spark-streaming-kafka-assembly_2.10-1.6.1.jar pyspark-shell'" @@ -1114,17 +1101,17 @@ msgid "" "ssc.start() ```" msgstr "" -#: ../../using/recipes.md:400 ce5619f2761a41d483b1282e9149aeef +#: ../../using/recipes.md:392 130466f074be4e58b88aaced8068281e msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/154](https://github.com/jupyter/docker-stacks/issues/154)" msgstr "" -#: ../../using/recipes.md:403 514dc23a80bb4ab892cd19461069b0fd +#: ../../using/recipes.md:395 e68dcf1be21847d283637bd68c5440be msgid "### Using spark-packages.org" msgstr "" -#: ../../using/recipes.md:405 ab0891c4ae0449cd934c08ec48fa1768 +#: ../../using/recipes.md:397 bbcd46e02d7b406d985ca687fde0d72f msgid "" "If you'd like to use packages from [spark-packages.org](https://spark-" "packages.org/), see " @@ -1133,21 +1120,21 @@ msgid "" "environment before creating a SparkContext." msgstr "" -#: ../../using/recipes.md:410 db2c77dbd46a4fbcb65e33fd5f5981c5 +#: ../../using/recipes.md:402 40087bacce0b4e2cb730c5d0fdf1e0ef msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/43](https://github.com/jupyter/docker-stacks/issues/43)" msgstr "" -#: ../../using/recipes.md:413 a8f5f58cbf1e424fb11139f2568b29fb +#: ../../using/recipes.md:405 343c776b81f34c5c9317fe3371e43477 msgid "### Use jupyter/all-spark-notebooks with an existing Spark/YARN cluster" msgstr "" -#: ../../using/recipes.md:415 3a0c284737284e1790239e6810e5da5a +#: ../../using/recipes.md:407 08dd7dd934c444d4b9774ef67a9ef5e2 msgid "```dockerfile FROM jupyter/all-spark-notebook" msgstr "" -#: ../../using/recipes.md:418 b28430ade5894185bf180dab4fe60cec +#: ../../using/recipes.md:410 dfe5de3fb7bc4d37b18b67f92851dc47 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 " @@ -1155,14 +1142,14 @@ msgid "" "/usr/local/hadoop-2.7.3/etc/hadoop" msgstr "" -#: ../../using/recipes.md:424 bb664c6208694060ae73575baa1b0717 +#: ../../using/recipes.md:416 16fb6bcc9bef4cfbbf44041f67e65a47 msgid "" "USER root # Add proper open-jdk-8 not just the jre, needed for pydoop RUN" " echo 'deb http://cdn-fastly.deb.debian.org/debian jessie-backports main'" " > /etc/apt/sources.list.d/jessie-backports.list && \\" msgstr "" -#: ../../using/recipes.md:427 1a08ac7d492a4fcbb95dcca92f44c484 +#: ../../using/recipes.md:419 f6b9870c5b0d460d8e96c16a10a09b36 msgid "" "apt-get -y update && \\ apt-get install --no-install-recommends -t " "jessie-backports -y openjdk-8-jdk && \\ rm /etc/apt/sources.list.d" @@ -1170,11 +1157,11 @@ msgid "" "/var/lib/apt/lists/ && \\" msgstr "" -#: ../../using/recipes.md:435 950f3a146d5b48d78da728a8026c40d7 +#: ../../using/recipes.md:427 e915ef0ef6ef433f830283af85d3abc5 msgid "# Add hadoop binaries" msgstr "" -#: ../../using/recipes.md:433 31dcd1a543454e26af50cefe954f7ee8 +#: ../../using/recipes.md:425 3e368946f08f44748f42dc7ac30e7cb7 msgid "" "wget " "http://mirrors.ukfast.co.uk/sites/ftp.apache.org/hadoop/common/hadoop-2.7.3/hadoop-2.7.3.tar.gz" @@ -1183,41 +1170,41 @@ msgid "" " \\" msgstr "" -#: ../../using/recipes.md:440 f93aa2cddb7742b29d3cd2467eb6f614 +#: ../../using/recipes.md:432 d117bb47329f418b9aa59e12e473a71f msgid "# Install os dependencies required for pydoop, pyhive" msgstr "" -#: ../../using/recipes.md:438 3727f7ff149e494a9b4ff5dc30a67920 +#: ../../using/recipes.md:430 65ce38aaa23e43cd926d0850c3f22882 msgid "" "apt-get update && \\ apt-get install --no-install-recommends -y build-" "essential python-dev libsasl2-dev && \\ apt-get clean && \\ rm -rf " "/var/lib/apt/lists/* && \\" msgstr "" -#: ../../using/recipes.md:442 5182a3ac947c4702acb1bdfae8b92fda +#: ../../using/recipes.md:434 cbd6ed0daed54acb859d4d16bce489e9 msgid "" "# Remove the example hadoop configs and replace # with those for our " "cluster. # Alternatively this could be mounted as a volume" msgstr "" -#: ../../using/recipes.md:445 64b7674e46f941e09904234e79d159b1 +#: ../../using/recipes.md:437 fe431f7345d64ff297a22488373f8e3d msgid "rm -f /usr/local/hadoop-2.7.3/etc/hadoop/*" msgstr "" -#: ../../using/recipes.md:447 e39ac8d7cb70440bbb9936fceddb3929 +#: ../../using/recipes.md:439 fb3c97b69b9f47d0aaa4e87c4e720965 msgid "" "# Download this from ambari / cloudera manager and copy here COPY " "example-hadoop-conf/ /usr/local/hadoop-2.7.3/etc/hadoop/" msgstr "" -#: ../../using/recipes.md:450 07cb7a3a10ee4d3f8c58858cff2dd154 +#: ../../using/recipes.md:442 ef9b0269aa73435d90016bf986891091 msgid "" "# Spark-Submit doesn't work unless I set the following RUN echo " "\"spark.driver.extraJavaOptions -Dhdp.version=2.5.3.0-37\" >> " "/usr/local/spark/conf/spark-defaults.conf && \\" msgstr "" -#: ../../using/recipes.md:452 de969ee1eb3d46838fdfa9b62b686821 +#: ../../using/recipes.md:444 1941c68031ca4141b0a97b5660a3c42d msgid "" "echo \"spark.yarn.am.extraJavaOptions -Dhdp.version=2.5.3.0-37\" >> " "/usr/local/spark/conf/spark-defaults.conf && \\ echo " @@ -1230,25 +1217,25 @@ msgid "" "/etc/hadoop/conf/" msgstr "" -#: ../../using/recipes.md:461 ../../using/recipes.md:509 -#: 6cc3ce37523347e89d31b919feae4b14 f84f5a6d595a40e796304a6269f031e5 +#: ../../using/recipes.md:453 ../../using/recipes.md:501 +#: 3cf5ae86704f46ab902184846ae5ff1e eb7ab2475aca4314a409c59781947dd1 msgid "USER $NB_USER" msgstr "" -#: ../../using/recipes.md:463 83a0a59eb52d4d6f83da5b3233e1f981 +#: ../../using/recipes.md:455 26489b4be83140169c53d134c34ce8f3 msgid "" "# Install useful jupyter extensions and python libraries like : # - " "Dashboards # - PyDoop # - PyHive RUN pip install jupyter_dashboards faker" " && \\" msgstr "" -#: ../../using/recipes.md:468 e75244b4f0e54dc68b7573d8a84949c3 +#: ../../using/recipes.md:460 e9170085d56d4d6eaad67bde84587e80 msgid "" "jupyter dashboards quick-setup --sys-prefix && \\ pip2 install pyhive " "pydoop thrift sasl thrift_sasl faker" msgstr "" -#: ../../using/recipes.md:471 a190849c5bec4485b255191e91fc7eb4 +#: ../../using/recipes.md:463 168264f7c0294d5dada9966f046ad37a msgid "" "USER root # Ensure we overwrite the kernel config so that toree connects " "to cluster RUN jupyter toree install --sys-prefix --spark_opts=\"--master" @@ -1257,25 +1244,25 @@ msgid "" "spark.hadoop.yarn.timeline-service.enabled=false\" USER $NB_USER ```" msgstr "" -#: ../../using/recipes.md:477 fc12ed70147040ceb8a3ce7b3f4fdbf9 +#: ../../using/recipes.md:469 7534cc9bb3ac4cb48ba1bf986371ba15 msgid "" "Credit: [britishbadger](https://github.com/britishbadger) from [docker-" "stacks/issues/369](https://github.com/jupyter/docker-stacks/issues/369)" msgstr "" -#: ../../using/recipes.md:480 4a56210d2c794090b8784847b6b48582 +#: ../../using/recipes.md:472 21d55126f3b94e149a6de8f9fd6434b1 msgid "" "## Run Jupyter Notebook/Lab inside an already secured environment (i.e., " "with no token)" msgstr "" -#: ../../using/recipes.md:482 257872c5330a4331a890336759498a80 +#: ../../using/recipes.md:474 90bd902f59df42f99ed887d5612ca9e0 msgid "" "(Adapted from [issue 728](https://github.com/jupyter/docker-" "stacks/issues/728))" msgstr "" -#: ../../using/recipes.md:484 106420a4b3fd4bb6adef68c1d5da75ef +#: ../../using/recipes.md:476 3fcf1aed19c04609bc85a12998bf0778 msgid "" "The default security is very good. There are use cases, encouraged by " "containers, where the jupyter container and the system it runs within, " @@ -1285,131 +1272,131 @@ msgid "" msgstr "" # 7476a6d5eae74ecaae966e56390c096e -#: ../../using/recipes.md:489 42a3d9dc7bb04bff97a246ec139c6524 +#: ../../using/recipes.md:481 909ada0ab5b84baba8507ad6bdec6540 msgid "For jupyterlab:" msgstr "" -#: ../../using/recipes.md:491 731da51a54cf426da312898c6ab0add3 +#: ../../using/recipes.md:483 803197e28ccf41699e39c139e457eff4 msgid "" "```bash docker run jupyter/base-notebook:6d2a05346196 start.sh jupyter " "lab --LabApp.token='' ```" msgstr "" # f2efc5a0ba6b4c53b2047cc5f22bdbaa -#: ../../using/recipes.md:495 c328029151ac4339ac59e617c631ca39 +#: ../../using/recipes.md:487 a6d0da6e28574ae89f15a50e38b5a913 msgid "For jupyter classic:" msgstr "" -#: ../../using/recipes.md:497 72e89f750a914d12a844831e8577ef6c +#: ../../using/recipes.md:489 47c9023f48834bd3bee37303ebe07c28 msgid "" "```bash docker run jupyter/base-notebook:6d2a05346196 start.sh jupyter " "notebook --NotebookApp.token='' ```" msgstr "" -#: ../../using/recipes.md:501 683cf71019bc4dacad1a127258702abe +#: ../../using/recipes.md:493 3e9b274c3f7349378fee021060309171 msgid "## Enable nbextension spellchecker for markdown (or any other nbextension)" msgstr "" # 8ccfbcb4264f48d0b6709fe81aa0a86d -#: ../../using/recipes.md:503 34f8b4b363144362aafd150ee7ad3197 +#: ../../using/recipes.md:495 ef44a45a4f0c46528523786fb817869f msgid "NB: this works for classic notebooks only" msgstr "" -#: ../../using/recipes.md:505 0102d37daef74f0e93a6b30fd0ae85e9 +#: ../../using/recipes.md:497 9c5eb5b8755146bc917a067083b6bbb7 msgid "" "```dockerfile # Update with your base image of choice FROM jupyter" "/minimal-notebook:latest" msgstr "" -#: ../../using/recipes.md:513 b79ae2ee8c9b409f9c32a7cc9abe385e +#: ../../using/recipes.md:505 567d13fe640a4c5c9c5f09c9face761f msgid "RUN pip install jupyter_contrib_nbextensions && \\" msgstr "" -#: ../../using/recipes.md:512 52f861159afd4d83b376b98c672fb649 +#: ../../using/recipes.md:504 144d50652efa4b67ba26cd214197bc5b msgid "" "jupyter contrib nbextension install --user && \\ # can modify or enable " "additional extensions here jupyter nbextension enable spellchecker/main " "--user" msgstr "" -#: ../../using/recipes.md:517 ab8e7c8410e04a37b7d7efc18523597a +#: ../../using/recipes.md:509 bc0dc1bc24ee447a844d1433a965fe03 msgid "" "Ref: [https://github.com/jupyter/docker-" "stacks/issues/675](https://github.com/jupyter/docker-stacks/issues/675)" msgstr "" -#: ../../using/recipes.md:520 2f5fe12be14141dca2b3e2ea7f451b3c +#: ../../using/recipes.md:512 3cc93b42d7e244adbda207b04ddc2d23 msgid "## Enable auto-sklearn notebooks" msgstr "" -#: ../../using/recipes.md:522 de81544a68b547efabe34bf11ec51e01 +#: ../../using/recipes.md:514 2bb3675f92d1436e8b78cea1e0861415 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:524 f6fe29aeaf634e88b6557cdfb63132aa +#: ../../using/recipes.md:516 7062456963ba47a481e7408cf45cc72a msgid "" "```dockerfile ARG BASE_CONTAINER=jupyter/scipy-notebook FROM jupyter" "/scipy-notebook:latest" msgstr "" -#: ../../using/recipes.md:530 2a8a79d6c19e49349db243d8570875c3 +#: ../../using/recipes.md:522 696ae7ce535348adbbe291f136bcb118 msgid "" "# autosklearn requires swig, which no other image has RUN apt-get update " "&& \\" msgstr "" -#: ../../using/recipes.md:532 49e182a5799347b2ad51f8dafe4b3dad +#: ../../using/recipes.md:524 d10c2f115bca46bf8e49ef2bb03a7944 msgid "" "apt-get install -y --no-install-recommends swig && \\ apt-get clean && \\" " rm -rf /var/lib/apt/lists/*" msgstr "" -#: ../../using/recipes.md:537 a96cc3264c244776891d93bd37819bce +#: ../../using/recipes.md:529 8036db7611af4002a454528bb7f24024 msgid "USER $NB_UID" msgstr "" -#: ../../using/recipes.md:539 b2e743438072494983850e5199b079d6 +#: ../../using/recipes.md:531 bd8831eee44c4093a0b41ed04c86a745 msgid "RUN pip install --quiet --no-cache-dir auto-sklearn ```" msgstr "" -#: ../../using/running.md:1 726d980271c04bff80b6c44317ee1d00 +#: ../../using/running.md:1 eda500d8854d488188403fff8c8e9b00 msgid "# Running a Container" msgstr "" # 1f345e7a53e94439b936b3f4bbc877da # 324906e630c646b0ae10bbff6ed587fa #: ../../using/running.md:3 ../../using/selecting.md:7 -#: d064f431167b4801b256b475292cea69 ec30e2f6afc64f6ea331c7020ef642ce +#: 57ff8c78bfd84533bdf9144b516e7514 aacb1b178ff44ed7ac019e83caa390a0 msgid "Using one of the Jupyter Docker Stacks requires two choices:" msgstr "" # 781cbaffaea24fb08451cc83327cfa9b # 1c6c83776a3b4a27a8ed4128a0dceeb7 #: ../../using/running.md:5 ../../using/selecting.md:9 -#: 35ebbb6351c44ba08239b3f7fa25ba5a c108cba8d7b841f080f620d5483782e9 +#: 86527e143c3f4294b20e2e34d00c2361 c56c5d5b852b451ab89c27c2712c19a5 msgid "Which Docker image you wish to use" msgstr "" # 632f67c9207e4ed9ba01bf59c4d942f7 # ab191cfc95204429b7c0271ecdf69d33 #: ../../using/running.md:6 ../../using/selecting.md:10 -#: 87063d891a0541d9b598ea001a28e61b ce3a9073d81448ed8cb8eb9261759806 +#: 0eced5b9b228406caf50a85f92e47a89 68ee89c635c441389b25f53f3294dbfc msgid "How you wish to start Docker containers from that image" msgstr "" # ebf870aa1ede4e2ab8fdcb2cef0fd610 -#: ../../using/running.md:8 c007379f1a7c4039b52b4823602913c0 +#: ../../using/running.md:8 21d9985262bc414ca23fc1b24453d69d msgid "This section provides details about the second." msgstr "" -#: ../../using/running.md:10 3a026d3e72c246fa8b40ab2fce61d3ae +#: ../../using/running.md:10 a89d43fad4aa43e38e442ffce7b6f4bd msgid "## Using the Docker CLI" msgstr "" -#: ../../using/running.md:12 54100495725c4e5d8c3a7c57620cb2a8 +#: ../../using/running.md:12 e03936442ae14353b579975e63c9d8e5 msgid "" "You can launch a local Docker container from the Jupyter Docker Stacks " "using the [Docker command line " @@ -1418,7 +1405,7 @@ msgid "" "following are some common patterns." msgstr "" -#: ../../using/running.md:14 be606cded7464456b18a8fc080f46866 +#: ../../using/running.md:14 dde135dac1e6424784585012ed65b914 msgid "" "**Example 1** This command pulls the `jupyter/scipy-notebook` image " "tagged `2c80cf3537ca` from Docker Hub if it is not already present on the" @@ -1427,11 +1414,11 @@ msgid "" "terminal and include a URL to the notebook server." msgstr "" -#: ../../using/running.md:16 be8877b13f7644fca16bca8c983eb792 +#: ../../using/running.md:16 8981d0a442344b879e5b9022b461b448 msgid "``` docker run -p 8888:8888 jupyter/scipy-notebook:2c80cf3537ca" msgstr "" -#: ../../using/running.md:19 1ff25b14c0b74de0b7f2f715e6a30946 +#: ../../using/running.md:19 1530f91f180e4634844fed3c06308c5d msgid "" "Executing the command: jupyter notebook [I 15:33:00.567 NotebookApp] " "Writing notebook server cookie secret to " @@ -1451,25 +1438,25 @@ msgid "" msgstr "" #: ../../using/running.md:31 ../../using/running.md:72 -#: ../../using/running.md:94 aa37917869f54c55af3d60e65f6fc94c -#: c2413f673d7e4061b27a4d6434dfcba7 f84e65abf96c4468acb06371b645ee55 +#: ../../using/running.md:94 069142429bb14344acdcf36ed2582ce8 +#: 0bfc7730fa744527aef10b2f4d9e3d8c 7164edd6b53446e18a24662c6df186bd 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 a2b03d22f56e4ab0955cefd8101bcdc6 +#: ../../using/running.md:33 12fd5a4a846d4c308365d5fde34e79ff msgid "http://localhost:8888/?token=112bb073331f1460b73768c76dffb2f87ac1d4ca7870d46a" msgstr "" -#: ../../using/running.md:36 eeb2a9fb77094a90848e894b4c0efb54 +#: ../../using/running.md:36 8d390a4d52164b6b8ef7235a3fae1124 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 11ee93637336450c9540a7adfa2502b9 +#: ../../using/running.md:38 bf694cedb6554cb19329fd97fdf76d19 msgid "" "``` # list containers docker ps -a CONTAINER ID IMAGE" " COMMAND CREATED STATUS" @@ -1478,7 +1465,7 @@ msgid "" "Exited (0) 39 seconds ago cocky_mirzakhani" msgstr "" -#: ../../using/running.md:44 db84b2a128d3400bb674438e0e8969bb +#: ../../using/running.md:44 7c422e991617419ab2b6bdff11f07268 msgid "" "# start the stopped container docker start -a d67fe77f1a84 Executing the " "command: jupyter notebook [W 16:45:02.020 NotebookApp] WARNING: The " @@ -1486,11 +1473,11 @@ msgid "" "encryption. This is not recommended. ..." msgstr "" -#: ../../using/running.md:50 03087a34fd2e4c4d87f33d7f69ff396f +#: ../../using/running.md:50 e79ff08332ec49c9b040a7b49b0811ec msgid "# remove the stopped container docker rm d67fe77f1a84 d67fe77f1a84 ```" msgstr "" -#: ../../using/running.md:55 103b7b7ae2d146b18f20f2841ab6df74 +#: ../../using/running.md:55 009f1af510c3469784abbd1136933d1a 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 " @@ -1500,13 +1487,13 @@ msgid "" "container port (8888) instead of the the correct host port (10000)." msgstr "" -#: ../../using/running.md:57 c67fac40fb2c4ea7b0a8f179009eee24 +#: ../../using/running.md:57 8f4d78bb6e0e4d97ba30b14cf8e5fad6 msgid "" "``` docker run --rm -p 10000:8888 -v \"$PWD\":/home/jovyan/work " "jupyter/r-notebook:e5c5a7d3e52d" msgstr "" -#: ../../using/running.md:60 d035c1f91c474202862f8fb2ab52e431 +#: ../../using/running.md:60 e6aa2cafa2574993bcd8eee2422e98de msgid "" "Executing the command: jupyter notebook [I 19:31:09.573 NotebookApp] " "Writing notebook server cookie secret to " @@ -1525,18 +1512,18 @@ msgid "" " all kernels (twice to skip confirmation). [C 19:31:12.122 NotebookApp]" msgstr "" -#: ../../using/running.md:74 913460717f784baf818a8f1952c189ba +#: ../../using/running.md:74 b2d88b6396784bada8b7715f00984b1b msgid "http://localhost:8888/?token=3b8dce890cb65570fb0d9c4a41ae067f7604873bd604f5ac" msgstr "" -#: ../../using/running.md:77 35dbc6e14fce4858822197f0c2efd470 +#: ../../using/running.md:77 e6eaf73491f546c18445ec217e5fa2ec 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 3ccc25646b28417e879a527ff60f1c08 +#: ../../using/running.md:79 ace61bcff04b4c4e8ebd4966e914a4ac msgid "" "**Example 3** This command pulls the `jupyter/all-spark-notebook` image " "currently tagged `latest` from Docker Hub if an image tagged `latest` is " @@ -1545,33 +1532,33 @@ msgid "" "randomly selected port." msgstr "" -#: ../../using/running.md:81 362344ad54a545c39bbef10d6c06b3fb +#: ../../using/running.md:81 88c8861f0a684512988537aa5415513c msgid "``` docker run -d -P --name notebook jupyter/all-spark-notebook ```" msgstr "" # 9a561b9bb5944059801c71862521d66a -#: ../../using/running.md:85 f46251d6497c4d5286b966490e5a6dcf +#: ../../using/running.md:85 14597c6cecd04a5e86f31143f1c3a328 msgid "" "The assigned port and notebook server token are visible using other " "Docker commands." msgstr "" -#: ../../using/running.md:87 bd1f9e0cea554aa39f74d8a4f946d762 +#: ../../using/running.md:87 334e528dca124ee0b4279c8e355047e1 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 44696f4fda86408fac02018e0881374b +#: ../../using/running.md:92 db0f0f2539394fa9b7eb80cdcd7668b1 msgid "# get the notebook token from the logs docker logs --tail 3 notebook" msgstr "" -#: ../../using/running.md:96 30ea308afb8e43d6a51d9b1d76f066e4 +#: ../../using/running.md:96 e4d3b41db69e42ba9c4968aae77b7fdf msgid "http://localhost:8888/?token=15914ca95f495075c0aa7d0e060f1a78b6d94f70ea373b00" msgstr "" # c4bc333e19324e2a93118e21b1f8f360 -#: ../../using/running.md:99 7af67a2bebb946a98373f88ab0f75714 +#: ../../using/running.md:99 7008bbdbfa9649bdab7f868062b7566b msgid "" "Together, the URL to visit on the host machine to access the server in " "this case is " @@ -1579,25 +1566,25 @@ msgid "" msgstr "" # bf82931e197b40ad940d9969993120a2 -#: ../../using/running.md:101 bf8b0b86266a400d88b787a29a00bb23 +#: ../../using/running.md:101 a489ce1e24204ae9a664558296ba0ffc msgid "" "The container runs in the background until stopped and/or removed by " "additional Docker commands." msgstr "" -#: ../../using/running.md:103 8a7ddac0f65b4370ac61b5b533e0248a +#: ../../using/running.md:103 439dd4cd3b6a49439cc73302e7bdd294 msgid "``` # stop the container docker stop notebook notebook" msgstr "" -#: ../../using/running.md:108 ecf579460b6a447eb9e95a0dcb56bb87 +#: ../../using/running.md:108 160c5c20d1574747b1d22c4302ebc4cb msgid "# remove the container permanently docker rm notebook notebook ```" msgstr "" -#: ../../using/running.md:113 f99db85b21014245bbcfd02afd1b61e2 +#: ../../using/running.md:113 a3608ac8532a448589d596b48cdc720e msgid "## Using Binder" msgstr "" -#: ../../using/running.md:115 0ccd7cf4e3704476b573a14ecd705913 +#: ../../using/running.md:115 ba0b4e0a8a024a2b97ce201e987b599b msgid "" "[Binder](https://mybinder.org/) is a service that allows you to create " "and share custom computing environments for projects in version control. " @@ -1611,11 +1598,11 @@ msgid "" "instructions." msgstr "" -#: ../../using/running.md:117 aa0504dd43b4418d9f68fbe748876504 +#: ../../using/running.md:117 af9397c2b565472ab495ef19658ac2c3 msgid "## Using JupyterHub" msgstr "" -#: ../../using/running.md:119 b0cfb94128fb46ea9386d8908a6ed246 +#: ../../using/running.md:119 bf0ad79a3e0640c394bbaa9112e20968 msgid "" "You can configure JupyterHub to launcher Docker containers from the " "Jupyter Docker Stacks images. If you've been following the [Zero to " @@ -1629,11 +1616,11 @@ msgid "" "[dockerspawner](https://github.com/jupyterhub/dockerspawner) instead." msgstr "" -#: ../../using/running.md:121 d25d73f3ac1c47209a6b35dfc38ed903 +#: ../../using/running.md:121 5b4b1004772f45b5aea73d157b78a218 msgid "## Using Other Tools and Services" msgstr "" -#: ../../using/running.md:123 2d597ff6dcdd42aabf43f11ffceb1f83 +#: ../../using/running.md:123 029db691322546118d6919bffbc1a978 msgid "" "You can use the Jupyter Docker Stacks with any Docker-compatible " "technology (e.g., [Docker Compose](https://docs.docker.com/compose/), " @@ -1643,32 +1630,32 @@ msgid "" "containers from these images." msgstr "" -#: ../../using/selecting.md:1 06b4e30e46094f1999e47a10d1367dbb +#: ../../using/selecting.md:1 a2a7018df424492aa8522da2e6ef1a23 msgid "# Selecting an Image" msgstr "" -#: ../../using/selecting.md:3 a45235c9877244f6a0e38243ec023b7b +#: ../../using/selecting.md:3 8ef5917b72f1499fb02dbba254ab364a msgid "[Core Stacks](#core-stacks)" msgstr "" -#: ../../using/selecting.md:4 23976d5f5375486ca85129aad0111e0f +#: ../../using/selecting.md:4 0d355befa9d247e9bdc3e0621732c1c7 msgid "[Image Relationships](#image-relationships)" msgstr "" -#: ../../using/selecting.md:5 4504079e083442f28fda8e91591e92ce +#: ../../using/selecting.md:5 6cf0e3052b164837b795a198f714110b msgid "[Community Stacks](#community-stacks)" msgstr "" # af7e19bb10ec44348e8121be4129ce8a -#: ../../using/selecting.md:12 731b47e0874c46bbb3d2831939e12bca +#: ../../using/selecting.md:12 b5f3b3bba4bf4b0dbb5f1ef08f80c196 msgid "This section provides details about the first." msgstr "" -#: ../../using/selecting.md:14 e45e0333d84d4784b8c1d0e51f34f2b7 +#: ../../using/selecting.md:14 95e3e5476ce44c9a98cf04db5753c16e msgid "## Core Stacks" msgstr "" -#: ../../using/selecting.md:16 f39d04574f8144a4b960ee23da8430d2 +#: ../../using/selecting.md:16 cc0393e4940f4a15962e511535829ebe msgid "" "The Jupyter team maintains a set of Docker image definitions in the " "[https://github.com/jupyter/docker-stacks](https://github.com/jupyter" @@ -1676,11 +1663,11 @@ msgid "" "images including their contents, relationships, and versioning strategy." msgstr "" -#: ../../using/selecting.md:19 11ef9fa5e19a4f239680e487111a7a4f +#: ../../using/selecting.md:19 b946c9583f1840a8ac6c57e439275b67 msgid "### jupyter/base-notebook" msgstr "" -#: ../../using/selecting.md:21 e63d41d040ff40e680ae25ec5e6411dc +#: ../../using/selecting.md:21 1148f57071a94e659dad04ef2a64a56f msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/base-notebook) | [Dockerfile commit history](https://github.com/jupyter" @@ -1688,62 +1675,62 @@ msgid "" "image tags](https://hub.docker.com/r/jupyter/base-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:25 b3b33cc8e561404caf9b201cf94b6725 +#: ../../using/selecting.md:25 4f8aa2be9de04224afa10c8c2ac8f00c msgid "" "`jupyter/base-notebook` is a small image supporting the [options common " "across all core stacks](common.md). It is the basis for all other stacks." msgstr "" -#: ../../using/selecting.md:27 59aaf82a4d3c49129cc1b22117942a0b +#: ../../using/selecting.md:27 7482e92532f248268719a05cca98821e msgid "" "Minimally-functional Jupyter Notebook server (e.g., no LaTeX support for " "saving notebooks as PDFs)" msgstr "" -#: ../../using/selecting.md:28 7d7bf20f3f8645af9cc0d69b847a3adc +#: ../../using/selecting.md:28 317059c6478f442a9a5b7f08609ade13 msgid "[Miniconda](https://conda.io/miniconda.html) Python 3.x in `/opt/conda`" msgstr "" # c5732a5536554f91b8dd7e8946beaab8 -#: ../../using/selecting.md:29 0d725a6955a648d2b9bae56335fa8063 +#: ../../using/selecting.md:29 1fea2c70aa8847b4bea7464f60e9e71c msgid "No preinstalled scientific computing packages" msgstr "" -#: ../../using/selecting.md:30 2296cccdfd474a189c2efbe9fcf85b6d +#: ../../using/selecting.md:30 82d87fe6d98249df98014ceeafd4294a msgid "" "Unprivileged user `jovyan` (`uid=1000`, configurable, see options) in " "group `users` (`gid=100`) with ownership over the `/home/jovyan` and " "`/opt/conda` paths" msgstr "" -#: ../../using/selecting.md:31 f02a695598b5491c8e3c79f8166f056c +#: ../../using/selecting.md:31 28933c9e54fc438ea4f4f412998f329e msgid "" "`tini` as the container entrypoint and a `start-notebook.sh` script as " "the default command" msgstr "" -#: ../../using/selecting.md:32 fa4e8f692b7b4e258766dbf75d5b0b97 +#: ../../using/selecting.md:32 c9d7d0c925004a63bfb6fd76a2226f1a msgid "" "A `start-singleuser.sh` script useful for launching containers in " "JupyterHub" msgstr "" -#: ../../using/selecting.md:33 72f64850e097471f85368fc7fe591fd6 +#: ../../using/selecting.md:33 cea7823588554be4b429ae04cb593ea5 msgid "" "A `start.sh` script useful for running alternative commands in the " "container (e.g. `ipython`, `jupyter kernelgateway`, `jupyter lab`)" msgstr "" # 075e6ffe0f5b4d508d555992f5dd6fe1 -#: ../../using/selecting.md:34 5506bcf2b90044e1a82b1553718c6bb6 +#: ../../using/selecting.md:34 9f0a67bc53d64c4e92811e2145dacf7c msgid "Options for a self-signed HTTPS certificate and passwordless sudo" msgstr "" -#: ../../using/selecting.md:36 24a6af0277704f2a994f8bafbb0d891d +#: ../../using/selecting.md:36 68d38324ed2d48dfb2b17a19c754ae44 msgid "### jupyter/minimal-notebook" msgstr "" -#: ../../using/selecting.md:38 e79da820bea445348c28074ce5071d2a +#: ../../using/selecting.md:38 4726078f7217426bab046c2d13b5484a msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/minimal-notebook) | [Dockerfile commit " @@ -1752,21 +1739,21 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/minimal-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:42 7afc4a7b1cc14f46b88cd3f2ac1d764c +#: ../../using/selecting.md:42 8c36b1f2016c4f9bbe9d9dff5f3f49ba msgid "" "`jupyter/minimal-notebook` adds command line tools useful when working in" " Jupyter applications." msgstr "" -#: ../../using/selecting.md:44 1c668b79bce74cbb889be31e4f632149 +#: ../../using/selecting.md:44 cb6e42eb39db432b87b0ddcb0acf966b msgid "Everything in `jupyter/base-notebook`" msgstr "" -#: ../../using/selecting.md:45 0e9d5646cda24d4a99ff458116dcc5a1 +#: ../../using/selecting.md:45 f0d99f3f469a411095895fa6df87b04f msgid "[TeX Live](https://www.tug.org/texlive/) for notebook document conversion" msgstr "" -#: ../../using/selecting.md:46 f68a74a22e634db19f2472e700a2bd59 +#: ../../using/selecting.md:46 464747665cf842cdba5b0cadde2ac691 msgid "" "[git](https://git-scm.com/), [emacs](https://www.gnu.org/software/emacs/)" " (actually `emacs-nox`), [vi](https://vim.org/) (actually `vim-tiny`), " @@ -1774,11 +1761,11 @@ msgid "" "editor.org/), tzdata, and unzip" msgstr "" -#: ../../using/selecting.md:48 4c62858e32a7467b8b3e1d7368d5ebc9 +#: ../../using/selecting.md:48 ff2884dbfbf744c59daee570af79c10e msgid "### jupyter/r-notebook" msgstr "" -#: ../../using/selecting.md:50 d05f852695c8465e86858b787d7f07a3 +#: ../../using/selecting.md:50 655504eddbf34691922458dba98ad6db msgid "" "[Source on GitHub](https://github.com/jupyter/docker-" "stacks/tree/master/r-notebook) | [Dockerfile commit " @@ -1787,33 +1774,33 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/r-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:54 ea9764e5460047f7937f4bb447d4d430 +#: ../../using/selecting.md:54 879a9631c02a40858233bee22737fd54 msgid "`jupyter/r-notebook` includes popular packages from the R ecosystem." msgstr "" #: ../../using/selecting.md:56 ../../using/selecting.md:78 -#: 992cdb4a200c47c885d611b3c0e3ee2d c3634879d950401c91518403cc8692eb +#: 63892ca7aacb4405b6bb4795a369255b bb956a71f01f4048913542a31b00fc31 msgid "Everything in `jupyter/minimal-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:57 c090bf8598654af3bf8d2c66482b3863 +#: ../../using/selecting.md:57 7754d2e6e0c04d57a2c3783063df5958 msgid "The [R](https://www.r-project.org/) interpreter and base environment" msgstr "" #: ../../using/selecting.md:58 ../../using/selecting.md:133 -#: 40fac99758644605b8fef0cc51b044fc 58196ff2a6e741a797638e7fb18d8767 +#: 367ea4c8c43642c2b9565e97c0cb5b6c 745dfbb4b2124791ac96aa5b50613241 msgid "" "[IRKernel](https://irkernel.github.io/) to support R code in Jupyter " "notebooks" msgstr "" -#: ../../using/selecting.md:59 32dbd4d323534049959c6961511830e3 +#: ../../using/selecting.md:59 1bea029172c84e61bcbe7be11ee8634a msgid "" "[tidyverse](https://www.tidyverse.org/) packages, including " "[ggplot2](http://ggplot2.org/), [dplyr](http://dplyr.tidyverse.org/)," msgstr "" -#: ../../using/selecting.md:60 524ba902556c4787959e8c9f41555d19 +#: ../../using/selecting.md:60 cb8b617839214a50989623ae46bc7d51 msgid "" "[tidyr](http://tidyr.tidyverse.org/), " "[readr](http://readr.tidyverse.org/), " @@ -1838,11 +1825,11 @@ msgid "" " packages from [conda-forge](https://conda-forge.github.io/feedstocks)" msgstr "" -#: ../../using/selecting.md:70 6443e8d286d84752bbd6ab4c6bbdde49 +#: ../../using/selecting.md:70 3cb19f46617749ce93ede98cd2f2814a msgid "### jupyter/scipy-notebook" msgstr "" -#: ../../using/selecting.md:72 7ba6dbab918e4620be0f1316713c1b4e +#: ../../using/selecting.md:72 30499b9677fa4f6f879a3ae33a6b0bb4 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/scipy-notebook) | [Dockerfile commit history](https://github.com/jupyter" @@ -1850,20 +1837,20 @@ msgid "" "image tags](https://hub.docker.com/r/jupyter/scipy-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:76 7a1557c1439a40fb9653abbb01a5025c +#: ../../using/selecting.md:76 8743190179704d24a0f36da0cd226792 msgid "" "`jupyter/scipy-notebook` includes popular packages from the scientific " "Python ecosystem." msgstr "" -#: ../../using/selecting.md:79 c4e17ffc1c6f47cab7496825a3e5c41f +#: ../../using/selecting.md:79 eae8b4972aba4dee977ddfc23d135f28 msgid "" "[dask](https://dask.org/), [pandas](https://pandas.pydata.org/), " "[numexpr](https://github.com/pydata/numexpr), " "[matplotlib](https://matplotlib.org/), [scipy](https://www.scipy.org/)," msgstr "" -#: ../../using/selecting.md:80 85eca07cbe804daf9a33cebd3435c869 +#: ../../using/selecting.md:80 7b8555e3dceb401d9e39e41d9475d593 msgid "" "[seaborn](https://seaborn.pydata.org/), [scikit-learn](http://scikit-" "learn.org/stable/), [scikit-image](http://scikit-image.org/), " @@ -1889,11 +1876,11 @@ msgid "" "learning datasets" msgstr "" -#: ../../using/selecting.md:89 799e92688578448c97fb56462b09a7e1 +#: ../../using/selecting.md:89 e149bf33c2db4b3ca99abec3a3f3d765 msgid "### jupyter/tensorflow-notebook" msgstr "" -#: ../../using/selecting.md:91 72092b4ee628424295275e4ca64ce1f2 +#: ../../using/selecting.md:91 76e4e56afc9c4535913640c10be67e3d msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/tensorflow-notebook) | [Dockerfile commit " @@ -1902,28 +1889,28 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/tensorflow-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:95 b7d094d613e5407ca3a53a37ee150857 +#: ../../using/selecting.md:95 1f9b5b4f351542c78a8bd6eeb90f589a msgid "" "`jupyter/tensorflow-notebook` includes popular Python deep learning " "libraries." msgstr "" #: ../../using/selecting.md:97 ../../using/selecting.md:121 -#: 7c1fc498f35341bcbc1d36bcf5fb2e14 fa768513193c4c26a1e114e7b0e8b6d3 +#: 2a13e426ef3b479db05af46d3fc57dbd c23bd2f8fb6148399de0237b5dd458a2 msgid "Everything in `jupyter/scipy-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:98 fe76fc60ad6640b682eb34e9eda6fdbd +#: ../../using/selecting.md:98 a3f499341d874e1391e741e31a3b8f73 msgid "" "[tensorflow](https://www.tensorflow.org/) and [keras](https://keras.io/) " "machine learning libraries" msgstr "" -#: ../../using/selecting.md:100 ee626b818bbb4a7da30df6111d508221 +#: ../../using/selecting.md:100 0ce62aa0c5b74836914270298f0d963e msgid "### jupyter/datascience-notebook" msgstr "" -#: ../../using/selecting.md:102 e0d52f6d047947c0b1ac2faaaceed530 +#: ../../using/selecting.md:102 cf3f79089af5496a8c9bb48b5ba18599 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/datascience-notebook) | [Dockerfile commit " @@ -1932,40 +1919,40 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/datascience-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:106 9d0bac0e723544988216b1a617e5a502 +#: ../../using/selecting.md:106 a3ec8052905741ebb23342a2a1c2507d msgid "" "`jupyter/datascience-notebook` includes libraries for data analysis from " "the Julia, Python, and R communities." msgstr "" -#: ../../using/selecting.md:108 297ec0061da74c659c3bac3162a06086 +#: ../../using/selecting.md:108 81d38c5745534a08a5c60759e4a6712c msgid "" "Everything in the `jupyter/scipy-notebook` and `jupyter/r-notebook` " "images, and their ancestor images" msgstr "" -#: ../../using/selecting.md:109 00dbcae548fc431194a467a705023cd8 +#: ../../using/selecting.md:109 5f42b133f709424bb2389c5e4e140515 msgid "The [Julia](https://julialang.org/) compiler and base environment" msgstr "" -#: ../../using/selecting.md:110 ead43d34af0147a1a2d9be50493e31d4 +#: ../../using/selecting.md:110 4ca5a76bcb5f48fe84ddc1a6e8266f77 msgid "" "[IJulia](https://github.com/JuliaLang/IJulia.jl) to support Julia code in" " Jupyter notebooks" msgstr "" -#: ../../using/selecting.md:111 bb4f9d8d57364d468d19724dc1554426 +#: ../../using/selecting.md:111 c2314c6ebebd46dd8513e2edc8a4278e 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:113 a4d54d77cdfe4ae89adb75cdc6d7d091 +#: ../../using/selecting.md:113 ccbc1742e5034beca1a8b0b4fa31b3e7 msgid "### jupyter/pyspark-notebook" msgstr "" -#: ../../using/selecting.md:115 0efb8291b11f4c90b5a64473a3be56c5 +#: ../../using/selecting.md:115 04ecd0a201654b4c9acd0f92c17825da msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/pyspark-notebook) | [Dockerfile commit " @@ -1974,19 +1961,19 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/pyspark-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:119 0ccd129264594f86a1650423aa819d06 +#: ../../using/selecting.md:119 049fb3e57fcb48e3ad45d3a67969cf77 msgid "`jupyter/pyspark-notebook` includes Python support for Apache Spark." msgstr "" -#: ../../using/selecting.md:122 8f736a856ceb4affa357ef850afc87ef +#: ../../using/selecting.md:122 8a00b891239347eebff3112f5b4995fa msgid "[Apache Spark](https://spark.apache.org/) with Hadoop binaries" msgstr "" -#: ../../using/selecting.md:124 40bd7325d9ac45f782361b8cc4e54ee0 +#: ../../using/selecting.md:124 4a18cc78afdf42bf849bd826e5e5e71b msgid "### jupyter/all-spark-notebook" msgstr "" -#: ../../using/selecting.md:126 6dc3e60fe9d446baad16c0735a1e445d +#: ../../using/selecting.md:126 9d67e65295c94916bdf14b303b76b731 msgid "" "[Source on GitHub](https://github.com/jupyter/docker-stacks/tree/master" "/all-spark-notebook) | [Dockerfile commit " @@ -1995,35 +1982,35 @@ msgid "" "tags](https://hub.docker.com/r/jupyter/all-spark-notebook/tags/)" msgstr "" -#: ../../using/selecting.md:130 3b42f109b4f3442692a9c8a32ef4bf00 +#: ../../using/selecting.md:130 754981a3aa9d4e7cad5b34de19e52643 msgid "" "`jupyter/all-spark-notebook` includes Python, R, and Scala support for " "Apache Spark." msgstr "" -#: ../../using/selecting.md:132 d888472997fd4e04899daeeade34a4e5 +#: ../../using/selecting.md:132 38f414ac1a1049139ebb7e35ff1a3242 msgid "Everything in `jupyter/pyspark-notebook` and its ancestor images" msgstr "" -#: ../../using/selecting.md:134 a079df352d68430380de75ac5d9da08c +#: ../../using/selecting.md:134 995fdf326ad3450ba287e6cf0ecb59cb 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:135 15fcd3fbf4ed4adda820f1bd8fa4d906 +#: ../../using/selecting.md:135 dfb430bfd0144e4ba539826d2194db9f 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:137 6f2f72c441894d948078a2902ad733ad +#: ../../using/selecting.md:137 5e5ed430815c49ceaef73911ddd46736 msgid "### Image Relationships" msgstr "" -#: ../../using/selecting.md:139 70648d8d33f04e1cbd70020ddb132637 +#: ../../using/selecting.md:139 8512f22bf3b64538b7162313f0e2188b msgid "" "The following diagram depicts the build dependency tree of the core " "images. (i.e., the `FROM` statements in their Dockerfiles). Any given " @@ -2031,7 +2018,7 @@ msgid "" "it." msgstr "" -#: ../../using/selecting.md:142 5345823b71e24b2f967ac76948c169e5 +#: ../../using/selecting.md:142 dd08a3602a0046c1b0b4319272af2f16 msgid "" "[![Image inheritance " "diagram](../images/inherit.svg)](http://interactive.blockdiag.com/?compression=deflate&src" @@ -2040,11 +2027,11 @@ msgid "" "Zh7Z24OLLq2SjaxpvP10lX35vCf6pOxELFmUbQiUz4oQhYzMc3gCrRt2cWe_FKosmSjyFHC6OS1AwdQWCtyj7sfh523_BI9hKlQ25YdOFdv5fcH0kiEMA)" msgstr "" -#: ../../using/selecting.md:145 bf4004a357444137a9ac754e10c2d021 +#: ../../using/selecting.md:145 9bdc191dd4f5499b8c786349ec4d9f63 msgid "### Builds" msgstr "" -#: ../../using/selecting.md:147 fe304dd5891e497caacfb547d106ec80 +#: ../../using/selecting.md:147 f1f5996f2fb94f9fbe1fd99d7990002d msgid "" "Pull requests to the `jupyter/docker-stacks` repository trigger builds of" " all images on Travis CI. These images are for testing purposes only and " @@ -2053,18 +2040,18 @@ msgid "" " Hub." msgstr "" -#: ../../using/selecting.md:150 38d9739a094e4e9794b51ca503ed961b +#: ../../using/selecting.md:150 20af4a499d5a42688e781ecad6d40eb9 msgid "### Versioning" msgstr "" -#: ../../using/selecting.md:152 8d75bf5790fe44d3ba010434b26ccef1 +#: ../../using/selecting.md:152 b8c50b1763754844aba6c80955350460 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:155 e172bbaa5cd14c019150c8da72885baa +#: ../../using/selecting.md:155 e3d9bf8338f544d78cd7546b8fdd5efb 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 " @@ -2075,7 +2062,7 @@ msgid "" "stacks/tree/7c45ec67c8e7))." msgstr "" -#: ../../using/selecting.md:159 872dc25d7f46488fab43fbc7c8a02af8 +#: ../../using/selecting.md:159 8ed4ce03d73f4838bd06b3093c6e7e95 msgid "" "You must refer to git-SHA image tags when stability and reproducibility " "are important in your work. (e.g. `FROM jupyter/scipy-" @@ -2085,12 +2072,12 @@ msgid "" "library in a notebook)." msgstr "" -#: ../../using/selecting.md:163 e4cda91c9f0a4872a2d2e0116766d175 +#: ../../using/selecting.md:163 b465ecc9965249fbba50b83ded02b341 msgid "## Community Stacks" msgstr "" # a448d28293544f72b0e5de024b0a1ef5 -#: ../../using/selecting.md:165 e611fe2f64764a4bae14c77c74a3f3a5 +#: ../../using/selecting.md:165 4295dcd202554e69af7efa1a59450d2e 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 " @@ -2098,14 +2085,14 @@ msgid "" "them below." msgstr "" -#: ../../using/selecting.md:168 f82e6cb0b2724866afd77cbec2fadaf1 +#: ../../using/selecting.md:168 75859a2e32e14f2eb923c9156d4c8638 msgid "" "[csharp-notebook is a community Jupyter Docker Stack image. Try C# in " "Jupyter Notebooks](https://github.com/tlinnet/csharp-notebook). The image" " includes more" msgstr "" -#: ../../using/selecting.md:169 62c8ab09e41d49728a9380b5331a5b3f +#: ../../using/selecting.md:169 85175c332f194339b07f408aab926682 msgid "" "than 200 Jupyter Notebooks with example C# code and can readily be tried " "online via mybinder.org. Click here to launch " @@ -2113,25 +2100,25 @@ msgid "" "/csharp-notebook/master)." msgstr "" -#: ../../using/selecting.md:172 f6a69aa15e3545658012f6349f07d190 +#: ../../using/selecting.md:172 54d83c34e2e648f4b94fd2ca0e876b78 msgid "" "[education-notebook is a community Jupyter Docker Stack " "image](https://github.com/umsi-mads/education-notebook). The image " "includes nbgrader and RISE on top of" msgstr "" -#: ../../using/selecting.md:173 dac194fc5cf54c449dcb6b1a26fbb229 +#: ../../using/selecting.md:173 f3ed77e50ee94eaabd81f4d7eb9738e7 msgid "" "the datascience-notebook image. Click here to launch it on " "[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh" "/umsi-mads/education-notebook/master)." msgstr "" -#: ../../using/selecting.md:176 f88e78c78938478fb82ac988220678b7 +#: ../../using/selecting.md:176 d0e121b62173430e9a1310cbf417d899 msgid "__crosscompass/ihaskell-notebook__" msgstr "" -#: ../../using/selecting.md:178 27e48834e2f6431e93c4e17d685729b2 +#: ../../using/selecting.md:178 4acef923f77a447086d32aca9b582589 msgid "" "[Source on GitHub](https://github.com/jamesdbrock/ihaskell-notebook) | " "[Dockerfile commit history](https://github.com/jamesdbrock/ihaskell-" @@ -2139,14 +2126,14 @@ msgid "" "tags](https://hub.docker.com/r/crosscompass/ihaskell-notebook/tags)" msgstr "" -#: ../../using/selecting.md:182 6896ace7f3b74913a5d6250cd5af3f7a +#: ../../using/selecting.md:182 6707b96245ae41309325de4a9e9af7b5 msgid "" "`crosscompass/ihaskell-notebook` is based on " "[IHaskell](https://github.com/gibiansky/IHaskell). Includes popular " "packages and example notebooks." msgstr "" -#: ../../using/selecting.md:184 c10db1c00e204378953350c22391e7e2 +#: ../../using/selecting.md:184 d036e92c60664625a7185494900ef8ee msgid "" "Try it on " "[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jamesdbrock" @@ -2154,13 +2141,13 @@ msgid "" "notebook/master?urlpath=lab/tree/ihaskell_examples/ihaskell/IHaskell.ipynb)" msgstr "" -#: ../../using/selecting.md:186 2b33f3d8854840418e0d47792143e915 +#: ../../using/selecting.md:186 4680792ab2364d5bb75dccb071c5a257 msgid "" "[java-notebook is a community Jupyter Docker Stack " "image](https://github.com/jbindinga/java-notebook). The image includes" msgstr "" -#: ../../using/selecting.md:187 dd2633c715544c7b8fb74360498e148a +#: ../../using/selecting.md:187 95ba6f9235eb477f84824860b7ab2fe5 msgid "" "[IJava](https://github.com/SpencerPark/IJava) kernel on top of the " "minimal-notebook image. Click here to launch it on " @@ -2168,28 +2155,28 @@ msgid "" "/java-notebook/master)." msgstr "" -#: ../../using/selecting.md:190 6d72c6efdc10499f9ea3c545e8214277 +#: ../../using/selecting.md:190 417e9d2b099349eb89b3fa2986839dff msgid "" "[sage-notebook](https://github.com/sharpTrick/sage-notebook) is a " "community Jupyter Docker Stack image with the " "[sagemath](https://sagemath.org) kernel on top of" msgstr "" -#: ../../using/selecting.md:191 4b4df13866c44074a47f6dac6a38b4f4 +#: ../../using/selecting.md:191 76ed040d7ad94c6ba5730320d9e133a4 msgid "" "the minimal-notebook image. Click here to launch it on " "[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/sharpTrick" "/sage-notebook/master)." msgstr "" -#: ../../using/selecting.md:194 b6f8f86dd68844698fb50be1df49fba9 +#: ../../using/selecting.md:194 0f64cdc25d74403c991c4580e0be2264 msgid "" "[GPU-Jupyter](https://github.com/iot-salzburg/gpu-jupyter/): Leverage " "Jupyter Notebooks with the power of your NVIDIA GPU and perform GPU " "calculations using" msgstr "" -#: ../../using/selecting.md:195 51cce3c0df0a47f8bfbd4eaa82be9cfc +#: ../../using/selecting.md:195 8ddfdf1bca2e4862ab62985a8b62ac58 msgid "" "Tensorflow and Pytorch in collaborative notebooks. This is done by " "generating a Dockerfile, that consists of the **nvidia/cuda** base image," @@ -2198,44 +2185,44 @@ msgid "" "top of it." msgstr "" -#: ../../using/selecting.md:200 142c83f0830546fdb6a264d85346a0f8 +#: ../../using/selecting.md:200 d703b5fdbaa847dcabbbb4b5d89e4555 msgid "" "[cgspatial-notebook](https://github.com/SCiO-systems/cgspatial-notebook) " "is a community Jupyter Docker Stack image. The image includes major " "geospatial Python &" msgstr "" -#: ../../using/selecting.md:201 1fa18f5c00f54fe1932893978ec5326f +#: ../../using/selecting.md:201 c6668589301846b58ecdd7abf75706e7 msgid "" "R libraries on top of the datascience-notebook image. Try it on " "binder:[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh" "/SCiO-systems/cgspatial-notebook/master)" msgstr "" -#: ../../using/selecting.md:205 5b82e7873d164608b973b3821d871cb9 +#: ../../using/selecting.md:205 b00b53559da44feba82905f11581aaf8 msgid "" "See the [contributing guide](../contributing/stacks.md) for information " "about how to create your own Jupyter Docker Stack." msgstr "" -#: ../../using/specifics.md:1 fa57d4b11a854b609f3c9f87c7f28a4e +#: ../../using/specifics.md:1 cf18618ed135462db510524b0bca3163 msgid "# Image Specifics" msgstr "" # 06b0d21a881140a29e17e5b9fa5598ab -#: ../../using/specifics.md:3 65782d5208cb49b6920e541439696fa9 +#: ../../using/specifics.md:3 ebe81b672d1c44b0abe9585ad16cb1bc msgid "This page provides details about features specific to one or more images." msgstr "" -#: ../../using/specifics.md:5 78a15696b1224ed2a101bdbdfdc74dc4 +#: ../../using/specifics.md:5 fc9bf69319334c50a7b3c00b9b2796cb msgid "## Apache Spark" msgstr "" -#: ../../using/specifics.md:7 4ef596335de445229923351289228feb +#: ../../using/specifics.md:7 4425884637c74738b4817356f5f7fd6e msgid "**Specific Docker Image Options**" msgstr "" -#: ../../using/specifics.md:9 46738688492d4e5ab27b3d3f372e5618 +#: ../../using/specifics.md:9 4252e6aec832477ab0d7d189c80dfa99 msgid "" "`-p 4040:4040` - The `jupyter/pyspark-notebook` and `jupyter/all-spark-" "notebook` images open [SparkUI (Spark Monitoring and Instrumentation " @@ -2247,11 +2234,11 @@ msgid "" "8888:8888 -p 4040:4040 -p 4041:4041 jupyter/pyspark-notebook`." msgstr "" -#: ../../using/specifics.md:11 1af20c330bbf49fa98e869703d107109 +#: ../../using/specifics.md:11 006d3adec19a48eea8559d879d6120b9 msgid "**Usage Examples**" msgstr "" -#: ../../using/specifics.md:13 4ea62e83f7c24e9281f5e8fe256e558c +#: ../../using/specifics.md:13 1b61b017d04c4e31b2d515eb96d23726 msgid "" "The `jupyter/pyspark-notebook` and `jupyter/all-spark-notebook` images " "support the use of [Apache Spark](https://spark.apache.org/) in Python, " @@ -2259,31 +2246,31 @@ msgid "" "how to get started using them." msgstr "" -#: ../../using/specifics.md:15 d14437d1b17c4bc7a38482faae56562a +#: ../../using/specifics.md:15 cf31c18adf2140d191352ea3c5510875 msgid "### Using Spark Local Mode" msgstr "" -#: ../../using/specifics.md:17 470645f734594de1a67892f5a0150e52 +#: ../../using/specifics.md:17 73e82f14738449e589cfa29c8aeea98f msgid "" "Spark **local mode** is useful for experimentation on small data when you" " do not have a Spark cluster available." msgstr "" #: ../../using/specifics.md:19 ../../using/specifics.md:120 -#: ad431841468849a49d902d0c8d4dd35c bd6390616a144ce9bdbbd78052ce6c17 +#: b6badf0ac8914e50aa350f8f1a641409 eab3952fd8c64daf97d524131b146394 msgid "#### In Python" msgstr "" -#: ../../using/specifics.md:21 160bb262b665461b97bbd032703fd99d +#: ../../using/specifics.md:21 528e693308d842a5b3d1862164f82d6c msgid "In a Python notebook." msgstr "" #: ../../using/specifics.md:23 ../../using/specifics.md:125 -#: 0eed127697984861ae059ea8b21aaa6b 37180be3c1334e8ba9e4bd6b7e85a2da +#: 5ad89fd1b748455985e4de81400ab546 8ce978f66a54438a8b29b3229ba25cb3 msgid "```python from pyspark.sql import SparkSession" msgstr "" -#: ../../using/specifics.md:26 f2c00bbccd714b8cb390dd114f64474e +#: ../../using/specifics.md:26 3061e680be364cf3b6023b731fe0b1f3 msgid "" "# Spark session & context spark = " "SparkSession.builder.master('local').getOrCreate() sc = " @@ -2291,107 +2278,107 @@ msgid "" msgstr "" #: ../../using/specifics.md:30 ../../using/specifics.md:132 -#: 7cbc66d8956d41b8a363793211ee65af b0865ac1b79045c5a010e09441d87baa +#: a7088ec741c2484ca94d198e98be6f0e e3233c97f6da48159a4f733e7091cfb7 msgid "" "# Sum of the first 100 whole numbers rdd = sc.parallelize(range(100 + 1))" " rdd.sum() # 5050 ```" msgstr "" #: ../../using/specifics.md:36 ../../using/specifics.md:138 -#: 01c92e516fcc41aa82e49a382a52d06a dbeb17d8c99d42cdbacbb7355aa6f026 +#: 4a6fa69524014834875ffa56ba23fc5a c73084a6ee584015a33e2863ddd91277 msgid "#### In R" msgstr "" #: ../../using/specifics.md:38 ../../using/specifics.md:140 -#: 634883a7ab94438ebd1ad3f405a4a3f4 9d85476573f240e58f391f1e866bf0ea +#: 3a1cd7e968b54b9285ea541a4be7224c 8de13076b3af4d01ae8d21405d3794bb msgid "In a R notebook with [SparkR][sparkr]." msgstr "" #: ../../using/specifics.md:40 ../../using/specifics.md:142 -#: 1701f3a53f8649f1a067e95d16e12f8d 4f2e877ccfef45f0ad212ebe1b02411b +#: 9bd91f6fad8e41dabf837dc46b8f1367 ef2ca005887e45c290c0df62d7c0df85 msgid "```R library(SparkR)" msgstr "" -#: ../../using/specifics.md:43 fd53af0db87243eb9a6e81ba32280f03 +#: ../../using/specifics.md:43 10d35139faf94c5885266a4e6ee8d9c9 msgid "# Spark session & context sc <- sparkR.session(\"local\")" msgstr "" #: ../../using/specifics.md:46 ../../using/specifics.md:148 -#: 4231eada030f4f7c8b076c4474f6fa6a 432d172c860e4b4187951772b9b5be15 +#: 4e3b4c5417b648f08c6540bf92719792 af3d5c5729304ac59688a81f5bf3d63f msgid "" "# Sum of the first 100 whole numbers sdf <- createDataFrame(list(1:100)) " "dapplyCollect(sdf," msgstr "" #: ../../using/specifics.md:49 ../../using/specifics.md:151 -#: b690e986c81645c88eaa6b3d4942be5f fe21b1df99f847f68c06f1304b1283a3 +#: 09b1e323640a4811a469f54b49397556 dd0a0207d72e4b3fb9a6bb63bcccfc6b msgid "function(x) { x <- sum(x)}" msgstr "" #: ../../using/specifics.md:51 ../../using/specifics.md:153 -#: b9505c3f9f2e4664a0f923d048dea36d ff0087674c8a4b6fad94345761a7e735 +#: 2cdfbb7e21654648abea6a1ce9d6aff7 71417d06683b4761af529d04c04be495 msgid ")" msgstr "" #: ../../using/specifics.md:52 ../../using/specifics.md:71 #: ../../using/specifics.md:154 ../../using/specifics.md:172 -#: 55ce74d6ca0e4eefadc80fc6ac4eeb32 811bdd3cfb484380bce8c9258024ef17 -#: d52785d777c84ebda1b9f55b81dd6754 f5b5392573a64775b2a705f8a42bbe62 +#: 54a21d09d2354c61acd5e6097975c4b4 7d4476dc4ddf407bbeeb6e52341cf13d +#: c0308e1d40e94c389be32f4410c41ff4 dd011fd2bd5b4f2ba40bfb33a4dd5576 msgid "# 5050 ```" msgstr "" #: ../../using/specifics.md:55 ../../using/specifics.md:157 -#: 2a56835d84184eafa62a9b7b53eb01ed 8d38bc847f2a4aeab85745c1d9007207 +#: b078f60f8a64471594df5ae0127047df bb725491b56e425d98995b2d37d7acaf msgid "In a R notebook with [sparklyr][sparklyr]." msgstr "" #: ../../using/specifics.md:57 ../../using/specifics.md:159 -#: 280106d74ac944e48c0908bf4459288a e99c5b2a9f3a4369b5c0d586428876bb +#: 36efef2dedf9481abb34c2fdc9cd1e5b 99234c21f0bb4bb5a0d7e2b9df2c9924 msgid "```R library(sparklyr)" msgstr "" -#: ../../using/specifics.md:60 3f6b006273b548a39bd5f3116840ba39 +#: ../../using/specifics.md:60 a99c8f96d668499f963d99e503d2fdb0 msgid "" "# Spark configuration conf <- spark_config() # Set the catalog " "implementation in-memory conf$spark.sql.catalogImplementation <- \"in-" "memory\"" msgstr "" -#: ../../using/specifics.md:65 d81f8cb3188342bb9f904f1ae6b55af4 +#: ../../using/specifics.md:65 53d708669b484c1e951fe31c94f143a4 msgid "" "# Spark session & context sc <- spark_connect(master = \"local\", config " "= conf)" msgstr "" #: ../../using/specifics.md:68 ../../using/specifics.md:169 -#: 95f8de5d4beb4da694632d5cc150537d f124286a76014e86aac84155fc24683d +#: 41240e3c81d044dc95c808f655719105 6f690fd916d94bdf9ac0cd89cf41698a msgid "# Sum of the first 100 whole numbers sdf_len(sc, 100, repartition = 1) %>%" msgstr "" #: ../../using/specifics.md:70 ../../using/specifics.md:171 -#: 5ebadf4991894f6380a2d0573108295c b8ced238c6d743b3aae8c5d25b0fb81c +#: 2aa87f612e294f3bb4a7f2a75c970fe2 85a2c3cb077b47c9a939bf7c38219ac2 msgid "spark_apply(function(e) sum(e))" msgstr "" #: ../../using/specifics.md:74 ../../using/specifics.md:175 -#: a8c9eb3f4e92472685a281ef167c11e3 f993f0ba33c54905a90d751bb97aee2c +#: 505cad3cd1fc438891eb7d136ef5a256 526ec559d29445239619a078be1768df msgid "#### In Scala" msgstr "" #: ../../using/specifics.md:76 ../../using/specifics.md:177 -#: 927a1e7fe2534e1c86e1372f3fa430c4 a90a7e9d62534544b7c80080b5df2aad +#: 607541d544bd46ec875de107dbc0b1a0 ea700ba499d44ceda41db278f29dc3e7 msgid "##### In a Spylon Kernel" msgstr "" #: ../../using/specifics.md:78 ../../using/specifics.md:179 -#: 65ae80e8f3d04269b2503c274488744e fee670e7fe164f3aadc4c6fc2c9bb98f +#: 1291fd3efc9c4719972269d809cb6c2d 4469e3ac150b47ad94f37eaa266bd74e #, 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:81 33269061ea3041eab5f2a9a84a395b21 +#: ../../using/specifics.md:81 cee1b544492a4c648affdc4c55f6ef55 #, python-format msgid "" "```python %%init_spark # Configure Spark to use a local master " @@ -2399,28 +2386,28 @@ msgid "" msgstr "" #: ../../using/specifics.md:87 ../../using/specifics.md:98 -#: ../../using/specifics.md:188 332b73b1da034069998e94c684ff9a43 -#: 6045602573a4437e99badb22dcb21e5f 8101da251656400fa8d1a546b2607720 +#: ../../using/specifics.md:188 57c2e011ed984522952cdb9583858b60 +#: 5f83f95c6a96412f93226255fffaffda 9328f0f74f804f3aaa5c50ac076b27ac msgid "" "```scala // Sum of the first 100 whole numbers val rdd = sc.parallelize(0" " to 100) rdd.sum() // 5050 ```" msgstr "" -#: ../../using/specifics.md:94 f82d31ae63f24f3086c4574a1c8a43b9 +#: ../../using/specifics.md:94 f7166d7bd974408e9d29a6f6b590bc2b msgid "##### In an Apache Toree Kernel" msgstr "" -#: ../../using/specifics.md:96 c8344ab3d3cb4c8ea91cd4081589549c +#: ../../using/specifics.md:96 15f73cf293dc4114bbf7fbb6808a6891 msgid "" "Apache Toree instantiates a local `SparkContext` for you in variable `sc`" " when the kernel starts." msgstr "" -#: ../../using/specifics.md:105 355bb379107d44d0ab59ac5bdcfa94a7 +#: ../../using/specifics.md:105 859b2e6f951d49e7bc90de46ff9b64a2 msgid "### Connecting to a Spark Cluster in Standalone Mode" msgstr "" -#: ../../using/specifics.md:107 1ffa253c7202470eb6c05155391d9bcc +#: ../../using/specifics.md:107 f8490526db2c42fb9699af253c0195d9 msgid "" "Connection to Spark Cluster on **[Standalone " "Mode](https://spark.apache.org/docs/latest/spark-standalone.html)** " @@ -2428,19 +2415,19 @@ msgid "" msgstr "" # 2c728588b6df4753a0c08f969364a79a -#: ../../using/specifics.md:109 f46c8899a8504b1f941365888e9d25c0 +#: ../../using/specifics.md:109 daaab3fda4e74b83a92f50746fde1644 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:111 77c8a5e0895a421bbe37cd987083299a +#: ../../using/specifics.md:111 758cb4ffc10f44dd9d02bb76022f1242 msgid "" "[Deploy Spark in Standalone Mode](http://spark.apache.org/docs/latest" "/spark-standalone.html)." msgstr "" -#: ../../using/specifics.md:112 02eb87fbdefa490d81f5a8765003ec1c +#: ../../using/specifics.md:112 ac80ef4a76d84e50a22cb45c839b64a6 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 " @@ -2450,14 +2437,14 @@ msgid "" "https://github.com/jupyter/docker-stacks/issues/64 for details." msgstr "" -#: ../../using/specifics.md:118 d3f75ab7aa214043817b0e10068861bf +#: ../../using/specifics.md:118 4d5f69ac90244b5fa54d3c7d334459ed 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:122 de3d48cc52544d339bf9a32534b186a7 +#: ../../using/specifics.md:122 8463f442bac04d0891fdefd6862f3785 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 " @@ -2466,18 +2453,18 @@ msgid "" "Configuration][spark-conf] for more information." msgstr "" -#: ../../using/specifics.md:128 99c0e40905c34a028841510f9bc7d490 +#: ../../using/specifics.md:128 e153e607e1f64e678b8eac936b33f97d msgid "" "# Spark session & context spark = " "SparkSession.builder.master('spark://master:7077').getOrCreate() sc = " "spark.sparkContext" msgstr "" -#: ../../using/specifics.md:145 350d89312c084c97852d7d89be3061f0 +#: ../../using/specifics.md:145 bb86a25854d64d6da01d213e1b45c34c msgid "# Spark session & context sc <- sparkR.session(\"spark://master:7077\")" msgstr "" -#: ../../using/specifics.md:162 91591837dfc740c9971c366a4a1f17c9 +#: ../../using/specifics.md:162 2f2fde530bf348e2ad2f818d2440cfdd msgid "" "# Spark session & context # Spark configuration conf <- spark_config() # " "Set the catalog implementation in-memory " @@ -2485,18 +2472,18 @@ msgid "" "spark_connect(master = \"spark://master:7077\", config = conf)" msgstr "" -#: ../../using/specifics.md:182 de781b8541ac4125abcad3b7ac2b3d71 +#: ../../using/specifics.md:182 d887861dbe134414b14d86ecae314b08 #, python-format msgid "" "```python %%init_spark # Configure Spark to use a local master " "launcher.master = \"spark://master:7077\" ```" msgstr "" -#: ../../using/specifics.md:195 b69a68cb2e0f4cd18ffb2f9aacc3fa99 +#: ../../using/specifics.md:195 0c2ab4cf5c584c29be1302001abbd09b msgid "##### In an Apache Toree Scala Notebook" msgstr "" -#: ../../using/specifics.md:197 50d51bb4e5ca481186fa44f8bdf8dbde +#: ../../using/specifics.md:197 8f7f13112f0d443cbbbeffc24c8483e4 msgid "" "The Apache Toree kernel automatically creates a `SparkContext` when it " "starts based on configuration information from its command line arguments" @@ -2504,90 +2491,90 @@ msgid "" "via the `SPARK_OPTS` environment variable when you spawn a container." msgstr "" -#: ../../using/specifics.md:199 ec779355bc5a46e485833c0cb35ca6c4 +#: ../../using/specifics.md:199 ce2d856869604481bddc993b72353e51 msgid "" "For instance, to pass information about a standalone Spark master, you " "could start the container like so:" msgstr "" -#: ../../using/specifics.md:201 f0330fc09a8a492bb3f27a331e5317b0 +#: ../../using/specifics.md:201 155be050d73a42368815a753c0e41f2e msgid "" "```bash docker run -d -p 8888:8888 -e SPARK_OPTS='--" "master=spark://master:7077' \\" msgstr "" -#: ../../using/specifics.md:203 11936392420d4e44b6cc246c5ce4317f +#: ../../using/specifics.md:203 36e219dcb84f4c7e8097b29082a271d5 msgid "jupyter/all-spark-notebook" msgstr "" # fa8494a4dde544109b9f6f49ac28178f -#: ../../using/specifics.md:206 54f1fc2eb4d44ab799c26e032c62dfba +#: ../../using/specifics.md:206 e2bec6735a274b5ba42e5861c8ba272b msgid "" "Note that this is the same information expressed in a notebook in the " "Python case above. Once the kernel spec has your cluster information, you" " can test your cluster in an Apache Toree notebook like so:" msgstr "" -#: ../../using/specifics.md:208 53d752d83c31464ea0dc17f7d4bcac0b +#: ../../using/specifics.md:208 ce3b2c9050b34fdfa87f8c3154a488cb msgid "" "```scala // should print the value of --master in the kernel spec " "println(sc.master)" msgstr "" -#: ../../using/specifics.md:212 4a87488a423e4426bd56b6f69ea5cf7a +#: ../../using/specifics.md:212 0792240bc2dd49108f5a1dc8d89ccb6f msgid "" "// Sum of the first 100 whole numbers val rdd = sc.parallelize(0 to 100) " "rdd.sum() // 5050 ```" msgstr "" -#: ../../using/specifics.md:218 115a59d0d1d1499aa9b699bca5a6864e +#: ../../using/specifics.md:218 ea5513030ba34204af1c13f1cc51591a msgid "## Tensorflow" msgstr "" -#: ../../using/specifics.md:220 635b133789684dcc905f2042476b6478 +#: ../../using/specifics.md:220 bd96cd5966744ff7bd8fe23a7d98ad00 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:223 01c6e4e9f13c4af280abb58e5e2023d4 +#: ../../using/specifics.md:223 1d7bc10182c14d20a297dbc5f81e952a msgid "### Single Machine Mode" msgstr "" #: ../../using/specifics.md:225 ../../using/specifics.md:239 -#: 1dde91669709472b8447633ba3cf4b2e a7685a1d475b489ab849e68f4862094e +#: 17e2da7ba2c64b5e9f2964a4a5af608d 9cdc4714346442f18b949832133c09cd msgid "```python import tensorflow as tf" msgstr "" -#: ../../using/specifics.md:228 0d7fcd48d1ca4c44a5d1927d05eb6999 +#: ../../using/specifics.md:228 ca776b2eb3d64d8c817654f071807bdb msgid "hello = tf.Variable('Hello World!')" msgstr "" -#: ../../using/specifics.md:230 eb8899eff1ec436fba5b1a62a5a12108 +#: ../../using/specifics.md:230 2eabdcbe2203454cb974fe23979444b9 msgid "sess = tf.Session() init = tf.global_variables_initializer()" msgstr "" #: ../../using/specifics.md:233 ../../using/specifics.md:248 -#: 10cc549fa96140899f643339b8fec039 358b534d19cf4cac9650b3f9383a21b1 +#: 40a4f397f7204f968e1bdbe95de9f91c 96d1de97029b443db72c0b0c2b31555b msgid "sess.run(init) sess.run(hello) ```" msgstr "" -#: ../../using/specifics.md:237 ce355d2ab9e2473c936ac5054f1d84ec +#: ../../using/specifics.md:237 37c0523306bc468da35dc800ab23f3fc msgid "### Distributed Mode" msgstr "" -#: ../../using/specifics.md:242 4475f4c722134a909d74d2eaef708f72 +#: ../../using/specifics.md:242 58fe1a585613449f9841b44dd13d6d14 msgid "hello = tf.Variable('Hello Distributed World!')" msgstr "" -#: ../../using/specifics.md:244 fb1eac8b19404ed58c5f96bb6a7382f0 +#: ../../using/specifics.md:244 9d63f133818d427f8d2f25daf2d89e9f msgid "" "server = tf.train.Server.create_local_server() sess = " "tf.Session(server.target) init = tf.global_variables_initializer()" msgstr "" -#: ../../using/specifics.md:252 e8898a1615e24017bb94ee15df4725c5 +#: ../../using/specifics.md:252 100727e507514a4ca2eb4c81c7e46b62 msgid "" "[sparkr]: https://spark.apache.org/docs/latest/sparkr.html [sparklyr]: " "https://spark.rstudio.com/ [spark-conf]: " @@ -4628,3 +4615,55 @@ msgstr "" #~ "/docker-stacks/issues/64 for details." #~ msgstr "" +#~ msgid "" +#~ "# Workaround for a mandb bug, " +#~ "should be fixed in mandb > 2.8.5" +#~ " # https://git.savannah.gnu.org/cgit/man-" +#~ "db.git/commit/?id=8197d7824f814c5d4b992b4c8730b5b0f7ec589a RUN" +#~ " echo \"MANPATH_MAP ${CONDA_DIR}/bin " +#~ "${CONDA_DIR}/man\" >> /etc/manpath.config \\" +#~ msgstr "" + +#~ msgid "" +#~ "Adding the documentation on top of " +#~ "an existing singleuser image wastes a" +#~ " lot of space and requires " +#~ "reinstalling every system package, which " +#~ "can take additional time and bandwidth;" +#~ " the `datascience-notebook` image has " +#~ "been shown to grow by almost 3GB" +#~ " when adding manapages in this way." +#~ " Enabling manpages in the base Ubuntu" +#~ " layer prevents this container bloat:" +#~ msgstr "" + +#~ msgid "" +#~ "```Dockerfile # Ubuntu 18.04 (bionic) " +#~ "from 2018-05-26 # https://github.com/docker-" +#~ "library/official-" +#~ "images/commit/aac6a45b9eb2bffb8102353c350d341a410fb169 ARG " +#~ "BASE_CONTAINER=ubuntu:bionic-20180526@sha256:c8c275751219dadad8fa56b3ac41ca6cb22219ff117ca98fe82b42f24e1ba64e" +#~ " FROM $BASE_CONTAINER" +#~ msgstr "" + +#~ msgid "" +#~ "ENV DEBIAN_FRONTEND noninteractive # Remove" +#~ " the manpage blacklist, install man, " +#~ "install docs RUN rm " +#~ "/etc/dpkg/dpkg.cfg.d/excludes \\" +#~ msgstr "" + +#~ msgid "" +#~ "# Workaround for a mandb bug, " +#~ "should be fixed in mandb > 2.8.5" +#~ " # https://git.savannah.gnu.org/cgit/man-" +#~ "db.git/commit/?id=8197d7824f814c5d4b992b4c8730b5b0f7ec589a RUN" +#~ " echo \"MANPATH_MAP /opt/conda/bin " +#~ "/opt/conda/man\" >> /etc/manpath.config \\" +#~ msgstr "" + +#~ msgid "" +#~ "&& echo \"MANPATH_MAP /opt/conda/bin " +#~ "/opt/conda/share/man\" >> /etc/manpath.config" +#~ msgstr "" +