MSSQL Server exiting after RUN command

Hi, I’ve just started with playing around with docker, so I don’t know much, still, I had the same error message you had, and I managed to work around it by running the user as root using the argument -u 0:0

My guess is that the user doesn’t have the permissions it needs, and that is why running as root fixes it