Well, even if you use it for local testing, but at work, that is commercial use. So if the company is large enough, I believe you need to pay for Docker Desktop or run Docker CE on Linux. If necessary, run a virtual machine in which you install Docker CE and install Portainer if you need a GUI (web-based) to browse containers. There are other free desktop alternatives like Podman Desktop or Rancher Desktop, but you could lose some features that Docker Desktop provides. So if that is important, I think you will need to pay for it and have at least a Pro subscription which you can use at work and for personal projects as well You will also get unlimited private repositories on Docker Hub…
I think it’s right to use the plan above pro when using it commercially.
However, the official docker’s answer is as follows.
“Docker is free for small businesses (fewer than 250 employees AND less than $10 million in annual revenue), personal use, education, and non-commercial open source projects.”
So I think it is right to purchase more than pro plan depending on the size of the user enterprise of your article.