@carloshc95 looking at your error it seems you are using windows and i assume you have already installed Docker Desktop for windows (https://docs.docker.com/docker-for-windows/release-notes/)
Latest version can be downloaded from here just in case: https://download.docker.com/win/stable/Docker%20Desktop%20Installer.exe
Open poweshell and check following:
Both should return version successfuly, which idicates installation was proper.
Have you created user account on docker hub?
You must create a user account on docker hub and when you start Docker Desktop, you must login using the credentials you created. It will allow downloading alfresco/share and other images from docker hub (for community versions).
Go to: https://hub.docker.com/signup?next=%2F%3Foverlay%3Donboarding to create an account.
To login, use powersehll or docker desktop signin option after user account creation. Posweshell login command shown below.
PS: docker login
Authenticating with existing credentials...
Stored credentials invalid or expired
Username (firstname.lastname@example.org): xyz
Using docker desktop: https://www.docker.com/blog/using-docker-desktop-and-docker-hub-together-part-1/
Before starting with SDK4.x and docker based project, Installation of docker engine on your development environment and user account creation is pre-requisite.
Understand the concept:
Visit here for more details: https://docs.alfresco.com/6.2/concepts/deploy-prereqs.html
If problem stil persists, then create a separate thread with the logs and steps you have followed.
Note that, java11 is mandatory to run the sdk based projects. See details on deploy-prereqs shared above.
(ACSCE, AWS SAA, Azure Admin)