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