You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2021/01/20 07:21:41 UTC

[GitHub] [incubator-teaclave] mssun commented on issue #437: How solve the runtime error in simulation mode?

mssun commented on issue #437:
URL: https://github.com/apache/incubator-teaclave/issues/437#issuecomment-763394775


   Ok, yours is different. The `docker-compose` reports an error. There are something wrong with the `docker-compose-ubuntu-1804-sgx-sim-mode.yml` file.
   
   Here is a patch. I'll create a PR to solve this issue. Thanks.
   
   ```diff
   diff --git a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml b/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
   index b0f25aa..5b5895d 100644
   --- a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
   +++ b/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
   @@ -20,7 +20,7 @@ services:
          - AS_URL
          - TEACLAVE_LOG
        entrypoint: ./teaclave_authentication_service
   -    container_name: teaclave-authentication-service
   +    container_name: teaclave-authentication-service-sgx-sim-mode
        networks:
          api:
          internal:
   @@ -44,8 +44,8 @@ services:
          - TEACLAVE_LOG
        entrypoint: ./teaclave_frontend_service
        depends_on:
   -      - teaclave-management-service
   -    container_name: teaclave-frontend-service
   +      - teaclave-management-service-sgx-sim-mode
   +    container_name: teaclave-frontend-service-sgx-sim-mode
        networks:
          api:
          internal:
   @@ -67,9 +67,9 @@ services:
          - TEACLAVE_LOG
        entrypoint: ./teaclave_management_service
        depends_on:
   -      - teaclave-storage-service
   -      - teaclave-access-control-service
   -    container_name: teaclave-management-service
   +      - teaclave-storage-service-sgx-sim-mode
   +      - teaclave-access-control-service-sgx-sim-mode
   +    container_name: teaclave-management-service-sgx-sim-mode
        networks:
          internal:
   
   @@ -89,7 +89,7 @@ services:
          - AS_URL
          - TEACLAVE_LOG
        entrypoint: ./teaclave_storage_service
   -    container_name: teaclave-storage-service
   +    container_name: teaclave-storage-service-sgx-sim-mode
        networks:
          internal:
   
   @@ -108,7 +108,7 @@ services:
          - AS_ALGO
          - AS_URL
          - TEACLAVE_LOG
   -    container_name: teaclave-access-control-service
   +    container_name: teaclave-access-control-service-sgx-sim-mode
        entrypoint: ./teaclave_access_control_service
        networks:
          internal:
   @@ -129,9 +129,9 @@ services:
          - AS_URL
          - TEACLAVE_LOG
        entrypoint: ./teaclave_execution_service
   -    container_name: teaclave-execution-service
   +    container_name: teaclave-execution-service-sgx-sim-mode
        depends_on:
   -      - teaclave-scheduler-service
   +      - teaclave-scheduler-service-sgx-sim-mode
        networks:
          internal:
          fs:
   @@ -152,9 +152,9 @@ services:
          - AS_URL
          - TEACLAVE_LOG
        entrypoint: ./teaclave_scheduler_service
   -    container_name: teaclave-scheduler-service
   +    container_name: teaclave-scheduler-service-sgx-sim-mode
        depends_on:
   -      - teaclave-storage-service
   +      - teaclave-storage-service-sgx-sim-mode
        networks:
          internal:
   
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org