dotnet - running cli results in error - opt/app-root/locals read only

When running dotnet command in a docker container, you encounter error - /opt/app-root/locals read only. To resolve this, you can just set the HOME to a writable location like /tmp

In dockerfile, you can set


FROM your-image

END HOME=/tmp


And that's it! :)  


Comments

Popular posts from this blog

vllm : Failed to infer device type

android studio kotlin source is null error

gemini cli getting file not defined error