Home > Net >  Could not connect in container because "The evaluation period has expired"
Could not connect in container because "The evaluation period has expired"

Time:11-22

I need help with a situation:

I have the following image installed on my Docker: mcr.microsoft.com/mssql/server:2022-latest

And from it I created a container, and in that container I created my database, but today I received the following error when trying to start the container: 2022-11-21 21:02:47 Error: The evaluation period has expired. 2022-11-21 21:02:47 /opt/mssql/bin/sqlservr: PAL initialization failed. Error: 104

I understand that it may be a license related problem, but I don't know how to solve it. And if it is the case that I need to update my image, is it possible to do this without losing my entire database?

I'm using Windows 11 with docker desktop

I've tried running the command:

docker run -e MSSQL_PID=Developer -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Gs070201!' -p 1433:1433 -d 615e05143269d67743cf44626c52eef3de5688f7e877022038f490239df3a719

but I was not successful, I had the same problem

CodePudding user response:

I pulled the docker image again, and it seems to fix it.

docker pull mcr.microsoft.com/mssql/server:2022-latest

Give it a try and see if it works for you.

  • Related