Closed eugenelishak closed 7 months ago
Just commented to say I am also experiencing the same error.
I reinstalled copilot and the issue was resolved. Initially, copilot.exe was placed in a folder in C:\Program Files. I removed this installation and installed it, as recommended in the AWS tutorial to C:\copilot. I have no idea what caused the issue resolution.
This is probably fair to close the ticket.
Description
Used - Windows PowerShell. Command: copilot svc init
copilot responds: " unmarshal docker info message: invalid character 'i' in literal false (expecting 'l')"
Observations: Docker Desktop indicates: engine is running. Windows restart and Docker Desktop restart do not help.
Reproduce
Execute AWS tutorial https://aws.amazon.com/tutorials/break-monolith-app-microservices-ecs-docker-ec2/module-two/, step 4 (in Windows) up to command copilot svc init
Then, as requested by the tutorial, submit:
Workload type: Load Balanced Web Service What do you want to name this service? [? for help] monolith
Expected behavior
As per the tutorial Step 4. The following was expected instead of the error message "unmarshal docker info message: invalid character 'i' in literal false (expecting 'l')":
Workload type: Load Balanced Web Service Service name: monolith
Which Dockerfile would you like to use for monolith? [Use arrows to move, type to filter, ? for more help]
docker version
docker info
Diagnostics ID
DF023141-0C31-4DF1-AE64-A7FF88708D87/20240208185358
Additional Info
The attached is the zipped Windows folder with content created during the aforementioned AWS tutorial, to the point where copilot fails to invoke Docker Desktop (command copilot svc init).
amazon-ecs-nodejs-microservices.zip