How to accept Docker Subscription Service Agreement from console?

I’ve scripts that install Docker Desktop and do some stuff. But now they stop working because I need to accept the Docker Subscription Service Agreement in GUI. Maybe someone knows how to accept it from CLI?

The answer from support team:

You can use Docker Desktop.exe -AcceptLicense for Windows. For Mac it’s /Docker.app --accept-license

1 Like

I am seeing this when i run the script to start the Docker Desktop Service. I tried using the Docker Desktop.exe -AcceptLicense but it is not working. Is there any other way to handle this?