From 6c57834b8a7b7a87a734c0ca67a6a6424fc41543 Mon Sep 17 00:00:00 2001 From: SteNicholas Date: Mon, 21 Jun 2021 14:05:33 +0800 Subject: [PATCH] Upgrade the version of Occlum docker image in README.md --- demos/python/python_glibc/README.md | 6 +++--- demos/pytorch/README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/demos/python/python_glibc/README.md b/demos/python/python_glibc/README.md index b8373f53..765a7f88 100644 --- a/demos/python/python_glibc/README.md +++ b/demos/python/python_glibc/README.md @@ -10,12 +10,12 @@ To make the sample code more realistic, we choose to write a Python program that This tutorial is written under the assumption that you have Docker installed and use Occlum in a Docker container. -Occlum is compatible with glibc-supported Python, we employ miniconda as python installation tool. You can import any python dependencies using conda. Here, miniconda is automatically installed by install_python_with_conda.sh script, the required python and related dependencies for this project are also loaded by this script. Here, we take occlum/occlum:0.22.0-ubuntu18.04 as example. +Occlum is compatible with glibc-supported Python, we employ miniconda as python installation tool. You can import any python dependencies using conda. Here, miniconda is automatically installed by install_python_with_conda.sh script, the required python and related dependencies for this project are also loaded by this script. Here, we take occlum/occlum:0.23.0-ubuntu18.04 as example. Step 1 (on the host): Start an Occlum container ``` -docker pull occlum/occlum:0.22.0-ubuntu18.04 -docker run -it --name=pythonDemo --device /dev/sgx/enclave occlum/occlum:0.22.0-ubuntu18.04 bash +docker pull occlum/occlum:0.23.0-ubuntu18.04 +docker run -it --name=pythonDemo --device /dev/sgx/enclave occlum/occlum:0.23.0-ubuntu18.04 bash ``` Step 2 (on the host): Download miniconda and install python to prefix position. diff --git a/demos/pytorch/README.md b/demos/pytorch/README.md index ff8d6b84..19c95edd 100644 --- a/demos/pytorch/README.md +++ b/demos/pytorch/README.md @@ -10,12 +10,12 @@ Use the nn package to define our model as a sequence of layers. nn.Sequential is This tutorial is written under the assumption that you have Docker installed and use Occlum in a Docker container. -Occlum is compatible with glibc-supported Python, we employ miniconda as python installation tool. You can import PyTorch packages using conda. Here, miniconda is automatically installed by install_python_with_conda.sh script, the required python and PyTorch packages for this project are also loaded by this script. Here, we take occlum/occlum:0.22.0-ubuntu18.04 as example. +Occlum is compatible with glibc-supported Python, we employ miniconda as python installation tool. You can import PyTorch packages using conda. Here, miniconda is automatically installed by install_python_with_conda.sh script, the required python and PyTorch packages for this project are also loaded by this script. Here, we take occlum/occlum:0.23.0-ubuntu18.04 as example. Step 1 (on the host): Start an Occlum container ``` -docker pull occlum/occlum:0.22.0-ubuntu18.04 -docker run -it --name=pythonDemo --device /dev/sgx/enclave occlum/occlum:0.22.0-ubuntu18.04 bash +docker pull occlum/occlum:0.23.0-ubuntu18.04 +docker run -it --name=pythonDemo --device /dev/sgx/enclave occlum/occlum:0.23.0-ubuntu18.04 bash ``` Step 2 (on the host): Download miniconda and install python to prefix position.