[Solved] Jsii.errors.JSIIError: Docker Exited With Status 1

If you get the following error while running AWS CDK:

raise JSIIError(resp.error) from JavaScriptError(resp.stack)
jsii.errors.JSIIError: docker exited with status 1

Then you can resolve it as follows:

How to solve docker exited with status 1 error

Make sure that your local Docker client is running.

Start docker on the local machine and CDK will be able to make the Docker connections required.