> 一个解决方法是修改 docker compose 文件:
> 
> ```diff
> diff --git a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml 
> b/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> index aa5388d..b0f25aa 100644
> --- a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> +++ b/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> @@ -134,6 +134,7 @@ services:
>        - teaclave-scheduler-service
>      networks:
>        internal:
> +      fs:
> 
>    teaclave-scheduler-service-sgx-sim-mode:
>      build:
> @@ -157,6 +158,16 @@ services:
>      networks:
>        internal:
> 
> +  teaclave-file-service:
> +    image: python:3
> +    volumes:
> +      - ../tests:/teaclave-file-service
> +    working_dir: /teaclave-file-service
> +    entrypoint: ./scripts/simple_http_server.py
> +    networks:
> +      fs:
> +
>  networks:
>    internal:
>    api:
> +  fs:
> ```
> 
> service 启动后找到 teaclave-file-service 的名字:
> 
> ```
> $ docker ps
> docker ps
> CONTAINER ID        IMAGE                                    COMMAND          
>         CREATED             STATUS              PORTS                         
>       NAMES
> 8f41f56016d9        python:3                                 
> "./scripts/simple_ht…"   4 minutes ago       Up 4 minutes        6789/tcp     
>                        docker_teaclave-file-service_1
> ```
> 
> 修改在 example 的文件地址为:`http://docker_teaclave-file-service_1:5678/xxxxxx`

ERROR: for docker_teaclave-file-service_1 Cannot start service 
teaclave-file-service: OCI runtime create failed: container_linux.go:349: 
starting container process causRecreating teaclave-scheduler-service ... done
teaclave-execution-service is up-to-date

ERROR: for teaclave-file-service Cannot start service teaclave-file-service: 
OCI runtime create failed: container_linux.go:349: starting container process 
caused "exec: "./scripts/simple_http_server.py": permission denied": unknown
ERROR: Encountered errors while bringing up the project.

启动service teaclave-file-service报错?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/444#issuecomment-745713073

Reply via email to