java.io.IOException while building an image of the mediator
ndigirigijohn opened this issue · comments
Look like permission issue
make sure you are not running the command using sudo
NODE_OPTIONS=--openssl-legacy-provider sbt docker:publishLocal
Please follow the steps below
https://docs.docker.com/engine/install/linux-postinstall/
Yes. We had a call to help the user on this topic and is now solved.
Let's create three small tasks to improve documentation and close this one.
1- We should never need to run SBT with sudo (root user)
This can lead to problems of permissions to write the folders (like this)
Add something to the troubleshoot section about this.
2- Add instructions to double check if Docker was correctly installed. The user that is building the docker image needs to have access to the socket that talks to the docker system. (and should not be root)
Add also to the troubleshoot section what are the errors when this is not true
https://docs.docker.com/engine/install/linux-postinstall/
3- In the documentation rename docker-compose
to docker compose
(for the latest versions of docker)