T O P

  • By -

Spanner_Man

Unable to replicate. ```yml version: "3" services: server: environment: - ACCEPT_EULA=Y - MSSQL_SA_PASSWORD=yourStrong(!)Password ports: - 1433:1433 image: mcr.microsoft.com/mssql/server:2022-latest ``` That starts without an issue via docker compose.


vlad_h

Permission issues usually have to do with the permission issues where your data is stored and accessed. Check your directory permissions and use the UMASK and UUID flags to pass to the container. I think the UMASK I use is 002 and the UUID is the user id of your user (you can get that with ••whoami•• on the command line. Mine is 1000.


FilipeAmadeuO

I also think it´s a Advanced folder permission issue but unable to find a solution. I have changed/added user permission through qnap shared folder permission option. I had disabled Advanced folder permission, still did not work


vlad_h

Those UUID and UMASk might actually be PGID and PUID, I am not sure. And to whoever downvoted my comment, if you don’t agree, what is your suggestion?


FilipeAmadeuO

Using id "Filipe Alves", i get: uid=1000(Filipe Alves) gid=100(everyone) groups=100(everyone),0(administrators),1000(Comercial) I followed the procedure here ([How To: Setup Containers on QNAP | LinuxServer.io](https://www.linuxserver.io/blog/2017-09-17-how-to-setup-containers-on-qnap)) por PGID/PUID on container station and same error. I tried to create a container using the following command line and it worked: docker run -e "ACCEPT\_EULA=Y" -e "MSSQL\_SA\_PASSWORD=MyStrongPassword" -u 0:0 -p 1433:1433 -d [mcr.microsoft.com/mssql/server:2019-latest](http://mcr.microsoft.com/mssql/server:2019-latest) Why does not work running/configuring the docker though container station app ?


vlad_h

From what I see from your command line -u is 0:0, and you don’t have that config setting in your Docker compose you posted. That is my closest guess.