From 9be1bd74f888d41510273e5c8b097b3b7597e456 Mon Sep 17 00:00:00 2001 From: Koen van der Veen Date: Wed, 11 Oct 2023 17:17:20 +0200 Subject: [PATCH] add docker command instructions --- notebooks/helm/docker helm syft.ipynb | 372 ++++++++++++++------------ 1 file changed, 196 insertions(+), 176 deletions(-) diff --git a/notebooks/helm/docker helm syft.ipynb b/notebooks/helm/docker helm syft.ipynb index e6dce2150c5..4c0bb142da9 100644 --- a/notebooks/helm/docker helm syft.ipynb +++ b/notebooks/helm/docker helm syft.ipynb @@ -5,7 +5,15 @@ "execution_count": 1, "id": "3333ab14", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "kj/filesystem-disk-unix.c++:1703: warning: PWD environment variable doesn't match current directory; pwd = /Users/koen/workspace/pysyft/notebooks\n" + ] + } + ], "source": [ "import syft as sy\n", "from syft import ActionObject\n", @@ -13,6 +21,22 @@ "from collections import defaultdict" ] }, + { + "cell_type": "markdown", + "id": "7408a9e7", + "metadata": {}, + "source": [ + "Start this using" + ] + }, + { + "cell_type": "markdown", + "id": "96297734", + "metadata": {}, + "source": [ + "`docker compose --profile blob-storage --file docker-compose.multinode.yml --file docker-compose.dev.yml up`" + ] + }, { "cell_type": "code", "execution_count": 2, @@ -253,7 +277,7 @@ " flex-grow: 0;\n", " }\n", "\n", - " .grid-table157256c4ec7443c5b1a0a262b4f69409 {\n", + " .grid-table94defac4cdc7453bacc6b2341225fbc4 {\n", " display:grid;\n", " grid-template-columns: 1fr repeat(24, 1fr);\n", " grid-template-rows: repeat(2, 1fr);\n", @@ -425,25 +449,25 @@ "
\n", "
\n", "
\n", - "
\n", - "
\n", + "
\n", " \n", "
\n", - " \n", + " \n", "
\n", - " \n", "
\n", "\n", - "

0

\n", + "

0

\n", "
\n", - "
\n", + "
\n", " \n", "
\n", - "
\n", + "
\n", " \n", "
\n", "
\n", @@ -665,7 +689,7 @@ "
\n" ], "text/plain": [ - "" + "" ] }, "execution_count": 3, @@ -720,7 +744,7 @@ "```\n", "```python\n", "class BlobFile:\n", - " id: str = 60e1efeb438f4034a6f0cd978fc94a2f\n", + " id: str = e965a92845bd46c4882961c82bb84d09\n", "\n", "```" ], @@ -1130,7 +1154,7 @@ { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 11, @@ -1181,10 +1205,10 @@ { "data": { "text/html": [ - "
SyftSuccess: Request 867452f87c6c4abebcc35560e36c0f80 changes applied

" + "
SyftSuccess: Request 6d7314ffb67c41f58795ec56c6997b89 changes applied

" ], "text/plain": [ - "SyftSuccess: Request 867452f87c6c4abebcc35560e36c0f80 changes applied" + "SyftSuccess: Request 6d7314ffb67c41f58795ec56c6997b89 changes applied" ] }, "execution_count": 12, @@ -1226,7 +1250,7 @@ "text/markdown": [ "```python\n", "class Job:\n", - " id: UID = 1df6cff4de294e2b9e4d6b1ddc002259\n", + " id: UID = 179a31fe609b4dc2b0d7b69df7b7c644\n", " status: created\n", " has_parent: False\n", " result: None\n", @@ -1459,7 +1483,7 @@ " flex-grow: 0;\n", " }\n", "\n", - " .grid-tablec01e0b2a63974f80b1b793d72cd2adde {\n", + " .grid-tablebe1333fd763f49cea5463c2abe113485 {\n", " display:grid;\n", " grid-template-columns: 1fr repeat(24, 1fr);\n", " grid-template-rows: repeat(2, 1fr);\n", @@ -1631,25 +1655,25 @@ "
\n", "
\n", "
\n", - "
\n", - "
\n", + "
\n", " \n", "
\n", - " \n", + " \n", "
\n", - " \n", "
\n", "\n", - "

0

\n", + "

0

\n", "
\n", - "
\n", + "
\n", " \n", "
\n", - "
\n", + "
\n", " \n", "
\n", "
\n", @@ -1894,17 +1918,13 @@ "text/markdown": [ "```python\n", "class Job:\n", - " id: UID = 663dda51e0c44eee9e0ece9b66dab902\n", - " status: completed\n", + " id: UID = 462f84804f21481b99c492f50b60ea64\n", + " status: created\n", " has_parent: True\n", - " result: ActionDataEmpty UID: d9896c5197164319ace66e892069b721 \n", + " result: None\n", " logs:\n", "\n", "0 starting overlap computation\n", - "1 preparing scenarios and creating indexes\n", - "2 computing overlap\n", - "3 done\n", - "JOB COMPLETED\n", " \n", "```" ], @@ -2141,7 +2161,7 @@ " flex-grow: 0;\n", " }\n", "\n", - " .grid-tabled4ed05949bee43d4b95ea455d1e5c217 {\n", + " .grid-tabled29f936f546d4730b3cea5198b8ae621 {\n", " display:grid;\n", " grid-template-columns: 1fr repeat(24, 1fr);\n", " grid-template-rows: repeat(2, 1fr);\n", @@ -2313,25 +2333,25 @@ "
\n", "
\n", "
\n", - "
\n", - "
\n", + "
\n", " \n", "
\n", - " \n", + " \n", "
\n", - " \n", "
\n", "\n", - "

0

\n", + "

0

\n", "
\n", - "
\n", + "
\n", " \n", "
\n", - "
\n", + "
\n", " \n", "
\n", "
\n",