Docker Engine licensing / mathpass not working

I have installed the docker engine and successfully logged in, but I cannot successfully save the login data.
Let me show you what I did:

mystuff@mysuff:~/wolfram$ sudo docker run -it wolframresearch/wolframengine
The Wolfram Engine requires one-time activation on this computer.

Visit https://wolfram.com/engine/free-license to get your free license.

Wolfram ID: email@company.it
Password: 
Wolfram Engine activated. See https://www.wolfram.com/wolframscript/ for more information.
Wolfram Language 15.0.0 Engine for Linux x86 (64-bit)
Copyright 1988-2026 Wolfram Research, Inc.

In[1]:= $PasswordFile                                                                                                                                                                                                                         

Out[1]= /home/wolframengine/.WolframEngine/Licensing/mathpass

In[2]:= $PasswordFile // FilePrint                                                                                                                                                                                                            
%(*userregistered*)
f4XXXXX7c	6XX3-4XXX2-XXX5	9XXX-XXXX-XXXX	9XXX-XXX-XXX:2,0,8,8:20080001:20260809		MyName MySurname	

In[3]:= Quit 

I copied the info into the file ./Licensing/mathpass and then launched:

sudo docker run -it -v ./Licensing:/usr/share/Mathematica/Licensing wolframresearch/wolframengine
The Wolfram Engine requires one-time activation on this computer.

Visit https://wolfram.com/engine/free-license to get your free license.

Wolfram ID: 
Password: 

But it still asks for a email and password. I also tried to remove the first line (%(userregistered)) from the mathpass file and the last part (MyName MySurname), but nothing worked so far. Any idea? Thanks