180Protocol / 180protocol

Confidential compute for sensitive data sharing and commercial collaboration
http://www.180protocol.com
29 stars 6 forks source link

Front-End not deploying through docker compose due to permission issue on Linux based distro. #28

Open hiteshvpatel256 opened 2 years ago

hiteshvpatel256 commented 2 years ago

Describe the bug Front-End not deploying through docker compose due to permission issue on Linux.

To Reproduce Steps to reproduce the behavior:

  1. Instantiate network using docker compose in any linux based OS.
  2. Nodes & Cordaptors are launching properly in containers but with web services, it gives permission error.

Expected behavior On the execution of Docker-Compose on any Linux, the web services should be launched into container without any permission error.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop

hiteshvpatel256 commented 2 years ago

With primary investigation, the main reason responsible for this is docker mounts image as root user in Linux kernels.

So with that all the permission to the file system required by Node.js should be explicitly assigned into docker config file for fron-end web.