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

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type